|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
org.apache.chemistry.opencmis.jcr.JcrService
public class JcrService
JCR service implementation.
| Constructor Summary | |
|---|---|
JcrService(JcrRepository jcrRepository)
|
|
| Method Summary | |
|---|---|
void |
cancelCheckOut(String repositoryId,
String objectId,
ExtensionsData extension)
Reverses the effect of a check-out. |
void |
checkIn(String repositoryId,
Holder<String> objectId,
Boolean major,
Properties properties,
ContentStream contentStream,
String checkinComment,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
Checks-in the private working copy (PWC) document. |
void |
checkOut(String repositoryId,
Holder<String> objectId,
ExtensionsData extension,
Holder<Boolean> contentCopied)
Create a private working copy of the document. |
void |
close()
Signals that this object will not be used anymore and resources can released. |
String |
createDocument(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
Creates a document object of the specified type (given by the cmis:objectTypeId property) in the (optionally) specified location. |
String |
createDocumentFromSource(String repositoryId,
String sourceId,
Properties properties,
String folderId,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
Creates a document object as a copy of the given source document in the (optionally) specified location. |
String |
createFolder(String repositoryId,
Properties properties,
String folderId,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
Creates a folder object of the specified type (given by the cmis:objectTypeId property) in the specified location. |
void |
deleteContentStream(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
ExtensionsData extension)
Deletes the content stream for the specified document object. |
void |
deleteObjectOrCancelCheckOut(String repositoryId,
String objectId,
Boolean allVersions,
ExtensionsData extension)
Deletes an object or cancels a check out. |
FailedToDeleteData |
deleteTree(String repositoryId,
String folderId,
Boolean allVersions,
UnfileObject unfileObjects,
Boolean continueOnFailure,
ExtensionsData extension)
Deletes the specified folder object and all of its child- and descendant-objects. |
AllowableActions |
getAllowableActions(String repositoryId,
String objectId,
ExtensionsData extension)
Gets the list of allowable actions for an object. |
List<ObjectData> |
getAllVersions(String repositoryId,
String objectId,
String versionSeriesId,
String filter,
Boolean includeAllowableActions,
ExtensionsData extension)
Returns the list of all document objects in the specified version series, sorted by the property "cmis:creationDate" descending. |
CallContext |
getCallContext()
|
ObjectList |
getCheckedOutDocs(String repositoryId,
String folderId,
String filter,
String orderBy,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension)
Gets the list of documents that are checked out that the user has access to. |
ObjectInFolderList |
getChildren(String repositoryId,
String folderId,
String filter,
String orderBy,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension)
Gets the list of child objects contained in the specified folder. |
ContentStream |
getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
ExtensionsData extension)
Gets the content stream for the specified document object, or gets a rendition stream for a specified rendition of a document or folder object. |
List<ObjectInFolderContainer> |
getDescendants(String repositoryId,
String folderId,
BigInteger depth,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
ExtensionsData extension)
Gets the set of descendant objects contained in the specified folder or any of its child folders. |
ObjectData |
getFolderParent(String repositoryId,
String folderId,
String filter,
ExtensionsData extension)
Gets the parent folder object for the specified folder object. |
List<ObjectInFolderContainer> |
getFolderTree(String repositoryId,
String folderId,
BigInteger depth,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
ExtensionsData extension)
Gets the set of descendant folder objects contained in the specified folder. |
ObjectData |
getObject(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
ExtensionsData extension)
Gets the specified information for the object specified by id. |
ObjectData |
getObjectByPath(String repositoryId,
String path,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
ExtensionsData extension)
Gets the specified information for the object specified by path. |
ObjectData |
getObjectOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
ExtensionsData extension)
Get the latest document object in the version series. |
List<ObjectParentData> |
getObjectParents(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includeRelativePathSegment,
ExtensionsData extension)
Gets the parent folder(s) for the specified non-folder, fileable object. |
Properties |
getProperties(String repositoryId,
String objectId,
String filter,
ExtensionsData extension)
Gets the list of properties for an object. |
Properties |
getPropertiesOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
String filter,
ExtensionsData extension)
Get a subset of the properties for the latest document object in the version series. |
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. |
protected javax.jcr.Session |
login(String repositoryId)
|
void |
moveObject(String repositoryId,
Holder<String> objectId,
String targetFolderId,
String sourceFolderId,
ExtensionsData extension)
Moves the specified file-able object from one folder to another. |
void |
setCallContext(CallContext context)
|
void |
setContentStream(String repositoryId,
Holder<String> objectId,
Boolean overwriteFlag,
Holder<String> changeToken,
ContentStream contentStream,
ExtensionsData extension)
Sets the content stream for the specified document object. |
void |
updateProperties(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
Properties properties,
ExtensionsData extension)
Updates properties of the specified object. |
| Methods inherited from class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService |
|---|
addObjectInfo, addObjectToFolder, applyAcl, applyAcl, applyPolicy, clearObjectInfos, create, createPolicy, createRelationship, deleteObject, getAcl, getAppliedPolicies, getBooleanProperty, getContentChanges, getDateTimeProperty, getIdProperty, getIntegerProperty, getObjectInfo, getObjectInfo, getObjectInfoIntern, getObjectRelationships, getRenditions, getStringProperty, query, removeObjectFromFolder, removePolicy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JcrService(JcrRepository jcrRepository)
| Method Detail |
|---|
public void close()
CmisService
close in interface CmisServiceclose in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicepublic void setCallContext(CallContext context)
public CallContext getCallContext()
public RepositoryInfo getRepositoryInfo(String repositoryId,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getRepositoryInfo in interface RepositoryServicegetRepositoryInfo in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositorypublic List<RepositoryInfo> getRepositoryInfos(ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getRepositoryInfos in interface RepositoryServicegetRepositoryInfos in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public TypeDefinitionList getTypeChildren(String repositoryId,
String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getTypeChildren in interface RepositoryServicegetTypeChildren in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - 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)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getTypeDefinition in interface RepositoryServicegetTypeDefinition in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositorytypeId - typeId of an object type specified in the repository
public List<TypeDefinitionContainer> getTypeDescendants(String repositoryId,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getTypeDescendants in interface RepositoryServicegetTypeDescendants in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - 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)
public ObjectInFolderList getChildren(String repositoryId,
String folderId,
String filter,
String orderBy,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getChildren in interface NavigationServicegetChildren in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryfolderId - the identifier for the folderfilter - (optional) a comma-separated list of query names that
defines which properties must be returned by the repository
(default is repository specific)orderBy - (optional) a comma-separated list of query names that
define the order of the result set. Each query name must be
followed by the ascending modifier "ASC" or the descending
modifier "DESC" (default is repository specific)includeAllowableActions - (optional) if true, then the repository
must return the available actions for each object in the
result set (default is false)includeRelationships - (optional) indicates what relationships in which the
objects participate must be returned (default is
IncludeRelationships.NONE)renditionFilter - (optional) indicates what set of renditions the
repository must return whose kind matches this filter (default
is "cmis:none")includePathSegment - (optional) if true, returns a path
segment for each child object for use in constructing that
object's path (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 List<ObjectInFolderContainer> getDescendants(String repositoryId,
String folderId,
BigInteger depth,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getDescendants in interface NavigationServicegetDescendants in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryfolderId - the identifier for the folderdepth - the number of levels of depth in the folder hierarchy from
which to return resultsfilter - (optional) a comma-separated list of query names that
defines which properties must be returned by the repository
(default is repository specific)includeAllowableActions - (optional) if true, then the repository
must return the available actions for each object in the
result set (default is false)includeRelationships - (optional) indicates what relationships in which the
objects participate must be returned (default is
IncludeRelationships.NONE)renditionFilter - (optional) indicates what set of renditions the
repository must return whose kind matches this filter (default
is "cmis:none")includePathSegment - (optional) if true, returns a path
segment for each child object for use in constructing that
object's path (default is false)
public ObjectData getFolderParent(String repositoryId,
String folderId,
String filter,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getFolderParent in interface NavigationServicegetFolderParent in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryfolderId - the identifier for the folderfilter - (optional) a comma-separated list of query names that
defines which properties must be returned by the repository
(default is repository specific)
public List<ObjectInFolderContainer> getFolderTree(String repositoryId,
String folderId,
BigInteger depth,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePathSegment,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getFolderTree in interface NavigationServicegetFolderTree in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryfolderId - the identifier for the folderdepth - the number of levels of depth in the folder hierarchy from
which to return resultsfilter - (optional) a comma-separated list of query names that
defines which properties must be returned by the repository
(default is repository specific)includeAllowableActions - (optional) if true, then the repository
must return the available actions for each object in the
result set (default is false)includeRelationships - (optional) indicates what relationships in which the
objects participate must be returned (default is
IncludeRelationships.NONE)renditionFilter - (optional) indicates what set of renditions the
repository must return whose kind matches this filter (default
is "cmis:none")includePathSegment - (optional) if true, returns a path
segment for each child object for use in constructing that
object's path (default is false)
public List<ObjectParentData> getObjectParents(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includeRelativePathSegment,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getObjectParents in interface NavigationServicegetObjectParents in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the objectfilter - (optional) a comma-separated list of query names that
defines which properties must be returned by the repository
(default is repository specific)includeAllowableActions - (optional) if true, then the repository
must return the available actions for each object in the
result set (default is false)includeRelationships - (optional) indicates what relationships in which the
objects participate must be returned (default is
IncludeRelationships.NONE)renditionFilter - (optional) indicates what set of renditions the
repository must return whose kind matches this filter (default
is "cmis:none")includeRelativePathSegment - (optional) if true, returns a relative
path segment for each parent object for use in constructing
that object's path (default is false)
public ObjectList getCheckedOutDocs(String repositoryId,
String folderId,
String filter,
String orderBy,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
BigInteger maxItems,
BigInteger skipCount,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getCheckedOutDocs in interface NavigationServicegetCheckedOutDocs in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryfolderId - the identifier for the folderfilter - (optional) a comma-separated list of query names that
defines which properties must be returned by the repository
(default is repository specific)orderBy - (optional) a comma-separated list of query names that
define the order of the result set. Each query name must be
followed by the ascending modifier "ASC" or the descending
modifier "DESC" (default is repository specific)includeAllowableActions - (optional) if true, then the repository
must return the available actions for each object in the
result set (default is false)includeRelationships - (optional) indicates what relationships in which the
objects participate must be returned (default is
IncludeRelationships.NONE)renditionFilter - (optional) indicates what set of renditions the
repository must return whose kind matches this filter (default
is "cmis:none")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 String createDocument(String repositoryId,
Properties properties,
String folderId,
ContentStream contentStream,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
createDocument in interface ObjectServicecreateDocument in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryproperties - the property values that must be applied to the newly created
document objectfolderId - (optional) if specified, the identifier for the
folder that must be the parent folder for the newly created
document objectcontentStream - (optional) the content stream that must be stored for
the newly created document objectversioningState - (optional) specifies what the versioning state of the
newly created object must be (default is
VersioningState.MAJOR)policies - (optional) a list of policy IDs that must be applied
to the newly created document objectaddAces - (optional) a list of ACEs that must be added to the
newly created document object, either using the ACL from
folderId if specified, or being applied if no
folderId is specifiedremoveAces - (optional) a list of ACEs that must be removed from
the newly created document object, either using the ACL from
folderId if specified, or being ignored if no
folderId is specified
public String createDocumentFromSource(String repositoryId,
String sourceId,
Properties properties,
String folderId,
VersioningState versioningState,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
createDocumentFromSource in interface ObjectServicecreateDocumentFromSource in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositorysourceId - the identifier for the source documentproperties - the property values that must be applied to the newly created
document objectfolderId - (optional) if specified, the identifier for the
folder that must be the parent folder for the newly created
document objectversioningState - (optional) specifies what the versioning state of the
newly created object must be (default is
VersioningState.MAJOR)policies - (optional) a list of policy IDs that must be applied
to the newly created document objectaddAces - (optional) a list of ACEs that must be added to the
newly created document object, either using the ACL from
folderId if specified, or being applied if no
folderId is specifiedremoveAces - (optional) a list of ACEs that must be removed from
the newly created document object, either using the ACL from
folderId if specified, or being ignored if no
folderId is specified
public void setContentStream(String repositoryId,
Holder<String> objectId,
Boolean overwriteFlag,
Holder<String> changeToken,
ContentStream contentStream,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
setContentStream in interface ObjectServicesetContentStream in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the object. The repository might return a
different/new object idoverwriteFlag - (optional) If true, then the repository
must replace the existing content stream for the object (if
any) with the input content stream. If If false,
then the repository must only set the input content stream for
the object if the object currently does not have a content
stream (default is true)changeToken - (optional) the last change token of this object that
the client received. The repository might return a new change
token (default is null)contentStream - the content stream
public void deleteContentStream(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
deleteContentStream in interface ObjectServicedeleteContentStream in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the object. The repository might return a
different/new object idchangeToken - (optional) the last change token of this object that
the client received. The repository might return a new change
token (default is null)
public String createFolder(String repositoryId,
Properties properties,
String folderId,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
createFolder in interface ObjectServicecreateFolder in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryproperties - the property values that must be applied to the newly created
folder objectfolderId - the identifier for the parent folderpolicies - (optional) a list of policy IDs that must be applied
to the newly created folder objectaddAces - (optional) a list of ACEs that must be added to the
newly created folder object, either using the ACL from
folderId if specified, or being applied if no
folderId is specifiedremoveAces - (optional) a list of ACEs that must be removed from
the newly created folder object, either using the ACL from
folderId if specified, or being ignored if no
folderId is specified
public void deleteObjectOrCancelCheckOut(String repositoryId,
String objectId,
Boolean allVersions,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
deleteObjectOrCancelCheckOut in interface CmisServicedeleteObjectOrCancelCheckOut in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the objectallVersions - (optional) If true then delete all
versions of the document, otherwise delete only the document
object specified (default is true)
public FailedToDeleteData deleteTree(String repositoryId,
String folderId,
Boolean allVersions,
UnfileObject unfileObjects,
Boolean continueOnFailure,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
deleteTree in interface ObjectServicedeleteTree in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryfolderId - the identifier for the folderallVersions - (optional) If true then delete all
versions of the document, otherwise delete only the document
object specified (default is true)unfileObjects - (optional) defines how the repository must process
file-able child- or descendant-objects (default is
UnfileObject.DELETE)continueOnFailure - (optional) If true, then the repository
should continue attempting to perform this operation even if
deletion of a child- or descendant-object in the specified
folder cannot be deleted (default is false)
public AllowableActions getAllowableActions(String repositoryId,
String objectId,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getAllowableActions in interface ObjectServicegetAllowableActions in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the object
public ContentStream getContentStream(String repositoryId,
String objectId,
String streamId,
BigInteger offset,
BigInteger length,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getContentStream in interface ObjectServicegetContentStream in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the object
public ObjectData getObject(String repositoryId,
String objectId,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getObject in interface ObjectServicegetObject in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the objectfilter - (optional) a comma-separated list of query names that
defines which properties must be returned by the repository
(default is repository specific)includeAllowableActions - (optional) if true, then the repository
must return the available actions for the object (default is
false)includeRelationships - (optional) indicates what relationships in which the
object participates must be returned (default is
IncludeRelationships.NONE)renditionFilter - (optional) indicates what set of renditions the
repository must return whose kind matches this filter (default
is "cmis:none")includePolicyIds - (optional) if true, then the repository
must return the policy ids for the object (default is
false)includeAcl - (optional) if true, then the repository
must return the ACL for the object (default is
false)
public ObjectData getObjectByPath(String repositoryId,
String path,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getObjectByPath in interface ObjectServicegetObjectByPath in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositorypath - the path to the objectfilter - (optional) a comma-separated list of query names that
defines which properties must be returned by the repository
(default is repository specific)includeAllowableActions - (optional) if true, then the repository
must return the available actions for the object (default is
false)includeRelationships - (optional) indicates what relationships in which the
object participates must be returned (default is
IncludeRelationships.NONE)renditionFilter - (optional) indicates what set of renditions the
repository must return whose kind matches this filter (default
is "cmis:none")includePolicyIds - (optional) if true, then the repository
must return the policy ids for the object (default is
false)includeAcl - (optional) if true, then the repository
must return the ACL for the object (default is
false)
public Properties getProperties(String repositoryId,
String objectId,
String filter,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getProperties in interface ObjectServicegetProperties in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the objectfilter - (optional) a comma-separated list of query names that
defines which properties must be returned by the repository
(default is repository specific)
public void moveObject(String repositoryId,
Holder<String> objectId,
String targetFolderId,
String sourceFolderId,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
moveObject in interface ObjectServicemoveObject in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the object. The repository might return a
different/new object idtargetFolderId - the identifier for the target foldersourceFolderId - the identifier for the source folder
public void updateProperties(String repositoryId,
Holder<String> objectId,
Holder<String> changeToken,
Properties properties,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
updateProperties in interface ObjectServiceupdateProperties in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServicerepositoryId - the identifier for the repositoryobjectId - the identifier for the object. The repository might return a
different/new object idchangeToken - (optional) the last change token of this object that
the client received. The repository might return a new change
token (default is null)properties - the updated property values that must be applied to the object
public void checkOut(String repositoryId,
Holder<String> objectId,
ExtensionsData extension,
Holder<Boolean> contentCopied)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
checkOut in interface VersioningServicecheckOut in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void cancelCheckOut(String repositoryId,
String objectId,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
cancelCheckOut in interface VersioningServicecancelCheckOut in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public void checkIn(String repositoryId,
Holder<String> objectId,
Boolean major,
Properties properties,
ContentStream contentStream,
String checkinComment,
List<String> policies,
Acl addAces,
Acl removeAces,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
checkIn in interface VersioningServicecheckIn in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public List<ObjectData> getAllVersions(String repositoryId,
String objectId,
String versionSeriesId,
String filter,
Boolean includeAllowableActions,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getAllVersions in interface VersioningServicegetAllVersions in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public ObjectData getObjectOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
String filter,
Boolean includeAllowableActions,
IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getObjectOfLatestVersion in interface VersioningServicegetObjectOfLatestVersion in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
public Properties getPropertiesOfLatestVersion(String repositoryId,
String objectId,
String versionSeriesId,
Boolean major,
String filter,
ExtensionsData extension)
org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceImplementation Hints:
getPropertiesOfLatestVersion in interface VersioningServicegetPropertiesOfLatestVersion in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisServiceprotected javax.jcr.Session login(String repositoryId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||