public interface StoreManager
| Modifier and Type | Method and Description |
|---|---|
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,
boolean inclPropDefs)
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.
|
boolean |
supportsMultiFilings(String repositoryId)
Get information if a repository supports multi filing.
|
boolean |
supportsSingleFiling(String repositoryId)
Get information if a repository supports single filing.
|
List<String> getAllRepositoryIds()
void initRepository(String repositoryId)
repositoryId - id of repository to initializeObjectStore getObjectStore(String repositoryId)
repositoryId - repository id of objectCmisServiceValidator 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
typeTypeDefinitionContainer getTypeById(String repositoryId, String typeId)
repositoryId - id of repositorytypeId - id of type definitionTypeDefinitionContainer 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, boolean inclPropDefs)
repositoryId - id of repositoryinclPropDefs - true to include property definitions, false otherwiseRepositoryInfo getRepositoryInfo(String repositoryId)
repositoryId - id of repositoryTypeManager getTypeManager(String repositoryId)
repositoryId - id of repositoryboolean supportsSingleFiling(String repositoryId)
repositoryId - repository id of to get information fromboolean supportsMultiFilings(String repositoryId)
repositoryId - repository id of to get information fromObjectList query(String user, String repositoryId, String statement, Boolean searchAllVersions, Boolean includeAllowableActions, IncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount)
user - user execuing the queryrepositoryId - id of repositorystatement - query statementsearchAllVersions - search in all versions of objectsincludeAllowableActions - include allowable actionsincludeRelationships - include relationshipsrenditionFilter - include renditionsmaxItems - max number of items to returnskipCount - items to skipCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.