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.
|
TypeManagerCreatable |
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) |
boolean |
supportsSingleFiling(String repositoryId) |
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
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
- RepositoryInfo getRepositoryInfo(String repositoryId)
repositoryId
- id of repositoryTypeManagerCreatable getTypeManager(String repositoryId)
repositoryId
- id of repositoryboolean supportsSingleFiling(String repositoryId)
boolean supportsMultiFilings(String repositoryId)
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
- Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.