Package org.opencms.cmis
Interface I_CmsCmisObjectHelper
- All Known Implementing Classes:
CmsCmisRelationHelper
,CmsCmisResourceHelper
public interface I_CmsCmisObjectHelper
Interface containing the basic CRUD operations for CMIS objects.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteObject
(CmsCmisCallContext context, String objectId, boolean allVersions) Deletes a CMIS object.org.apache.chemistry.opencmis.commons.data.Acl
getAcl
(CmsCmisCallContext context, String objectId, boolean onlyBasicPermissions) Gets the ACL for an object.org.apache.chemistry.opencmis.commons.data.AllowableActions
getAllowableActions
(CmsCmisCallContext context, String objectId) Gets the allowable actions for an object.org.apache.chemistry.opencmis.commons.data.ObjectData
getObject
(CmsCmisCallContext context, String objectId, String filter, boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, boolean includePolicyIds, boolean includeAcl) Gets the data for a CMIS object.
-
Method Details
-
deleteObject
Deletes a CMIS object.- Parameters:
context
- the call contextobjectId
- the id of the object to deleteallVersions
- flag to delete all version
-
getAcl
org.apache.chemistry.opencmis.commons.data.Acl getAcl(CmsCmisCallContext context, String objectId, boolean onlyBasicPermissions) Gets the ACL for an object.- Parameters:
context
- the call contextobjectId
- the object idonlyBasicPermissions
- flag to only get basic permissions- Returns:
- the ACL for the object
-
getAllowableActions
org.apache.chemistry.opencmis.commons.data.AllowableActions getAllowableActions(CmsCmisCallContext context, String objectId) Gets the allowable actions for an object.- Parameters:
context
- the call contextobjectId
- the object id- Returns:
- the allowable actions
-
getObject
org.apache.chemistry.opencmis.commons.data.ObjectData getObject(CmsCmisCallContext context, String objectId, String filter, boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, String renditionFilter, boolean includePolicyIds, boolean includeAcl) Gets the data for a CMIS object.- Parameters:
context
- the CMIS call contextobjectId
- the id of the objectfilter
- the property filterincludeAllowableActions
- flag to include allowable actionsincludeRelationships
- flag to include relationshipsrenditionFilter
- the rendition filter stringincludePolicyIds
- flag to include policy idsincludeAcl
- flag to include ACLs- Returns:
- the CMIS object data
-