| org.mule.module.cmis.CMISFacade |
Known Indirect Subclasses
|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Set the permissions associated with an object.
| |||||||||||
Applies policies to this object.
| |||||||||||
If applied to a PWC (private working copy) of the document, the check out
will be reversed.
| |||||||||||
Gets repository changes.
| |||||||||||
If applied to a PWC (private working copy) it performs a check in.
| |||||||||||
Checks out the document and returns the object id of the PWC (private working copy).
| |||||||||||
Creates a new document in the repository.
| |||||||||||
Creates a new document in the repository.
| |||||||||||
Creates a folder.
| |||||||||||
Remove an object
| |||||||||||
Deletes a folder and all subfolders.
| |||||||||||
Navigates the folder structure.
| |||||||||||
Returns the ACL if it has been fetched for an object.
| |||||||||||
Retrieve an object's version history
| |||||||||||
Get the policies that are applied to an object.
| |||||||||||
Retrieve list of checked out documents.
| |||||||||||
Retrieves the content stream of a Document.
| |||||||||||
Returns a CMIS object from the repository and puts it into the cache.
| |||||||||||
Returns a CMIS object from the repository and puts it into the cache.
| |||||||||||
Returns the relationships if they have been fetched for an object.
| |||||||||||
Retrieves the parent folders of a fileable cmis object
| |||||||||||
Returns the type definition of the given type id.
| |||||||||||
Moves a fileable cmis object from one location to another.
| |||||||||||
Sends a query to the repository
| |||||||||||
Returns information about the CMIS repository, the optional capabilities it supports and its
Access Control information if applicable.
| |||||||||||
Update an object's properties
| |||||||||||
Set the permissions associated with an object.
<cmis:get-acl objectId="workspace://SpacesStore/64b078f5-3024-403b-b133-fa87d0060f28" />| cmisObject | The object whose Acl is intended to change. |
|---|---|
| objectId | The object's id. Can be null if "cmisObject" is set. |
| addAces | Added access control entities |
| removeAces | Removed access control entities |
| aclPropagation | Wheter to propagate changes or not. can be REPOSITORYDETERMINED | OBJECTONLY | PROPAGATE |
Applies policies to this object.
| cmisObject | The document from which to get the stream. Can be null if "objectId" is set. |
|---|---|
| objectId | Id of the document from which to get the stream. Can be null if "object" is set. |
| policyIds | Policy ID's to apply |
If applied to a PWC (private working copy) of the document, the check out will be reversed. Otherwise, an exception will be thrown.
| document | The checked out document. Can be null if "documentId" is set. |
|---|---|
| documentId | Id of the checked out document. Can be null if "document" is set. |
Gets repository changes.
| changeLogToken | The change log token to start from or null |
|---|---|
| includeProperties | Indicates if changed properties should be included in the result |
If applied to a PWC (private working copy) it performs a check in. Otherwise, an exception will be thrown.
| document | The document to check-in. Can be null if "documentId" is set. |
|---|---|
| documentId | Id of the document to check-in. Can be null if "document" is set. |
| content | File content (no byte array or input stream for now) |
| filename | Name of the file |
| mimeType | Stream content-type |
| major | Whether it is major |
| checkinComment | Check-in comment |
| properties | Custom properties |
Checks out the document and returns the object id of the PWC (private working copy).
| document | The document to be checked out. Can be null if "documentId" is set. |
|---|---|
| documentId | Id of the document to be checked out. Can be null if "document" is set. |
Creates a new document in the repository.
| folderId | Folder Object Id |
|---|---|
| filename | Name of the file |
| content | File content (no byte array or input stream for now) |
| mimeType | Stream content-type |
| versioningState | An enumeration specifying what the versioing state of the newly-created object MUST be. If the repository does not support versioning, the repository MUST ignore the versioningState parameter. Valid values are: o none: The document MUST be created as a non-versionable document. o checkedout: The document MUST be created in the checked-out state. o major (default): The document MUST be created as a major version o minor: The document MUST be created as a minor version. |
| objectType | The type of the object |
| properties | The properties optional document properties to set |
Creates a new document in the repository.
| folderPath | Folder in the repository that will hold the document |
|---|---|
| filename | Name of the file |
| content | File content (no byte array or input stream for now) |
| mimeType | Stream content-type |
| versioningState | An enumeration specifying what the versioing state of the newly-created object MUST be. If the repository does not support versioning, the repository MUST ignore the versioningState parameter. Valid values are: o none: The document MUST be created as a non-versionable document. o checkedout: The document MUST be created in the checked-out state. o major (default): The document MUST be created as a major version o minor: The document MUST be created as a minor version. |
| objectType | The type of the object |
| properties | The properties optional document properties to set |
| force | If should folder structure must be created when there are missing intermediate folders |
Creates a folder. Note that this is not recusive creation. You just create one folder
| folderName | Folder name (eg: "my documents") |
|---|---|
| parentObjectId | Parent folder for the folder being created (eg: repository.rootFolder) |
Remove an object
| cmisObject | The object to be deleted. Can be null if "objectId" is set. |
|---|---|
| objectId | The object's id. Can be null if "cmisObject" is set. |
| allVersions | If true, deletes all version history of the object. Defaults to "false". |
Deletes a folder and all subfolders.
| folder | Folder Object. Can be null if "folderId" is set. |
|---|---|
| folderId | Folder Object id. Can be null if "folder" is set. |
| allversions | If true, then delete all versions of the document. If false, delete only the document object specified. |
| unfile | Specifies how the repository must process file-able child- or descendant-objects. |
| continueOnFailure | Specified whether to continue attempting to perform this operation even if deletion of a child- or descendant-object in the specified folder cannot be deleted or not. |
Navigates the folder structure.
| folder | Folder Object. Can be null if "folderId" is set. |
|---|---|
| folderId | Folder Object id. Can be null if "folder" is set. |
| get | NavigationOptions that specifies whether to get the parent folder, the list of immediate children or the whole descendants tree |
| depth | If "get" value is DESCENDANTS, represents the depth of the descendants tree |
| filter | Comma-separated list of properties to filter (only for CHILDREN or DESCENDANTS navigation) |
| orderBy | Comma-separated list of query names and the ascending modifier "ASC" or the descending modifier "DESC" for each query name (only for CHILDREN or DESCENDANTS navigation) |
Returns the ACL if it has been fetched for an object.
| cmisObject | The object whose Acl is needed |
|---|---|
| objectId | The object's id. Can be null if "cmisObject" is set. |
Retrieve an object's version history
| document | The document whose versions are to be retrieved |
|---|---|
| documentId | Id of the document whose versions are to be retrieved |
| filter | Comma-separated list of properties to filter (only for CHILDREN or DESCENDANTS navigation) |
| orderBy | Comma-separated list of query names and the ascending modifier "ASC" or the descending modifier "DESC" for each query name (only for CHILDREN or DESCENDANTS navigation) |
Get the policies that are applied to an object.
| cmisObject | The document from which to get the stream. Can be null if "objectId" is set. |
|---|---|
| objectId | Id of the document from which to get the stream. Can be null if "object" is set. |
Retrieve list of checked out documents.
| filter | Comma-separated list of properties to filter |
|---|---|
| orderBy | Comma-separated list of query names and the ascending modifier "ASC" or the descending modifier "DESC" for each query name |
Retrieves the content stream of a Document.
| cmisObject | The document from which to get the stream. Can be null if "objectId" is set. |
|---|---|
| objectId | Id of the document from which to get the stream. Can be null if "object" is set. |
Returns a CMIS object from the repository and puts it into the cache.
| objectId | The object id |
|---|
Returns a CMIS object from the repository and puts it into the cache.
| path | Path of the object to retrieve |
|---|
Returns the relationships if they have been fetched for an object.
| cmisObject | The object whose relationships are needed |
|---|---|
| objectId | The object's id. Can be null if "cmisObject" is set. |
Retrieves the parent folders of a fileable cmis object
| cmisObject | The object whose parent folders are needed. can be null if "objectId" is set. |
|---|---|
| objectId | Id of the object whose parent folders are needed. can be null if "object" is set. |
Returns the type definition of the given type id.
| typeId | Object type Id |
|---|
Moves a fileable cmis object from one location to another. Take into account that a fileable object may be filled in several locations. Thats why you must specify a source folder.
| cmisObject | The object to move. Can be null if "objectId" is set. |
|---|---|
| objectId | The object's id. Can be null if "cmisObject" is set. |
| sourceFolderId | Id of the source folder |
| targetFolderId | Id of the target folder |
Sends a query to the repository
| statement | The query statement (CMIS query language) |
|---|---|
| searchAllVersions | Specifies if the latest and non-latest versions of document objects should be included |
| filter | Comma-separated list of properties to filter |
| orderBy | Comma-separated list of query names and the ascending modifier "ASC" or the descending modifier "DESC" for each query name |
Returns information about the CMIS repository, the optional capabilities it supports and its Access Control information if applicable.
Update an object's properties
| cmisObject | Object to be updated. Can be null if "objectId" is set. |
|---|---|
| objectId | The object's id. Can be null if "cmisObject" is set. |
| properties | The properties to update |