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();
    }
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}.
Retrieves all the Attachments associated with Form { @code formParam } .