public abstract class AbstractContentFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that can be used to communicate with the Content facade. This class represents a library of Content operations that can be performed. The purpose of this class is to hide the details about constructing the business object document that represents the service request into simple Java methods. The complexity of building the request document and making the request is all managed by this client class of the Content facade.
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 |
---|
AbstractContentFacadeClient()
Creates an instance of the client to communicate with the Content facade.
|
AbstractContentFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the Content facade.
|
Modifier and Type | Method and Description |
---|---|
RespondAttachmentType |
changeAttachment(ChangeAttachmentType aChangeAttachment)
This method will communicate with the Attachment facade and send the specified
ChangeAttachment request.
|
com.ibm.commerce.content.facade.datatypes.RespondContentVersionType |
changeContentVersion(com.ibm.commerce.content.facade.datatypes.ChangeContentVersionType aChangeContentVersion)
This method will communicate with the ContentVersion facade and send the specified
ChangeContentVersion request.
|
RespondFileUploadJobType |
changeFileUploadJob(ChangeFileUploadJobType aChangeFileUploadJob)
This method will communicate with the FileUploadJob facade and send the specified
ChangeFileUploadJob request.
|
RespondManagedDirectoryType |
changeManagedDirectory(ChangeManagedDirectoryType aChangeManagedDirectory)
This method will communicate with the ManagedDirectory facade and send the specified
ChangeManagedDirectory request.
|
RespondManagedFileType |
changeManagedFile(ChangeManagedFileType aChangeManagedFile)
This method will communicate with the ManagedFile facade and send the specified
ChangeManagedFile request.
|
com.ibm.commerce.content.facade.datatypes.RespondTaskType |
changeTask(com.ibm.commerce.content.facade.datatypes.ChangeTaskType aChangeTask)
This method will communicate with the Task facade and send the specified
ChangeTask request.
|
com.ibm.commerce.content.facade.datatypes.RespondTaskGroupType |
changeTaskGroup(com.ibm.commerce.content.facade.datatypes.ChangeTaskGroupType aChangeTaskGroup)
This method will communicate with the TaskGroup facade and send the specified
ChangeTaskGroup request.
|
com.ibm.commerce.content.facade.datatypes.RespondWorkspaceType |
changeWorkspace(com.ibm.commerce.content.facade.datatypes.ChangeWorkspaceType aChangeWorkspace)
This method will communicate with the Workspace facade and send the specified
ChangeWorkspace request.
|
ShowAttachmentType |
getAttachment(GetAttachmentType aGetAttachment)
This method will communicate with the Content facade and send the specified
GetAttachment.
|
ShowAttachmentDataAreaType |
getAttachment(GetType getVerb)
This method returns the
ShowAttachmentDataArea when issuing the specified
get expression to fetch Attachments. |
java.util.List |
getAttachment(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Attachments based on the expression specified.
|
com.ibm.commerce.content.facade.datatypes.ShowContentVersionType |
getContentVersion(com.ibm.commerce.content.facade.datatypes.GetContentVersionType aGetContentVersion)
This method will communicate with the Content facade and send the specified
GetContentVersion.
|
com.ibm.commerce.content.facade.datatypes.ShowContentVersionDataAreaType |
getContentVersion(GetType getVerb)
This method returns the
ShowContentVersionDataArea when issuing the specified
get expression to fetch ContentVersions. |
java.util.List |
getContentVersion(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of ContentVersions based on the expression specified.
|
com.ibm.commerce.content.facade.datatypes.ShowExternalContentType |
getExternalContent(com.ibm.commerce.content.facade.datatypes.GetExternalContentType aGetExternalContent)
This method will communicate with the Content facade and send the specified
GetExternalContent.
|
com.ibm.commerce.content.facade.datatypes.ShowExternalContentDataAreaType |
getExternalContent(GetType getVerb)
This method returns the
ShowExternalContentDataArea when issuing the specified
get expression to fetch ExternalContents. |
java.util.List |
getExternalContent(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of ExternalContents based on the expression specified.
|
ShowFileUploadJobType |
getFileUploadJob(GetFileUploadJobType aGetFileUploadJob)
This method will communicate with the Content facade and send the specified
GetFileUploadJob.
|
ShowFileUploadJobDataAreaType |
getFileUploadJob(GetType getVerb)
This method returns the
ShowFileUploadJobDataArea when issuing the specified
get expression to fetch FileUploadJobs. |
java.util.List |
getFileUploadJob(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of FileUploadJobs based on the expression specified.
|
ShowManagedDirectoryType |
getManagedDirectory(GetManagedDirectoryType aGetManagedDirectory)
This method will communicate with the Content facade and send the specified
GetManagedDirectory.
|
ShowManagedDirectoryDataAreaType |
getManagedDirectory(GetType getVerb)
This method returns the
ShowManagedDirectoryDataArea when issuing the specified
get expression to fetch ManagedDirectorys. |
java.util.List |
getManagedDirectory(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of ManagedDirectorys based on the expression specified.
|
ShowManagedFileType |
getManagedFile(GetManagedFileType aGetManagedFile)
This method will communicate with the Content facade and send the specified
GetManagedFile.
|
ShowManagedFileDataAreaType |
getManagedFile(GetType getVerb)
This method returns the
ShowManagedFileDataArea when issuing the specified
get expression to fetch ManagedFiles. |
java.util.List |
getManagedFile(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of ManagedFiles based on the expression specified.
|
com.ibm.commerce.content.facade.datatypes.ShowTaskType |
getTask(com.ibm.commerce.content.facade.datatypes.GetTaskType aGetTask)
This method will communicate with the Content facade and send the specified
GetTask.
|
com.ibm.commerce.content.facade.datatypes.ShowTaskDataAreaType |
getTask(GetType getVerb)
This method returns the
ShowTaskDataArea when issuing the specified
get expression to fetch Tasks. |
java.util.List |
getTask(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Tasks based on the expression specified.
|
com.ibm.commerce.content.facade.datatypes.ShowTaskGroupType |
getTaskGroup(com.ibm.commerce.content.facade.datatypes.GetTaskGroupType aGetTaskGroup)
This method will communicate with the Content facade and send the specified
GetTaskGroup.
|
com.ibm.commerce.content.facade.datatypes.ShowTaskGroupDataAreaType |
getTaskGroup(GetType getVerb)
This method returns the
ShowTaskGroupDataArea when issuing the specified
get expression to fetch TaskGroups. |
java.util.List |
getTaskGroup(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of TaskGroups based on the expression specified.
|
com.ibm.commerce.content.facade.datatypes.ShowWorkspaceDataAreaType |
getWorkspace(GetType getVerb)
This method returns the
ShowWorkspaceDataArea when issuing the specified
get expression to fetch Workspaces. |
com.ibm.commerce.content.facade.datatypes.ShowWorkspaceType |
getWorkspace(com.ibm.commerce.content.facade.datatypes.GetWorkspaceType aGetWorkspace)
This method will communicate with the Content facade and send the specified
GetWorkspace.
|
java.util.List |
getWorkspace(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Workspaces based on the expression specified.
|
AcknowledgeAttachmentType |
processAttachment(ProcessAttachmentType aProcessAttachment)
This method will communicate with the Content facade and send the specified
ProcessAttachment request.
|
com.ibm.commerce.content.facade.datatypes.AcknowledgeContentVersionType |
processContentVersion(com.ibm.commerce.content.facade.datatypes.ProcessContentVersionType aProcessContentVersion)
This method will communicate with the Content facade and send the specified
ProcessContentVersion request.
|
AcknowledgeFileUploadJobType |
processFileUploadJob(ProcessFileUploadJobType aProcessFileUploadJob)
This method will communicate with the Content facade and send the specified
ProcessFileUploadJob request.
|
AcknowledgeManagedDirectoryType |
processManagedDirectory(ProcessManagedDirectoryType aProcessManagedDirectory)
This method will communicate with the Content facade and send the specified
ProcessManagedDirectory request.
|
AcknowledgeManagedFileType |
processManagedFile(ProcessManagedFileType aProcessManagedFile)
This method will communicate with the Content facade and send the specified
ProcessManagedFile request.
|
com.ibm.commerce.content.facade.datatypes.AcknowledgeTaskType |
processTask(com.ibm.commerce.content.facade.datatypes.ProcessTaskType aProcessTask)
This method will communicate with the Content facade and send the specified
ProcessTask request.
|
com.ibm.commerce.content.facade.datatypes.AcknowledgeTaskGroupType |
processTaskGroup(com.ibm.commerce.content.facade.datatypes.ProcessTaskGroupType aProcessTaskGroup)
This method will communicate with the Content facade and send the specified
ProcessTaskGroup request.
|
com.ibm.commerce.content.facade.datatypes.AcknowledgeWorkspaceType |
processWorkspace(com.ibm.commerce.content.facade.datatypes.ProcessWorkspaceType aProcessWorkspace)
This method will communicate with the Content facade and send the specified
ProcessWorkspace request.
|
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public static final java.lang.String COPYRIGHT
public AbstractContentFacadeClient()
public AbstractContentFacadeClient(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 ShowAttachmentType getAttachment(GetAttachmentType aGetAttachment)
aGetAttachment
- The GetAttachment request document.ShowAttachment
response document.public AcknowledgeAttachmentType processAttachment(ProcessAttachmentType aProcessAttachment)
aProcessAttachment
- The ProcessAttachment request document.public RespondAttachmentType changeAttachment(ChangeAttachmentType aChangeAttachment)
aChangeAttachment
- The ChangeAttachment request document.public ShowAttachmentDataAreaType getAttachment(GetType getVerb) throws AttachmentException
ShowAttachmentDataArea
when issuing the specified
get expression to fetch Attachments. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowAttachmentDataArea
response when issuing the get expression.AttachmentException
- The AttachmentException
is thrown if error
information is found in the specified ShowAttachmentDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getAttachment(java.lang.String expressionLanguage, java.lang.String expression) throws AttachmentException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of Attachments.AttachmentException
- The AttachmentException
is thrown if error
information is found in the specified ShowAttachmentDataArea
.
This will represent that there was a problem when performing the operation.public ShowManagedFileType getManagedFile(GetManagedFileType aGetManagedFile)
aGetManagedFile
- The GetManagedFile request document.ShowManagedFile
response document.public AcknowledgeManagedFileType processManagedFile(ProcessManagedFileType aProcessManagedFile)
aProcessManagedFile
- The ProcessManagedFile request document.public RespondManagedFileType changeManagedFile(ChangeManagedFileType aChangeManagedFile)
aChangeManagedFile
- The ChangeManagedFile request document.public ShowManagedFileDataAreaType getManagedFile(GetType getVerb) throws ManagedFileException
ShowManagedFileDataArea
when issuing the specified
get expression to fetch ManagedFiles. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowManagedFileDataArea
response when issuing the get expression.ManagedFileException
- The ManagedFileException
is thrown if error
information is found in the specified ShowManagedFileDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getManagedFile(java.lang.String expressionLanguage, java.lang.String expression) throws ManagedFileException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of ManagedFiles.ManagedFileException
- The ManagedFileException
is thrown if error
information is found in the specified ShowManagedFileDataArea
.
This will represent that there was a problem when performing the operation.public ShowManagedDirectoryType getManagedDirectory(GetManagedDirectoryType aGetManagedDirectory)
aGetManagedDirectory
- The GetManagedDirectory request document.ShowManagedDirectory
response document.public AcknowledgeManagedDirectoryType processManagedDirectory(ProcessManagedDirectoryType aProcessManagedDirectory)
aProcessManagedDirectory
- The ProcessManagedDirectory request document.public RespondManagedDirectoryType changeManagedDirectory(ChangeManagedDirectoryType aChangeManagedDirectory)
aChangeManagedDirectory
- The ChangeManagedDirectory request document.public ShowManagedDirectoryDataAreaType getManagedDirectory(GetType getVerb) throws ManagedDirectoryException
ShowManagedDirectoryDataArea
when issuing the specified
get expression to fetch ManagedDirectorys. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowManagedDirectoryDataArea
response when issuing the get expression.ManagedDirectoryException
- The ManagedDirectoryException
is thrown if error
information is found in the specified ShowManagedDirectoryDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getManagedDirectory(java.lang.String expressionLanguage, java.lang.String expression) throws ManagedDirectoryException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of ManagedDirectorys.ManagedDirectoryException
- The ManagedDirectoryException
is thrown if error
information is found in the specified ShowManagedDirectoryDataArea
.
This will represent that there was a problem when performing the operation.public ShowFileUploadJobType getFileUploadJob(GetFileUploadJobType aGetFileUploadJob)
aGetFileUploadJob
- The GetFileUploadJob request document.ShowFileUploadJob
response document.public AcknowledgeFileUploadJobType processFileUploadJob(ProcessFileUploadJobType aProcessFileUploadJob)
aProcessFileUploadJob
- The ProcessFileUploadJob request document.public RespondFileUploadJobType changeFileUploadJob(ChangeFileUploadJobType aChangeFileUploadJob)
aChangeFileUploadJob
- The ChangeFileUploadJob request document.public ShowFileUploadJobDataAreaType getFileUploadJob(GetType getVerb) throws com.ibm.commerce.content.facade.client.FileUploadJobException
ShowFileUploadJobDataArea
when issuing the specified
get expression to fetch FileUploadJobs. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowFileUploadJobDataArea
response when issuing the get expression.FileUploadJobException
- The FileUploadJobException
is thrown if error
information is found in the specified ShowFileUploadJobDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getFileUploadJob(java.lang.String expressionLanguage, java.lang.String expression) throws com.ibm.commerce.content.facade.client.FileUploadJobException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of FileUploadJobs.FileUploadJobException
- The FileUploadJobException
is thrown if error
information is found in the specified ShowFileUploadJobDataArea
.
This will represent that there was a problem when performing the operation.public com.ibm.commerce.content.facade.datatypes.ShowTaskType getTask(com.ibm.commerce.content.facade.datatypes.GetTaskType aGetTask)
aGetTask
- The GetTask request document.ShowTask
response document.public com.ibm.commerce.content.facade.datatypes.AcknowledgeTaskType processTask(com.ibm.commerce.content.facade.datatypes.ProcessTaskType aProcessTask)
aProcessTask
- The ProcessTask request document.public com.ibm.commerce.content.facade.datatypes.RespondTaskType changeTask(com.ibm.commerce.content.facade.datatypes.ChangeTaskType aChangeTask)
aChangeTask
- The ChangeTask request document.public com.ibm.commerce.content.facade.datatypes.ShowTaskDataAreaType getTask(GetType getVerb) throws com.ibm.commerce.content.facade.client.TaskException
ShowTaskDataArea
when issuing the specified
get expression to fetch Tasks. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowTaskDataArea
response when issuing the get expression.TaskException
- The TaskException
is thrown if error
information is found in the specified ShowTaskDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getTask(java.lang.String expressionLanguage, java.lang.String expression) throws com.ibm.commerce.content.facade.client.TaskException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of Tasks.TaskException
- The TaskException
is thrown if error
information is found in the specified ShowTaskDataArea
.
This will represent that there was a problem when performing the operation.public com.ibm.commerce.content.facade.datatypes.ShowTaskGroupType getTaskGroup(com.ibm.commerce.content.facade.datatypes.GetTaskGroupType aGetTaskGroup)
aGetTaskGroup
- The GetTaskGroup request document.ShowTaskGroup
response document.public com.ibm.commerce.content.facade.datatypes.AcknowledgeTaskGroupType processTaskGroup(com.ibm.commerce.content.facade.datatypes.ProcessTaskGroupType aProcessTaskGroup)
aProcessTaskGroup
- The ProcessTaskGroup request document.public com.ibm.commerce.content.facade.datatypes.RespondTaskGroupType changeTaskGroup(com.ibm.commerce.content.facade.datatypes.ChangeTaskGroupType aChangeTaskGroup)
aChangeTaskGroup
- The ChangeTaskGroup request document.public com.ibm.commerce.content.facade.datatypes.ShowExternalContentType getExternalContent(com.ibm.commerce.content.facade.datatypes.GetExternalContentType aGetExternalContent)
aGetExternalContent
- The GetExternalContent request document.ShowExternalContent
response document.public com.ibm.commerce.content.facade.datatypes.ShowExternalContentDataAreaType getExternalContent(GetType getVerb) throws com.ibm.commerce.content.facade.client.ExternalContentException
ShowExternalContentDataArea
when issuing the specified
get expression to fetch ExternalContents. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowExternalContentDataArea
response when issuing the get expression.ExternalContentException
- The ExternalContentException
is thrown if error
information is found in the specified ShowExternalContentDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getExternalContent(java.lang.String expressionLanguage, java.lang.String expression) throws com.ibm.commerce.content.facade.client.ExternalContentException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of ExternalContents.ExternalContentException
- The ExternalContentException
is thrown if error
information is found in the specified ShowExternalContentDataArea
.
This will represent that there was a problem when performing the operation.public com.ibm.commerce.content.facade.datatypes.ShowTaskGroupDataAreaType getTaskGroup(GetType getVerb) throws com.ibm.commerce.content.facade.client.TaskGroupException
ShowTaskGroupDataArea
when issuing the specified
get expression to fetch TaskGroups. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowTaskGroupDataArea
response when issuing the get expression.TaskGroupException
- The TaskGroupException
is thrown if error
information is found in the specified ShowTaskGroupDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getTaskGroup(java.lang.String expressionLanguage, java.lang.String expression) throws com.ibm.commerce.content.facade.client.TaskGroupException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of TaskGroups.TaskGroupException
- The TaskGroupException
is thrown if error
information is found in the specified ShowTaskGroupDataArea
.
This will represent that there was a problem when performing the operation.public com.ibm.commerce.content.facade.datatypes.ShowContentVersionType getContentVersion(com.ibm.commerce.content.facade.datatypes.GetContentVersionType aGetContentVersion)
aGetContentVersion
- The GetContentVersion request document.ShowContentVersion
response document.public com.ibm.commerce.content.facade.datatypes.AcknowledgeContentVersionType processContentVersion(com.ibm.commerce.content.facade.datatypes.ProcessContentVersionType aProcessContentVersion)
aProcessContentVersion
- The ProcessContentVersion request document.public com.ibm.commerce.content.facade.datatypes.RespondContentVersionType changeContentVersion(com.ibm.commerce.content.facade.datatypes.ChangeContentVersionType aChangeContentVersion)
aChangeContentVersion
- The ChangeContentVersion request document.public com.ibm.commerce.content.facade.datatypes.ShowContentVersionDataAreaType getContentVersion(GetType getVerb) throws com.ibm.commerce.content.facade.client.ContentVersionException
ShowContentVersionDataArea
when issuing the specified
get expression to fetch ContentVersions. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowContentVersionDataArea
response when issuing the get expression.ContentVersionException
- The ContentVersionException
is thrown if error
information is found in the specified ShowContentVersionDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getContentVersion(java.lang.String expressionLanguage, java.lang.String expression) throws com.ibm.commerce.content.facade.client.ContentVersionException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of ContentVersions.ContentVersionException
- The ContentVersionException
is thrown if error
information is found in the specified ShowContentVersionDataArea
.
This will represent that there was a problem when performing the operation.public com.ibm.commerce.content.facade.datatypes.ShowWorkspaceType getWorkspace(com.ibm.commerce.content.facade.datatypes.GetWorkspaceType aGetWorkspace)
aGetWorkspace
- The GetWorkspace request document.ShowWorkspace
response document.public com.ibm.commerce.content.facade.datatypes.AcknowledgeWorkspaceType processWorkspace(com.ibm.commerce.content.facade.datatypes.ProcessWorkspaceType aProcessWorkspace)
aProcessWorkspace
- The ProcessWorkspace request document.public com.ibm.commerce.content.facade.datatypes.RespondWorkspaceType changeWorkspace(com.ibm.commerce.content.facade.datatypes.ChangeWorkspaceType aChangeWorkspace)
aChangeWorkspace
- The ChangeWorkspace request document.public com.ibm.commerce.content.facade.datatypes.ShowWorkspaceDataAreaType getWorkspace(GetType getVerb) throws com.ibm.commerce.content.facade.client.WorkspaceException
ShowWorkspaceDataArea
when issuing the specified
get expression to fetch Workspaces. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowWorkspaceDataArea
response when issuing the get expression.WorkspaceException
- The WorkspaceException
is thrown if error
information is found in the specified ShowWorkspaceDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getWorkspace(java.lang.String expressionLanguage, java.lang.String expression) throws com.ibm.commerce.content.facade.client.WorkspaceException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of Workspaces.WorkspaceException
- The WorkspaceException
is thrown if error
information is found in the specified ShowWorkspaceDataArea
.
This will represent that there was a problem when performing the operation.