|
||||||||||
| 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(java.lang.String repositoryId,
java.lang.String typeCreatorClassName)
create a new repository with the given id. |
java.util.List<java.lang.String> |
getAllRepositoryIds()
return a list of all available repositories |
it.neverworks.data.EntityManager |
getEntities()
|
org.apache.chemistry.opencmis.commons.spi.BindingsObjectFactory |
getObjectFactory()
Retrieve a factory to create CMIS data structures used as containers |
ObjectStore |
getObjectStore(java.lang.String repositoryId)
get the object store for the given repository id. |
org.apache.chemistry.opencmis.commons.data.RepositoryInfo |
getRepositoryInfo(java.lang.String repositoryId)
Retrieve the repository information for a repository |
java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getRootTypes(java.lang.String repositoryId,
boolean inclPropDefs)
Retrieve a list of root types in the repositories. |
SearchService |
getSearchService()
|
CmisServiceValidator |
getServiceValidator()
get a permission and parameter validating instance |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer |
getTypeById(java.lang.String repositoryId,
java.lang.String typeId)
Retrieve a type definition for a give repository and type id |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer |
getTypeById(java.lang.String repositoryId,
java.lang.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 |
java.util.Collection<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> |
getTypeDefinitionList(java.lang.String repositoryId,
boolean includePropertyDefinitions)
retrieve a list with all type definitions. |
TypeManagerCreatable |
getTypeManager(java.lang.String repositoryId)
retrieve the type manager for a given repository |
it.neverworks.application.service.UserInfo |
getUserInfo()
|
void |
initRepository(java.lang.String repositoryId,
java.lang.String typeCreatorClassName)
Initialize the store for the given repository. |
org.apache.chemistry.opencmis.commons.data.ObjectList |
query(java.lang.String user,
java.lang.String repositoryId,
java.lang.String statement,
java.lang.Boolean searchAllVersions,
java.lang.Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.math.BigInteger maxItems,
java.math.BigInteger skipCount)
Execute a query against the repository (same parameter as the discovery service query method |
void |
setDocumentManager(DocumentManager documentManager)
Set the document manager. |
void |
setEntities(it.neverworks.data.EntityManager entities)
Set the entity manager. |
void |
setSearchService(SearchService searchService)
Set the searchService. |
void |
startManager()
return a list of all available repositories |
| Method Detail |
|---|
it.neverworks.application.service.UserInfo getUserInfo()
SearchService getSearchService()
void setSearchService(SearchService searchService)
searchService - reference to searchServiceit.neverworks.data.EntityManager getEntities()
void setEntities(it.neverworks.data.EntityManager entities)
entities - reference to entity managervoid setDocumentManager(DocumentManager documentManager)
documentManager - reference to document managerjava.util.List<java.lang.String> getAllRepositoryIds()
void startManager()
void initRepository(java.lang.String repositoryId,
java.lang.String typeCreatorClassName)
repositoryId - id of repositorytypeCreatorClassName - class implementing the type creation, the class must implement
the interface TypeCreatorObjectStore getObjectStore(java.lang.String repositoryId)
repositoryId -
CmisServiceValidator getServiceValidator()
void createAndInitRepository(java.lang.String repositoryId,
java.lang.String typeCreatorClassName)
repositoryId - id of repositorytypeCreatorClassName - class implementing the type creation, the class must implement
the interface TypeCreator
java.util.Collection<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDefinitionList(java.lang.String repositoryId,
boolean includePropertyDefinitions)
repositoryId - id of repositoryincludePropertyDefinitions - indicates whether to include property definitions in returned
type
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer getTypeById(java.lang.String repositoryId,
java.lang.String typeId)
repositoryId - id of repositorytypeId - id of type definition
org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer getTypeById(java.lang.String repositoryId,
java.lang.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)
org.apache.chemistry.opencmis.commons.spi.BindingsObjectFactory getObjectFactory()
java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getRootTypes(java.lang.String repositoryId,
boolean inclPropDefs)
repositoryId - id of repositoryinclPropDefs -
org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo(java.lang.String repositoryId)
repositoryId - id of repository
TypeManagerCreatable getTypeManager(java.lang.String repositoryId)
repositoryId - id of repository
org.apache.chemistry.opencmis.commons.data.ObjectList query(java.lang.String user,
java.lang.String repositoryId,
java.lang.String statement,
java.lang.Boolean searchAllVersions,
java.lang.Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
java.lang.String renditionFilter,
java.math.BigInteger maxItems,
java.math.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 | |||||||||