|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectStore
Method Summary | |
---|---|
void |
clear()
Clear repository and remove all data. |
Document |
createDocument(String name)
Create a document as initial step. |
Folder |
createFolder(String name)
Create a folder as initial step. |
VersionedDocument |
createVersionedDocument(String name)
Create a document that supports versions as initial step. |
void |
deleteObject(String objectId)
Deletes an object from the store. |
List<StoredObject> |
getCheckedOutDocuments(String orderBy)
Return a list of all documents that are checked out in the repository. |
StoredObject |
getObjectById(String folderId)
get an object by its id |
StoredObject |
getObjectByPath(String path)
return an object by path. |
long |
getObjectCount()
For statistics: return the number of objects contained in the system |
Folder |
getRootFolder()
Get the root folder of this object store |
Method Detail |
---|
Folder getRootFolder()
StoredObject getObjectByPath(String path)
path
- the path to the object
StoredObject getObjectById(String folderId)
folderId
- the id of the object
void deleteObject(String objectId)
objectId
- Document createDocument(String name)
name
- name of the document
Folder createFolder(String name)
name
- name of the folder
VersionedDocument createVersionedDocument(String name)
name
- name of the document
List<StoredObject> getCheckedOutDocuments(String orderBy)
orderBy
- orderBy specification according to CMIS spec.
void clear()
long getObjectCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |