|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoreManager
interface to a repository implementation. This interface is the entry point to a repository that can persist CMIS objects. Using this interface the type information can be retrieved or set, a repository can be created or for a given repository the store can be retrieved.
Method Summary | |
---|---|
void |
createAndInitRepository(String repositoryId,
String typeCreatorClassName)
create a new repository with the given id. |
List<String> |
getAllRepositoryIds()
return a list of all available repositories |
BindingsObjectFactory |
getObjectFactory()
Retrieve a factory to create CMIS data structures used as containers |
ObjectStore |
getObjectStore(String repositoryId)
get the object store for the given repository id. |
RepositoryInfo |
getRepositoryInfo(String repositoryId)
Retrieve the repository information for a repository |
List<TypeDefinitionContainer> |
getRootTypes(String repositoryId)
Retrieve a list of root types in the repositories. |
CmisServiceValidator |
getServiceValidator()
get a permission and parameter validating instance |
TypeDefinitionContainer |
getTypeById(String repositoryId,
String typeId)
Retrieve a type definition for a give repository and type id |
TypeDefinitionContainer |
getTypeById(String repositoryId,
String typeId,
boolean includePropertyDefinitions,
int depth)
Retrieve a type definition for a give repository and type id with or without property definitions and limited to depth in hierarchy |
Collection<TypeDefinitionContainer> |
getTypeDefinitionList(String repositoryId,
boolean includePropertyDefinitions)
retrieve a list with all type definitions. |
TypeManager |
getTypeManager(String repositoryId)
retrieve the type manager for a given repository |
void |
initRepository(String repositoryId)
Initialize the store for the given repository. |
ObjectList |
query(String user,
String repositoryId,
String statement,
Boolean searchAllVersions,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount)
Execute a query against the repository (same parameter as the discovery service query method |
Method Detail |
---|
List<String> getAllRepositoryIds()
void initRepository(String repositoryId)
repositoryId
- id of repository to initializeisCreated
- true if the repository was just created and is initialized for
the first time false if it existed before and is reloadedObjectStore getObjectStore(String repositoryId)
repositoryId
-
CmisServiceValidator getServiceValidator()
void createAndInitRepository(String repositoryId, String typeCreatorClassName)
repositoryId
- id of repositorytypeCreatorClassName
- class implementing the type creation, the class must implement
the interface TypeCreatorCollection<TypeDefinitionContainer> getTypeDefinitionList(String repositoryId, boolean includePropertyDefinitions)
repositoryId
- id of repositoryincludePropertyDefinitions
- indicates whether to include property definitions in returned
type
TypeDefinitionContainer getTypeById(String repositoryId, String typeId)
repositoryId
- id of repositorytypeId
- id of type definition
TypeDefinitionContainer getTypeById(String repositoryId, String typeId, boolean includePropertyDefinitions, int depth)
repositoryId
- id of repositorytypeId
- id of type definitionincludePropertyDefinitions
- indicates whether to include property definitions in returned
typedepth
- limit depth of type hierarchy in return (-1 means unlimited)
BindingsObjectFactory getObjectFactory()
List<TypeDefinitionContainer> getRootTypes(String repositoryId)
repositoryId
- id of repository
RepositoryInfo getRepositoryInfo(String repositoryId)
repositoryId
- id of repository
TypeManager getTypeManager(String repositoryId)
repositoryId
- id of repository
ObjectList query(String user, String repositoryId, String statement, Boolean searchAllVersions, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount)
user
- repositoryId
- statement
- searchAllVersions
- includeAllowableActions
- includeRelationships
- renditionFilter
- maxItems
- skipCount
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |