public FormFieldListing getFieldsByFormNameAndLoggedInUser(
            String formNameParam,
            boolean editOnlyFieldsParam)
    {
        Form form = new Form();
        form.setFormType(formNameParam);

        if(this.serviceTicket != null)
        {
            form.setServiceTicket(this.serviceTicket);
        }

        return new FormFieldListing(this.postJson(
                form, WS.Path.FormField.Version1.getByFormDefinitionAndLoggedInUser(
                        editOnlyFieldsParam)));
    }
public FormFieldListing getFieldsByFormNameAndLoggedInUser(
            String formNameParam,
            boolean editOnlyFieldsParam)
    {
        Form form = new Form();
        form.setFormType(formNameParam);

        if(this.serviceTicket != null)
        {
            form.setServiceTicket(this.serviceTicket);
        }

        return new FormFieldListing(this.postJson(
                form, WS.Path.FormField.Version1.getByFormDefinitionAndLoggedInUser(
                        editOnlyFieldsParam)));
    }
public FormFieldListing getFieldsByFormNameAndLoggedInUser ( String formNameParam , boolean editOnlyFieldsParam ) { Form form = new Form ( ) ; form . setFormType ( formNameParam ) ; if ( this . serviceTicket != null ) { form . setServiceTicket ( this . serviceTicket ) ; } return new FormFieldListing ( this . postJson ( form , WS . Path . FormField . Version1 . getByFormDefinitionAndLoggedInUser ( editOnlyFieldsParam ) ) ) ; }
Retrieve the Form Fields via Form Definition name.

@param formNameParam The form definition name.
@param editOnlyFieldsParam Only return the fields that are editable.

@return Form Fields for {@code formNameParam}
Retrieve the Form Fields via Form Definition name .