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
 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 context
objectId - the id of the object to delete
allVersions - 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 context
objectId - the object id
onlyBasicPermissions - 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 context
objectId - 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 context
objectId - the id of the object
filter - the property filter
includeAllowableActions - flag to include allowable actions
includeRelationships - flag to include relationships
renditionFilter - the rendition filter string
includePolicyIds - flag to include policy ids
includeAcl - flag to include ACLs
Returns:
the CMIS object data