public class

DocumentumConnector

extends Object
java.lang.Object
   ↳ org.mule.modules.documentum.DocumentumConnector
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Documentum Cloud Connector. The Documentum Connector will allow to use the DFS SOAP API. Almost every operation that can be done via the API can be done thru this connector.

Summary

Fields
private Config config
Public Constructors
DocumentumConnector()
Public Methods
ObjectIdentity applyAcl(ObjectIdentity objectIdentity, AclIdentity aclIdentity)
Apply Acl
ObjectIdentity cancelCheckout(ObjectIdentity objIdentity)
Cancel Checkout
ObjectIdentity checkin(ObjectIdentity objIdentity, String newContentPath, VersionStrategy versionStrategy, List<String> labels, boolean isRetainLock, ContentTransferMode transferMode)
Checkin
ObjectIdentity checkout(ObjectIdentity objIdentity)
Checkout
ObjectIdentity copyObject(ObjectIdentity objectIdentity, ObjectIdentity folderIdentity)
Copy Object
Acl createAcl(String aclName, String aclDescription, List<AclEntry> aclEntries, AclVisibility aclVisibility, AclType aclType)
Create Acl
ObjectIdentity createDocument(String filePath, String folderPath, ContentTransferMode transferMode)
Create Document
ObjectIdentity createFolder(String folderName, String folderPath)
Create Folder
ObjectIdentity createPath(String folderPath)
Create Path
List<String> deleteAcl(List<String> aclNames)
Delete Acl
ObjectIdentity deleteAllVersions(ObjectIdentity objIdentity)
Delete All Versions
ObjectIdentity deleteObject(ObjectIdentity objectIdentity)
Delete Object
ObjectIdentity deleteVersion(ObjectIdentity objIdentity)
Delete Version
AclPackage getAcl(List<String> aclNames)
Get Acl
AclPackage getAcls()
Get Acls
CheckoutInfo getCheckoutInfo(ObjectIdentity objIdentity)
Get checkout info
Config getConfig()
ObjectIdentity getCurrent(ObjectIdentity objIdentity)
Get Current
File getObject(ObjectIdentity objectIdentity, String outputPath, ContentTransferMode transferMode)
Get Object
VersionInfo getVersionInfo(ObjectIdentity objIdentity)
Get Version Info
ObjectIdentity moveObject(ObjectIdentity objectIdentity, ObjectIdentity toFolderIdentity, ObjectIdentity fromFolderIdentity)
Move Object
QueryResult query(String dqlStatement)
Query
void setConfig(Config config)
Acl updateAcl(String aclName, String aclDescription, List<AclEntry> aclEntries, AclVisibility aclVisibility, AclType aclType)
Update Acl
ObjectIdentity updateDocument(ObjectIdentity objectIdentity, String newContentFilePath, ContentTransferMode transferMode, Map<String, String> newProperties, ObjectIdentity oldParentFolder, ObjectIdentity newParentFolder)
Update Document
ObjectIdentity updateFolder(ObjectIdentity objectIdentity, Map<String, String> newProperties, ObjectIdentity oldParentFolder, ObjectIdentity newParentFolder)
Update Folder
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private Config config

Public Constructors

public DocumentumConnector ()

Public Methods

public ObjectIdentity applyAcl (ObjectIdentity objectIdentity, AclIdentity aclIdentity)

Apply Acl

Parameters
objectIdentity The object identity to receive the Acl.
aclIdentity The acl identity to apply to the object identity.
Returns
  • the ObjectIdentity.

public ObjectIdentity cancelCheckout (ObjectIdentity objIdentity)

Cancel Checkout

Parameters
objIdentity Identify the object to cancel the checkout.
Returns
  • ObjectIdentity if the cancellation was successful.

public ObjectIdentity checkin (ObjectIdentity objIdentity, String newContentPath, VersionStrategy versionStrategy, List<String> labels, boolean isRetainLock, ContentTransferMode transferMode)

Checkin

Parameters
objIdentity Identify the object to checkin.
newContentPath The path to the file with the new content.
versionStrategy The strategy to do the checkin.
labels The labels of this checkin.
isRetainLock Specifies whether the object is to remain checked out and locked by the user after the new version is saved.
transferMode The transfer mode.
Returns
  • the ObjectIdentity.
Throws
IOException .
SerializableException .

public ObjectIdentity checkout (ObjectIdentity objIdentity)

Checkout

Parameters
objIdentity Identify the object to checkout.
Returns
  • the ObjectIdentity.

public ObjectIdentity copyObject (ObjectIdentity objectIdentity, ObjectIdentity folderIdentity)

Copy Object

Parameters
objectIdentity Identify the object to copy.
folderIdentity Identify the folder to copy to.
Returns
  • the ObjectIdentity.

public Acl createAcl (String aclName, String aclDescription, List<AclEntry> aclEntries, AclVisibility aclVisibility, AclType aclType)

Create Acl

Parameters
aclName The name of the acl.
aclDescription The description of the acl.
aclEntries The entries of the acl.
aclVisibility The visibility of the acl.
aclType The type of the acl.
Returns
  • the Acl.

public ObjectIdentity createDocument (String filePath, String folderPath, ContentTransferMode transferMode)

Create Document

Parameters
filePath Path to an existing file in the local system.
folderPath Path to an existing folder in the content server.
transferMode The transfer mode.
Returns
  • the ObjectIdentity.
Throws
SerializableException .
IOException .

public ObjectIdentity createFolder (String folderName, String folderPath)

Create Folder

Parameters
folderName Of the folder to create.
folderPath Path to an existing folder in the content server.
Returns
  • the ObjectIdentity.
Throws
SerializableException .
IOException .

public ObjectIdentity createPath (String folderPath)

Create Path

Parameters
folderPath Path to create in the content server.
Returns
  • the ObjectIdentity.

public List<String> deleteAcl (List<String> aclNames)

Delete Acl

Parameters
aclNames The names of the acls.
Returns
  • a list with names of the deleted acls.

public ObjectIdentity deleteAllVersions (ObjectIdentity objIdentity)

Delete All Versions

Parameters
objIdentity Identify the object to delete.
Returns
  • ObjectIdentity if the deletion was successful.

public ObjectIdentity deleteObject (ObjectIdentity objectIdentity)

Delete Object

Parameters
objectIdentity The ObjectIdentity of the object to delete.
Returns
  • ObjectIdentity if the deletion was successful.

public ObjectIdentity deleteVersion (ObjectIdentity objIdentity)

Delete Version

Parameters
objIdentity Identify the object to delete.
Returns
  • ObjectIdentity if the deletion was successful.

public AclPackage getAcl (List<String> aclNames)

Get Acl

Parameters
aclNames The names of the acls.
Returns
  • the AclPackage.

public AclPackage getAcls ()

Get Acls

Returns
  • the AclPackage.

public CheckoutInfo getCheckoutInfo (ObjectIdentity objIdentity)

Get checkout info

Parameters
objIdentity Identify the object to get the checkout info.
Returns
  • the CheckoutInfo.

public Config getConfig ()

public ObjectIdentity getCurrent (ObjectIdentity objIdentity)

Get Current

Parameters
objIdentity Identify the object to get the current version.
Returns
  • the ObjectIdentity.

public File getObject (ObjectIdentity objectIdentity, String outputPath, ContentTransferMode transferMode)

Get Object

Parameters
objectIdentity The ObjectIdentity of the object to download.
outputPath Download path plus the fileName.
transferMode The transfer mode.
Returns
  • the File.
Throws
SerializableException .
IOException .

public VersionInfo getVersionInfo (ObjectIdentity objIdentity)

Get Version Info

Parameters
objIdentity Identify the object to get the version info.
Returns
  • the VersionInfo.

public ObjectIdentity moveObject (ObjectIdentity objectIdentity, ObjectIdentity toFolderIdentity, ObjectIdentity fromFolderIdentity)

Move Object

Parameters
objectIdentity Identify the object to move.
toFolderIdentity Identify the folder to move from.
fromFolderIdentity Identify the folder to move to.
Returns
  • the ObjectIdentity.

public QueryResult query (String dqlStatement)

Query

Parameters
dqlStatement A DQL query.
Returns
  • the QueryResult.

public void setConfig (Config config)

Parameters
config

public Acl updateAcl (String aclName, String aclDescription, List<AclEntry> aclEntries, AclVisibility aclVisibility, AclType aclType)

Update Acl

Parameters
aclName The name of the acl.
aclDescription The description of the acl.
aclEntries The entries of the acl.
aclVisibility The visibility of the acl.
aclType The type of the acl.
Returns
  • the Acl.

public ObjectIdentity updateDocument (ObjectIdentity objectIdentity, String newContentFilePath, ContentTransferMode transferMode, Map<String, String> newProperties, ObjectIdentity oldParentFolder, ObjectIdentity newParentFolder)

Update Document

Parameters
objectIdentity The ObjectIdentity of the object to update.
newContentFilePath The path to file with the new content.
transferMode The transfer mode.
newProperties A map with the new properties.
oldParentFolder The old parent folder ObjectIdentity.
newParentFolder The new parent folder ObjectIdentity.
Returns
  • the ObjectIdentity.
Throws
IOException .
SerializableException .

public ObjectIdentity updateFolder (ObjectIdentity objectIdentity, Map<String, String> newProperties, ObjectIdentity oldParentFolder, ObjectIdentity newParentFolder)

Update Folder

Parameters
objectIdentity The ObjectIdentity of the object to update.
newProperties A map with the new properties.
oldParentFolder The old parent folder ObjectIdentity.
newParentFolder The new parent folder ObjectIdentity.
Returns
  • the ObjectIdentity.
Throws
IOException .
SerializableException .