fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/attachment/AttachmentClient.java
public List<Attachment> getAttachmentsByForm(
            Form formParam,
            boolean includeAttachmentDataParam)
    {
        if(formParam != null && this.serviceTicket != null)
        {
            formParam.setServiceTicket(this.serviceTicket);
        }

        AttachmentListing returnedListing =
                new AttachmentListing(postJson(
                        formParam, WS.Path.Attachment.Version1.getAllByFormContainer(
                                includeAttachmentDataParam,false)));

        return (returnedListing == null) ? null :
                returnedListing.getListing();
    }
public List<Attachment> getAttachmentsByForm(
            Form formParam,
            boolean includeAttachmentDataParam)
    {
        if(formParam != null && this.serviceTicket != null)
        {
            formParam.setServiceTicket(this.serviceTicket);
        }

        AttachmentListing returnedListing =
                new AttachmentListing(postJson(
                        formParam, WS.Path.Attachment.Version1.getAllByFormContainer(
                                includeAttachmentDataParam,false)));

        return (returnedListing == null) ? null :
                returnedListing.getListing();
    }
Retrieves all the Attachments associated with Form {@code formParam}.

@param formParam The Form to use for lookup.
@param includeAttachmentDataParam Include the attachment data (Base-64).

@return The Attachments associated with {@code formParam}.