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 Type
    Method
    Description
    void
    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
    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

      void deleteObject(CmsCmisCallContext context, 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, 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, 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, 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 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