|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRepository
Content repository interface.
A repository is top-level container of items. It is used as a synchronization point - the synchronization is performed between two repositories. This class is used a base to all repository implementations. Every repository has a top folder - the root of its folders tree.
Method Summary | |
---|---|
IItem |
getItemByID(java.lang.String versionid)
Retrieves item by its unique version identifier. |
IItem |
getItemByPath(Path path)
Gets item by its path. |
java.lang.String |
getName()
Gets repository name. |
java.lang.String |
getRepositoryID()
Retrieves repository unique identifier. |
RepositoryInfo |
getRepositoryInfo()
Retrieves repository information block. |
IItem |
getTopFolder()
Retrieves repository top folder. |
Method Detail |
---|
RepositoryInfo getRepositoryInfo()
java.lang.String getRepositoryID()
java.lang.String getName()
IItem getTopFolder() throws AgentException
AgentException
- if the top folder could not be retrieved.IItem getItemByID(java.lang.String versionid) throws NotFoundException, AgentException
versionid
- item version identifier.
NotFoundException
- if item wasn't found.
AgentException
- if an error occured during the retrieval operation.IItem getItemByPath(Path path) throws AgentException
path
- item's path.
NotFoundException
- if item wasn't found.
AgentException
- if an error occured during the retrieval operation.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |