|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.sistematica.isharedoc.opencmis.indatabase.storedobj.impl.StoreManagerImpl_OLD
public class StoreManagerImpl_OLD
factory to create objects that are stored in the InMemory store
| Field Summary | |
|---|---|
protected DocumentManager |
documentManager
|
protected it.neverworks.data.EntityManager |
entities
|
protected org.apache.chemistry.opencmis.commons.spi.BindingsObjectFactory |
fObjectFactory
|
protected org.apache.chemistry.opencmis.commons.data.RepositoryInfo |
fRepositoryInfo
|
protected SearchService |
searchService
|
protected java.lang.String |
typeCreatorClassName
|
protected CmisServiceValidator |
validator
|
| Constructor Summary | |
|---|---|
StoreManagerImpl_OLD()
|
|
| Method Summary | |
|---|---|
void |
clearTypeSystem(java.lang.String repositoryId)
|
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 includePropertyDefinitions)
Retrieve a list of root types in the repositories. |
SearchService |
getSearchService()
|
CmisServiceValidator |
getServiceValidator()
get a permission and parameter validating instance |
ObjectStoreImpl |
getStore(java.lang.String repositoryId)
|
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 |
TypeManagerCreatable |
getTypeManager(java.lang.String repositoryId,
StoredObject so)
|
it.neverworks.application.service.UserInfo |
getUserInfo()
|
void |
initRepository(java.lang.String repositoryId,
java.lang.String typeCreatorClassName)
Initialize the store for the given repository. |
void |
initRepositoryInfo(java.lang.String repositoryId,
java.lang.String repoInfoCreatorClassName)
|
java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinition> |
initTypeSystem(java.lang.String typeCreatorClassName)
|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.chemistry.opencmis.commons.spi.BindingsObjectFactory fObjectFactory
protected org.apache.chemistry.opencmis.commons.data.RepositoryInfo fRepositoryInfo
protected CmisServiceValidator validator
protected it.neverworks.data.EntityManager entities
protected DocumentManager documentManager
protected SearchService searchService
protected java.lang.String typeCreatorClassName
| Constructor Detail |
|---|
public StoreManagerImpl_OLD()
| Method Detail |
|---|
public ObjectStoreImpl getStore(java.lang.String repositoryId)
public it.neverworks.application.service.UserInfo getUserInfo()
getUserInfo in interface StoreManagerpublic it.neverworks.data.EntityManager getEntities()
getEntities in interface StoreManagerpublic void setEntities(it.neverworks.data.EntityManager entities)
StoreManager
setEntities in interface StoreManagerentities - reference to entity managerpublic SearchService getSearchService()
getSearchService in interface StoreManagerpublic void setSearchService(SearchService searchService)
StoreManager
setSearchService in interface StoreManagersearchService - reference to searchServicepublic void setDocumentManager(DocumentManager documentManager)
StoreManager
setDocumentManager in interface StoreManagerdocumentManager - reference to document managerpublic void startManager()
StoreManager
startManager in interface StoreManagerpublic java.util.List<java.lang.String> getAllRepositoryIds()
StoreManager
getAllRepositoryIds in interface StoreManager
public void initRepository(java.lang.String repositoryId,
java.lang.String typeCreatorClassName)
StoreManager
initRepository in interface StoreManagerrepositoryId - id of repositorytypeCreatorClassName - class implementing the type creation, the class must implement
the interface TypeCreator
public void createAndInitRepository(java.lang.String repositoryId,
java.lang.String typeCreatorClassName)
StoreManager
createAndInitRepository in interface StoreManagerrepositoryId - id of repositorytypeCreatorClassName - class implementing the type creation, the class must implement
the interface TypeCreatorpublic ObjectStore getObjectStore(java.lang.String repositoryId)
StoreManager
getObjectStore in interface StoreManagerpublic CmisServiceValidator getServiceValidator()
StoreManager
getServiceValidator in interface StoreManagerpublic org.apache.chemistry.opencmis.commons.spi.BindingsObjectFactory getObjectFactory()
StoreManager
getObjectFactory in interface StoreManager
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer getTypeById(java.lang.String repositoryId,
java.lang.String typeId)
StoreManager
getTypeById in interface StoreManagerrepositoryId - id of repositorytypeId - id of type definition
public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer getTypeById(java.lang.String repositoryId,
java.lang.String typeId,
boolean includePropertyDefinitions,
int depth)
StoreManager
getTypeById in interface StoreManagerrepositoryId - 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)
public java.util.Collection<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getTypeDefinitionList(java.lang.String repositoryId,
boolean includePropertyDefinitions)
StoreManager
getTypeDefinitionList in interface StoreManagerrepositoryId - id of repositoryincludePropertyDefinitions - indicates whether to include property definitions in returned
type
public java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionContainer> getRootTypes(java.lang.String repositoryId,
boolean includePropertyDefinitions)
StoreManager
getRootTypes in interface StoreManagerrepositoryId - id of repository
public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo(java.lang.String repositoryId)
StoreManager
getRepositoryInfo in interface StoreManagerrepositoryId - id of repository
public void clearTypeSystem(java.lang.String repositoryId)
public void initRepositoryInfo(java.lang.String repositoryId,
java.lang.String repoInfoCreatorClassName)
public java.util.List<org.apache.chemistry.opencmis.commons.definitions.TypeDefinition> initTypeSystem(java.lang.String typeCreatorClassName)
public TypeManagerCreatable getTypeManager(java.lang.String repositoryId)
StoreManager
getTypeManager in interface StoreManagerrepositoryId - id of repository
public TypeManagerCreatable getTypeManager(java.lang.String repositoryId,
StoredObject so)
public 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)
StoreManager
query in interface StoreManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||