|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl
public class RepositoryServiceImpl
Repository Service implementation. Passes requests to the SPI and handles caching.
Constructor Summary | |
---|---|
RepositoryServiceImpl(BindingSession session)
Constructor. |
Method Summary | |
---|---|
RepositoryInfo |
getRepositoryInfo(String repositoryId,
ExtensionsData extension)
Returns information about the CMIS repository, the optional capabilities it supports and its access control information if applicable. |
List<RepositoryInfo> |
getRepositoryInfos(ExtensionsData extension)
Returns a list of CMIS repository information available from this CMIS service endpoint. |
TypeDefinitionList |
getTypeChildren(String repositoryId,
String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension)
Returns the list of object types defined for the repository that are children of the specified type. |
TypeDefinition |
getTypeDefinition(String repositoryId,
String typeId,
ExtensionsData extension)
Gets the definition of the specified object type. |
List<TypeDefinitionContainer> |
getTypeDescendants(String repositoryId,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions,
ExtensionsData extension)
Returns the set of descendant object type defined for the repository under the specified type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryServiceImpl(BindingSession session)
Method Detail |
---|
public RepositoryInfo getRepositoryInfo(String repositoryId, ExtensionsData extension)
RepositoryService
getRepositoryInfo
in interface RepositoryService
repositoryId
- the identifier for the repositorypublic List<RepositoryInfo> getRepositoryInfos(ExtensionsData extension)
RepositoryService
getRepositoryInfos
in interface RepositoryService
public TypeDefinitionList getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
RepositoryService
getTypeChildren
in interface RepositoryService
repositoryId
- the identifier for the repositorytypeId
- (optional) the typeId of an object type specified in
the repository (if not specified the repository MUST return
all base object types)includePropertyDefinitions
- (optional) if true
the repository MUST
return the property definitions for each object type returned
(default is false
)maxItems
- (optional) the maximum number of items to return in a
response (default is repository specific)skipCount
- (optional) number of potential results that the
repository MUST skip/page over before returning any results
(default is 0)public TypeDefinition getTypeDefinition(String repositoryId, String typeId, ExtensionsData extension)
RepositoryService
getTypeDefinition
in interface RepositoryService
repositoryId
- the identifier for the repositorytypeId
- typeId of an object type specified in the repositorypublic List<TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions, ExtensionsData extension)
RepositoryService
getTypeDescendants
in interface RepositoryService
repositoryId
- the identifier for the repositorytypeId
- (optional) the typeId of an object type specified in
the repository (if not specified the repository MUST return
all types and MUST ignore the value of the depth parameter)depth
- (optional) the number of levels of depth in the type
hierarchy from which to return results (default is repository
specific)includePropertyDefinitions
- (optional) if true
the repository MUST
return the property definitions for each object type returned
(default is false
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |