|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A collection of documents in the repository. This interface is called DocumentCollection to avoid a name collision with the often-used Collection interface from the Java API.
Using Document.getCollections()
, you can retrieve the collections
to which a document belongs. To get a list of all documents belonging to
a collection, peform a query using the QueryManager
.
Creating and deleting collection is done using the
CollectionManager
which can be obtained using
Repository.getCollectionManager()
.
Method Summary | |
long |
getId()
Returns the ID of this collection. |
java.util.Date |
getLastModified()
Gets the date when this collection was last saved. |
long |
getLastModifier()
Get the id of the user that last modified this collection. |
java.lang.String |
getName()
Returns the name of this collection. |
long |
getUpdateCount()
|
org.outerx.daisy.x10.CollectionDocument |
getXml()
Get an XML document describing this collection. |
void |
save()
Stores the modified collection. |
void |
setName(java.lang.String name)
Sets the name of this collection. |
Method Detail |
public long getId()
save()
is called.
public java.lang.String getName()
public void setName(java.lang.String name)
public void save() throws RepositoryException
RepositoryException
public org.outerx.daisy.x10.CollectionDocument getXml()
public java.util.Date getLastModified()
public long getLastModifier()
public long getUpdateCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |