Xindice API
version 1.2m1

org.apache.xindice.client.xmldb.services
Class MetaService

java.lang.Object
  extended byorg.apache.xindice.client.xmldb.CommonConfigurable
      extended byorg.apache.xindice.client.xmldb.services.MetaService
All Implemented Interfaces:
org.xmldb.api.base.Configurable, org.xmldb.api.base.Service

public class MetaService
extends CommonConfigurable
implements org.xmldb.api.base.Service

Meta information service.

Version:
$Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $
Author:
Vadim Gritsenko

Constructor Summary
MetaService()
           
 
Method Summary
 long getCreatedTime()
           
 long getCreatedTime(String name)
           
 long getLastModifiedTime()
           
 long getLastModifiedTime(String name)
           
 MetaData getMetaData()
           
 MetaData getMetaData(String id)
           
 String getName()
           
 String getVersion()
           
 void setCollection(org.xmldb.api.base.Collection collection)
           
 void setMetaData(MetaData meta)
           
 void setMetaData(String id, MetaData meta)
           
 
Methods inherited from class org.apache.xindice.client.xmldb.CommonConfigurable
getProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xmldb.api.base.Configurable
getProperty, setProperty
 

Constructor Detail

MetaService

public MetaService()
Method Detail

getVersion

public String getVersion()
Specified by:
getVersion in interface org.xmldb.api.base.Service

getName

public String getName()
Specified by:
getName in interface org.xmldb.api.base.Service

setCollection

public void setCollection(org.xmldb.api.base.Collection collection)
Specified by:
setCollection in interface org.xmldb.api.base.Service

getMetaData

public MetaData getMetaData()
                     throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

setMetaData

public void setMetaData(MetaData meta)
                 throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

getMetaData

public MetaData getMetaData(String id)
                     throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

setMetaData

public void setMetaData(String id,
                        MetaData meta)
                 throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

getLastModifiedTime

public long getLastModifiedTime()
                         throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

getCreatedTime

public long getCreatedTime()
                    throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

getLastModifiedTime

public long getLastModifiedTime(String name)
                         throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

getCreatedTime

public long getCreatedTime(String name)
                    throws org.xmldb.api.base.XMLDBException
Throws:
org.xmldb.api.base.XMLDBException

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.