public interface RepositoryService
See the CMIS 1.0 and CMIS 1.1 specifications for details on the operations, parameters, exceptions and the domain model.
Modifier and Type | Method and Description |
---|---|
TypeDefinition |
createType(String repositoryId,
TypeDefinition type,
ExtensionsData extension)
Creates a new type.
|
void |
deleteType(String repositoryId,
String typeId,
ExtensionsData extension)
Deletes a type.
|
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.
|
TypeDefinition |
updateType(String repositoryId,
TypeDefinition type,
ExtensionsData extension)
Updates a type.
|
List<RepositoryInfo> getRepositoryInfos(ExtensionsData extension)
extension
- extension dataRepositoryInfo getRepositoryInfo(String repositoryId, ExtensionsData extension)
repositoryId
- the identifier for the repositoryextension
- extension dataTypeDefinitionList getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, ExtensionsData extension)
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)extension
- extension dataList<TypeDefinitionContainer> getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions, ExtensionsData extension)
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
)extension
- extension dataTypeDefinition getTypeDefinition(String repositoryId, String typeId, ExtensionsData extension)
repositoryId
- the identifier for the repositorytypeId
- typeId of an object type specified in the repositoryextension
- extension dataTypeDefinition createType(String repositoryId, TypeDefinition type, ExtensionsData extension)
repositoryId
- the identifier for the repositorytype
- the type definitionextension
- extension dataTypeDefinition updateType(String repositoryId, TypeDefinition type, ExtensionsData extension)
repositoryId
- the identifier for the repositorytype
- the type definitionextension
- extension datavoid deleteType(String repositoryId, String typeId, ExtensionsData extension)
repositoryId
- the identifier for the repositorytypeId
- typeId of an object type specified in the repositoryextension
- extension dataCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.