public class AttachmentFacadeClient extends AbstractContentFacadeClient
This class provides common methods that this and other utility class to the attachment facade can use. This class also provides a set of convenient Java API to represent particular Content operations. This set of Java API also includes APIs for Web based requests to transform the name value pair request into the appropriate request documents.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
CHANGE_VERB_ACTION_ADD, CHANGE_VERB_ACTION_CHANGE, CHANGE_VERB_ACTION_CREATE, CHANGE_VERB_ACTION_DELETE, CHANGE_VERB_ACTION_UPDATE
Constructor and Description |
---|
AttachmentFacadeClient()
Creates an instance of the client to communicate with the attachment facade.
|
AttachmentFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the attachment facade.
|
Modifier and Type | Method and Description |
---|---|
ProcessAttachmentType |
createProcessAttachment()
This method returns a new instance of the attachment object.
|
AcknowledgeAttachmentType |
processAttachment(java.lang.String action,
AttachmentType attachment,
java.lang.String expression)
Processes a managed directory.
|
changeAttachment, changeContentVersion, changeFileUploadJob, changeManagedDirectory, changeManagedFile, changeTask, changeTaskGroup, changeWorkspace, getAttachment, getAttachment, getAttachment, getContentVersion, getContentVersion, getContentVersion, getExternalContent, getExternalContent, getExternalContent, getFileUploadJob, getFileUploadJob, getFileUploadJob, getManagedDirectory, getManagedDirectory, getManagedDirectory, getManagedFile, getManagedFile, getManagedFile, getTask, getTask, getTask, getTaskGroup, getTaskGroup, getTaskGroup, getWorkspace, getWorkspace, getWorkspace, processAttachment, processContentVersion, processFileUploadJob, processManagedDirectory, processManagedFile, processTask, processTaskGroup, processWorkspace
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public static final java.lang.String COPYRIGHT
public AttachmentFacadeClient()
public AttachmentFacadeClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler)
businessContext
- The default business context to associate with the messages when making requests.callbackHandler
- Used for authentication purposes so the controller can give the authentication information to the
transport when required.public AcknowledgeAttachmentType processAttachment(java.lang.String action, AttachmentType attachment, java.lang.String expression) throws AttachmentException
action
- The action being executed.attachment
- Contains data related to the attachment being processed.expression
- The expressionAttachmentException
- if an error occurspublic ProcessAttachmentType createProcessAttachment()