| Namespace | http://www.mulesoft.org/schema/mule/cmis |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/cmis/1.1/mule-cmis.xsd |
| Version | 1.1 |
| Minimum Mule Version | 3.2 |
CMIS (Content Management Interoperability Services) is a standard for improving interoperability between ECM systems.
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
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 all repositories that are available at the endpoint.
| |||||||||||
Returns information about the CMIS repository, the optional capabilities it supports and its Access Control information if applicable.
| |||||||||||
Update an object's properties
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cmis="http://www.mulesoft.org/schema/mule/cmis"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/cmis
http://www.mulesoft.org/schema/mule/cmis/1.1/mule-cmis.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necesary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Optional. Give a name to this configuration so it can be later referenced. | |||||||
| URL base for the SOAP connector. | |||||||||||
| Password | |||||||||||
| The identifier for the Repository that this connector instance works with | |||||||||||
| Username | |||||||||||
Set the permissions associated with an object.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The object whose Acl is intended to change. | ||
| Optional. The id of the object | ||
| Wheter to propagate changes or not. can be REPOSITORYDETERMINED | OBJECTONLY | PROPAGATE |
Applies policies to this object.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The document from which to get the stream. Can be null if "objectId" is set. | ||
| Optional. Id of the document from which to get the stream. Can be null if "object" is set. |
If applied to a PWC (private working copy) of the document, the check out will be reversed. Otherwise, an exception will be thrown.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The checked out document. Can be null if "documentId" is set. | ||
| Optional. Id of the checked out document. Can be null if "document" is set. |
Gets repository changes.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
Optional. The change log token to start from or null |
||
| 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.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The document to check-in. Can be null if "documentId" is set. | ||
| Optional. Id of the document to check-in. Can be null if "document" is set. | ||
| File content (no byte array or input stream for now) | ||
| Name of the file | ||
| Stream content-type | ||
| Whether it is major | ||
| Check-in comment |
Checks out the document and returns the object id of the PWC (private working copy).
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The document to be checked out. Can be null if "documentId" is set. | ||
| Optional. Id of the document to be checked out. Can be null if "document" is set. |
Creates a new document in the repository.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Folder Object Id | ||
| Name of the file | ||
| File content (no byte array or input stream for now) | ||
| Stream content-type | ||
| 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. | ||
| The type of the object. |
Creates a new document in the repository.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Folder in the repository that will hold the document | ||
| Name of the file | ||
| File content (no byte array or input stream for now) | ||
| Stream content-type | ||
| 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. | ||
| The type of the object. | ||
| Optional. 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
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Folder name (eg: "my documents") | ||
| Parent folder for the folder being created (eg: repository.rootFolder) |
Remove an object
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The object to be deleted. Can be null if "objectId" is set. | ||
| Optional. The object's id. Can be null if "cmisObject" is set. | ||
| Optional. If true, deletes all version history of the object. Defaults to "false". |
Deletes a folder and all subfolders.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. Folder Object. Can be null if "folderId" is set. | ||
| Optional. Folder Object id. Can be null if "folder" is set. | ||
| If true, then delete all versions of the document. If false, delete only the document object specified. | ||
| Optional. Specifies how the repository must process file-able child- or descendant-objects. | ||
| 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.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. Folder Object. Can be null if "folderId" is set. | ||
| Optional. Folder Object id. Can be null if "folder" is set. | ||
| NavigationOptions that specifies whether to get the parent folder, the list of immediate children or the whole descendants tree | ||
| Optional. If "get" value is DESCENDANTS, represents the depth of the descendants tree | ||
| Optional. Comma-separated list of properties to filter (only for CHILDREN or DESCENDANTS navigation) | ||
| Optional. 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.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The object whose Acl is needed | ||
| Optional. The id of the object |
Retrieve an object's version history
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The document whose versions are to be retrieved | ||
| Optional. Id of the document whose versions are to be retrieved | ||
| Optional. Comma-separated list of properties to filter (only for CHILDREN or DESCENDANTS navigation) | ||
| Optional. 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.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The document from which to get the stream. Can be null if "objectId" is set. | ||
| Optional. Id of the document from which to get the stream. Can be null if "object" is set. |
Retrieve list of checked out documents.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. Comma-separated list of properties to filter | ||
| Optional. 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.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The document from which to get the stream. Can be null if "objectId" is set. | ||
| Optional. 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.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The object id |
Returns a CMIS object from the repository and puts it into the cache.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Path of the object to retrieve |
Returns the relationships if they have been fetched for an object.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The object whose relationships are needed | ||
| Optional. The id of the object |
Retrieves the parent folders of a fileable cmis object
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The object whose parent folders are needed. can be null if "objectId" is set. | ||
| Optional. 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.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| 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.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The object to move. Can be null if "objectId" is set. | ||
| Optional. The object's id. Can be null if "cmisObject" is set. | ||
| Id of the source folder | ||
| Id of the target folder |
Sends a query to the repository
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The query statement (CMIS query language) | ||
| Specifies if the latest and non-latest versions of document objects should be included | ||
| Optional. Comma-separated list of properties to filter | ||
| Optional. Comma-separated list of query names and the ascending modifier "ASC" or the descending modifier "DESC" for each query name |
Returns all repositories that are available at the endpoint.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. |
Returns information about the CMIS repository, the optional capabilities it supports and its Access Control information if applicable.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. |
Update an object's properties
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. Object to be updated. Can be null if "objectId" is set. | ||
| Optional. The object's id. Can be null if "cmisObject" is set. |