CMIS Service
| api | CMIS |
|---|---|
| since | CMIS-1.0 |
__construct(String $url, String $username, String $password, mixed[] $options, array $addlCurlOptions)
| api | CMIS-Service |
|---|---|
| since | CMIS-1.0 |
StringEndpoint URL
StringUsername
StringPassword
mixed[]Connection Options
mixed[]Additional CURL Options
addObjectToFolder($objectId, $targetFolderId, $options)
appendContentStream(String $objectId, String $content, String $content_type, mixed[] $options)
| returns | Object |
|---|---|
| api | CMIS-ObjectServices-NotImplemented |
| since | CMIS-1.0 |
StringObject ID
StringContent to be appended
StringContent Mime Type
mixed[]Options
applyACL()
applyPolicy()
bulkUpdateProperties()
cancelCheckOut(String $objectId, mixed[] $options)
| api | CMIS-VersionServices |
|---|---|
| since | CMIS-1.0 |
StringObject ID
mixed[]Options
checkIn(String $objectId, mixed[] $options) : Object
| api | CMIS-VersionServices |
|---|---|
| since | CMIS-1.0 |
StringObject ID
mixed[]Options
ObjectThe checked in objectcheckOut(String $objectId, mixed[] $options) : Object
| api | CMIS-VersionServices |
|---|---|
| since | CMIS-1.0 |
StringObject ID
mixed[]Options
ObjectThe working copycreateDocument($folderId, $fileName, $properties, $content, $content_type, $options)
createDocumentFromSource()
createFolder($folderId, $folderName, $properties, $options)
createItem()
createPolicy()
createRelationship()
createType(String $objectType)
Creates a new type definition that is a subtype of an existing specified parent type. Only properties that are new to this type (not inherited) are passed to this service.
| returns | Object Type Definition of the Specified Object |
|---|---|
| api | CMIS-RepositoryServices-NotImplemented |
| since | CMIS-1.1 |
StringA type definition object with the property definitions that are to change.
deleteAllVersions()
deleteContentStream(String $objectId, mixed[] $options)
| api | CMIS-ObjectServices |
|---|---|
| since | CMIS-1.0 |
StringObject ID
mixed[]Options
deleteObject(String $objectId, mixed[] $options)
| api | CMIS-ObjectServices |
|---|---|
| since | CMIS-1.0 |
StringObject ID
mixed[]Options
deleteTree(String $folderId, mixed[] $options) : Object[]
| api | CMIS-ObjectServices |
|---|---|
| since | CMIS-1.0 |
StringFolder Object ID
mixed[]Options
Object[]Array of problem objectsdeleteType(String $typeId)
If there are object instances present of the type being deleted then this operation MUST fail.
| api | CMIS-RepositoryServices-NotImplemented |
|---|---|
| since | CMIS-1.1 |
StringThe typeId of an object-type specified in the repository.
getACL()
getAllVersions()
getAllowableActions(String $objectId, mixed[] $options)
| returns | mixed[] |
|---|---|
| api | CMIS-ObjectServices |
| since | CMIS-1.0 |
StringObject Id
mixed[]Options
getAppliedPolicies()
getCheckedOutDocs($options)
.
| returns | Object[] list of checked out documents. |
|---|---|
| api | CMIS-NavigationServices |
| since | CMIS-1.0 |
getChildren(String $folderId, $options)
| returns | Object[] A list of the child objects for the specified folder. |
|---|---|
| api | CMIS-NavigationServices |
| since | CMIS-1.0 |
Stringthe Object ID of the folder
getContentChanges(mixed[] $options)
| returns | Object[] List of Change Events |
|---|---|
| api | CMIS-DiscoveryServices |
| since | CMIS-1.0 |
mixed[]Options
getContentStream(String $objectId, mixed[] $options)
| returns | String |
|---|---|
| api | CMIS-ObjectServices |
| since | CMIS-1.0 |
StringObject Id
mixed[]Options
getDescendants(String $folderId, String $depth, $options)
| returns | Object[] A tree of the child objects for the specified folder. |
|---|---|
| api | CMIS-NavigationServices |
| since | CMIS-1.0 |
Stringthe Object ID of the folder
StringThe number of levels of depth in the folder hierarchy from which to return results (-1 == ALL).
getFolderParent(String $folderId, $options)
| returns | Object the parent folder. |
|---|---|
| api | CMIS-NavigationServices |
| since | CMIS-1.0 |
Stringthe Object ID of the folder
getFolderTree(String $folderId, String $depth, $options)
| returns | Object[] A tree of the child objects for the specified folder. |
|---|---|
| api | CMIS-NavigationServices |
| since | CMIS-1.0 |
Stringthe Object ID of the folder
StringThe number of levels of depth in the folder hierarchy from which to return results (-1 == ALL).
getLastRequest()
| inherited_from | \CMISRepositoryWrapper::getLastRequest() |
|---|
getLastRequestBody()
| inherited_from | \CMISRepositoryWrapper::getLastRequestBody() |
|---|
getLastRequestCode()
| inherited_from | \CMISRepositoryWrapper::getLastRequestCode() |
|---|
getLastRequestContentLength()
| inherited_from | \CMISRepositoryWrapper::getLastRequestContentLength() |
|---|
getLastRequestContentSent()
| inherited_from | \CMISRepositoryWrapper::getLastRequestContentSent() |
|---|
getLastRequestContentType()
| inherited_from | \CMISRepositoryWrapper::getLastRequestContentType() |
|---|
getLastRequestContentTypeSent()
| inherited_from | \CMISRepositoryWrapper::getLastRequestContentTypeSent() |
|---|
getLastRequestMethod()
| inherited_from | \CMISRepositoryWrapper::getLastRequestMethod() |
|---|
getLastRequestURL()
| inherited_from | \CMISRepositoryWrapper::getLastRequestURL() |
|---|
getMultiValuedProp(Object $obj, String $propName)
This returns an array even if it is a scalar or null
| todo | Allow the getProperty method to query the object type information and return multivalue properties as arrays even if empty or if only a single value is present. |
|---|---|
| returns | mixed[] |
| api | CMIS-Helper |
| since | CMIS-1.0 |
ObjectObject
StringProperty Name
getObject(String $objectId, mixed[] $options)
| returns | Object |
|---|---|
| api | CMIS-ObjectServices |
| since | CMIS-1.0 |
StringObject ID
mixed[]Options
getObjectByPath(String $path, mixed[] $options)
| returns | Object |
|---|---|
| api | CMIS-ObjectServices |
| since | CMIS-1.0 |
StringPath To Object
mixed[]Options
getObjectOfLatestVersion($objectId, $major, $options)
getObjectParents(String $objectId, $options)
| returns | Object[] list of the parent folder(s) of the specified object. |
|---|---|
| api | CMIS-NavigationServices |
| since | CMIS-1.0 |
Stringthe Object ID of the Object
getObjectRelationships()
getObjectTypeDefinition(String $objectId)
| returns | Object Type Definition of the Specified Object |
|---|---|
| api | CMIS-Helper |
| since | CMIS-1.0 |
StringObject Id
getProperties(String $objectId, mixed[] $options)
| returns | Object |
|---|---|
| api | CMIS-ObjectServices |
| since | CMIS-1.0 |
StringObject Id
mixed[]Options
getPropertiesOfLatestVersion($objectId, $major, $options)
getRenditions(String $objectId, mixed[] $options)
Only rendition attributes are returned, not rendition stream.
| returns | Object[] |
|---|---|
| api | CMIS-ObjectServices |
| since | CMIS-1.0 |
StringObject Id
mixed[]Options
getRepositories()
| api | CMIS-RepositoryServices-NotImplemented |
|---|---|
| since | CMIS-1.0 |
getRepositoryInfo()
| returns | Object |
|---|---|
| api | CMIS-RepositoryServices |
| since | CMIS-1.0 |
getTypeChildren(String $typeId, $options)
If typeId is null, then the repository MUST return all base object-types.
| returns | Object The list of child object-types defined for the given typeId. |
|---|---|
| api | CMIS-RepositoryServices |
| since | CMIS-1.0 |
StringThe typeId of an object-type specified in the repository
getTypeDefinition(String $typeId, $options)
| returns | Object Type Definition of the Specified Object |
|---|---|
| api | CMIS-RepositoryServices |
| since | CMIS-1.0 |
StringObject Type Id
getTypeDescendants(String $typeId, $depth, $options)
If typeId is null, then the repository MUST return all types and ignore the depth parameter.
| returns | Object The set of descendant object-types defined for the given typeId. |
|---|---|
| api | CMIS-RepositoryServices |
| since | CMIS-1.0 |
StringThe typeId of an object-type specified in the repository
the number of levels in the hierarchy to return (-1 == all)
moveObject($objectId, $targetFolderId, $sourceFolderId, $options)
query(String $statement, mixed[] $options)
| returns | Object[] List of object propery values from query |
|---|---|
| api | CMIS-DiscoveryServices |
| since | CMIS-1.0 |
StringQuery Statement
mixed[]Options
removeObjectFromFolder($objectId, $targetFolderId, $options)
removePolicy()
setContentStream(String $objectId, String $content, String $content_type, mixed[] $options)
| returns | Object |
|---|---|
| api | CMIS-ObjectServices |
| since | CMIS-1.0 |
StringObject ID
StringContent to be appended
StringContent Mime Type
mixed[]Options
updateProperties($objectId, $properties, $options)
updateType(String $objectType)
If you add an optional property to a type in error. There is no way to remove it/correct it - without deleting the type.
| returns | Object The updated object-type including all property definitions. |
|---|---|
| api | CMIS-RepositoryServices-NotImplemented |
| since | CMIS-1.1 |
StringA type definition object with the property definitions that are to change.