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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteObject(CmsCmisCallContext context, java.lang.String objectId, boolean allVersions)
Deletes a CMIS object.org.apache.chemistry.opencmis.commons.data.Acl
getAcl(CmsCmisCallContext context, java.lang.String objectId, boolean onlyBasicPermissions)
Gets the ACL for an object.org.apache.chemistry.opencmis.commons.data.AllowableActions
getAllowableActions(CmsCmisCallContext context, java.lang.String objectId)
Gets the allowable actions for an object.org.apache.chemistry.opencmis.commons.data.ObjectData
getObject(CmsCmisCallContext context, java.lang.String objectId, java.lang.String filter, boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, java.lang.String renditionFilter, boolean includePolicyIds, boolean includeAcl)
Gets the data for a CMIS object.
-
-
-
Method Detail
-
deleteObject
void deleteObject(CmsCmisCallContext context, java.lang.String objectId, boolean allVersions)
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, java.lang.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, java.lang.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, java.lang.String objectId, java.lang.String filter, boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, java.lang.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
-
-