| java.lang.Object | |
| ↳ | org.mule.module.cmis.CMISCloudConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
CMIS (Content Management Interoperability Services) is a standard for improving interoperability between ECM systems.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| baseUrl | URL base for the SOAP connector. | ||||||||||
| connectionTimeout | The connection time-out specification. | ||||||||||
| endpoint | The type of endpoint | ||||||||||
| facade | Reference to a CMISFacade implementation in case you want to use another implementation or initialize the default in a diferent way. | ||||||||||
| password | Password | ||||||||||
| repositoryId | The identifier for the Repository that this connector instance works with | ||||||||||
| useAlfrescoExtension | Specifies whether the Alfresco Object Factory implementation should be utilized. | ||||||||||
| username | Username | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Set the permissions associated with an object.
| |||||||||||
Apply and aspect to an object and set some properties of that aspect.
| |||||||||||
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 where the content comes directly from the payload and
the target folder node is specified by an object ID.
| |||||||||||
Creates a new document in the repository where the content comes directly from the payload and
the target folder node is specified by an object ID.
| |||||||||||
Creates a new document in the repository where the content comes directly from the payload and
the target folder node is specified by a repository path.
| |||||||||||
Creates a new document in the repository where the content is specified as the value of the "content"
parameter and the target folder node is specified by a repository path.
| |||||||||||
Creates a folder.
| |||||||||||
Creates a parent/child relationships between two nodes in the repository of the
specified relationship object type.
| |||||||||||
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.
| |||||||||||
Creates a new folder in the repository if it doesn't already exist.
| |||||||||||
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
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.mule.module.cmis.CMISFacade
| |||||||||||
URL base for the SOAP connector.
The connection time-out specification.
The type of endpoint
Reference to a CMISFacade implementation in case you want to use another implementation or initialize the default in a diferent way. Using this option make useless the other attributes.
Password
The identifier for the Repository that this connector instance works with
Specifies whether the Alfresco Object Factory implementation should be utilized. The Alfresco CMIS extension JAR must be included in your Mule application in order for this configuration to work.
Username
Set the permissions associated with an object.
| cmisObject | The object whose Acl is intended to change. |
|---|---|
| objectId | The id of the object |
| addAces | Added access control entities |
| removeAces | Removed access control entities |
| aclPropagation | Wheter to propagate changes or not. can be REPOSITORYDETERMINED | OBJECTONLY | PROPAGATE |
Apply and aspect to an object and set some properties of that aspect.
| objectId | The object's id. |
|---|---|
| aspectName | The name of the aspect to be applied to the object. |
| properties | The properties to set. |
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 where the content comes directly from the payload and the target folder node is specified by an object ID.
| folderId | Folder Object Id |
|---|---|
| filename | Name of the file |
| content | File content as specified in the payload |
| mimeType | Stream content-type |
| versioningState | An enumeration specifying what the versioning 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 where the content comes directly from the payload and the target folder node is specified by an object ID. *
| folderId | Folder Object Id |
|---|---|
| filename | Name of the file |
| content | File content |
| mimeType | Stream content-type |
| versioningState | An enumeration specifying what the versioning 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 where the content comes directly from the payload and the target folder node is specified by a repository path. *
| folderPath | Folder in the repository that will hold the document |
|---|---|
| filename | Name of the file |
| content | File content as specified in the payload |
| mimeType | Stream content-type |
| versioningState | An enumeration specifying what the versioning 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 checked-out: 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 new document in the repository where the content is specified as the value of the "content" parameter and the target folder node is specified by a repository path.
| folderPath | Folder in the repository that will hold the document |
|---|---|
| filename | Name of the file |
| content | File content |
| mimeType | Stream content-type |
| versioningState | An enumeration specifying what the versioning state of the newly-created object MUST be. If the repository does not support versioning, the repository MUST ignore the versioningState parameter. |
| 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) |
Creates a parent/child relationships between two nodes in the repository of the specified relationship object type.
| parentObjectId | The ID of the parent (or source) object in the relationship. |
|---|---|
| childObjectId | The ID of the child (or target) object in the relationship. |
| relationshipType | The name of the relationship type that should be associated with the objects. |
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 id of the object |
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 id of the object |
Creates a new folder in the repository if it doesn't already exist.
| folderPath | Path to the folder |
|---|
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 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.
| baseUrl |
|---|
| connectionTimeout |
|---|
| endpoint |
|---|
| password |
|---|
| repositoryId |
|---|
| useAlfrescoExtension |
|---|
| username |
|---|
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 |