Class AttachmentFacadeClient

  • 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.

    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AttachmentFacadeClient

        public AttachmentFacadeClient()
        Creates an instance of the client to communicate with the attachment facade.
      • AttachmentFacadeClient

        public AttachmentFacadeClient(BusinessContextType businessContext,
        Creates an instance of the client to communicate with the attachment facade.
        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.
    • Method Detail

      • processAttachment

        public AcknowledgeAttachmentType processAttachment(java.lang.String action,
                                                           AttachmentType attachment,
                                                           java.lang.String expression)
                                                    throws AttachmentException
        Processes a managed directory.
        action - The action being executed.
        attachment - Contains data related to the attachment being processed.
        expression - The expression
        The response AcknowledgeAttachment
        AttachmentException - if an error occurs
      • createProcessAttachment

        public ProcessAttachmentType createProcessAttachment()
        This method returns a new instance of the attachment object. This object will be associated with a container object to convert the object into an XML document.
        A new instance of the attachment object that is associated with a container.