Cmis Cheatsheet

download Cmis Cheatsheet

of 1

Transcript of Cmis Cheatsheet

  • 7/31/2019 Cmis Cheatsheet

    1/1

    Content Management Interoperability Services

    Cheat Sheet

    Services and Operations

    R pository Service

    getRepositories

    getRepositoryInfo

    getTypeChildren

    getTypeDescendants

    getTypeDefinition

    N vigation Service

    getChildren

    getDescendants

    getFolderTree

    getFolderParent

    getObjectParents

    Object Service

    createDocument

    createDocumentFromSource

    createFolder

    createRelationship

    createPolicy

    getAllowableActions

    getObject

    getProperties

    getObjectByPath

    getContentStream

    getRenditions

    updateProperties

    moveObject

    deleteObject

    deleteTree

    setContentStream

    deleteContentStream

    V rsioning Service

    checkOut

    cancelCheckOut

    checkIn

    getObjectOfLatestVersion

    getPropertiesOfLatestVersion

    getAllVersions

    Multi-filing Service

    addObjectToFolder

    removeObjectFromFolder

    Dscovery Service

    query

    getContentChanges

    R lationship Service

    getObjectRelationships

    P licy Service

    applyPolicy

    removePolicy

    getAppliedPolicies

    ACL Service

    getACL

    applyACL

    Alfresco Software (last update 2001-07-04)

    String cmis:nameID cmis:objectId ro

    ID cmis:baseTypeId roID cmis:objectTypeId ocString cmis:createdBy roDateTime cmis:creationDate ro

    String cmis:lastModifiedBy roDateTime cmis:lastModificationDate ro

    String cmis:changetoken ro

    Boolean cmis:isImmutable roBoolean cmis:isLatestVersion ro

    Boolean cmis:isMajorVersion ro

    Boolean cmis:isLatestMajorVersion ro

    String cmis:versionLabel ro

    ID cmis:versionSeriesId roBoolean cmis:isVersionSeriesCheckedOut roString cmis:versionSeriesCheckedOutBy roID cmis:versionSeriesCheckedOutId roString cmis:checkinComment ro

    Integer cmis:contentStreamLength ro

    String cmis:contentStreamMimeType roString cmis:contentStreamFileNameID cmis:contentStreamId roID cmis:parentId ro

    String cmis:path roID (multi) cmis:allowedChildObjectTypeIds roID cmis:sourceIdID cmis:targetIdString cmis:policyText

    CMIS Base Types Properties

    SELECT [AS ], , SCORE(), ...FROM [AS ]

    WHERE ORDER BY [ASC|DESC], , ...

    JOINs:

    SELECT ...FROM [INNER | LEFT [OUTER]] JOIN

    ON ( = )

    Conditions:

    [ = | | < | > | = ] [NOT] IN () [NOT] LIKE IS [NOT] NULL = ANY CONTAINS()IN_FOLDER([,] )

    IN_TREE([,] ) [ AND | OR ] NOT

    Timestamp format:

    TIMESTAMP "YYYY-MM-DDThh:mm:ss.sss[Z|+hh:mm|-hh:mm]"

    Renditions

    Type

    Object

    cmis:document

    cmis:folder

    cmis:relationship

    cmis:policy

    CMIS Query Language

    ID streamId

    String mimeType

    Integer length

    String title

    String kind

    Integer heightInteger width

    Exceptions

    invalidArgument

    objectNotFound

    notSupported

    permissionDenied

    runtime

    constraint

    contentAlreadyExists

    filterNotValid

    nameConstraintViolation

    storage

    streamNotSupported

    updateConflict

    versioning

    cmis:read

    cmis:write

    cmis:all

    Permissions

    OASIS CMIS 1.0 specification: http://docs.oasis-open.org/cmis/CMIS/v1.0/

    Allowable Actions

    canGetDescendants

    canGetFolderTree

    canGetChildren

    canGetFolderParent

    canGetObjectParents

    canCreateDocument

    canCreateFolder

    canCreateRelationship

    canGetProperties

    canGetRenditions

    canGetContentStream

    canUpdateProperties

    canMoveObject

    canDeleteObject

    canGetContentStream

    canSetContentStream

    canDeleteContentStream

    canDeleteTree

    canAddObjectToFolder

    canRemoveObjectFromFolder

    canCheckOut

    can cancelCheckOut

    canCheckIn

    canGetAllVersions

    canGetObjectRelationships

    canApplyPolicy

    canRemovePolicy

    canGetAppliedPolicies

    canGetACL

    canApplyACL

    http://www.alfresco.com/http://www.alfresco.com/http://docs.oasis-open.org/cmis/CMIS/v1.0/http://docs.oasis-open.org/cmis/CMIS/v1.0/http://www.alfresco.com/http://www.alfresco.com/