Package com.boomi.connector.api
Class BrowseUtil
- java.lang.Object
-
- com.boomi.connector.api.BrowseUtil
-
@Deprecated public class BrowseUtil extends Object
Deprecated.useBrowseUtil. This utility class does not belong in the api package; an equivalent now lives in connector-sdk-util. This copy remains to avoid breaking existing connectors.Utility methods for browsing
-
-
Field Summary
Fields Modifier and Type Field Description static StringANNOTATIONSDeprecated.Constant indicating the name of the Annotations node (JSON) that Boomi annotation resides instatic StringBOOMI_ANNOTATION_DATAFORMATDeprecated.Constant indicating the name of the Data Format elementstatic StringBOOMI_ANNOTATION_DATATYPEDeprecated.Constant indicating the name of the dataType attributestatic StringBOOMI_ANNOTATION_FIELDDeprecated.Constant indicating the name of the Field elementstatic StringBOOMI_ANNOTATION_FIELD_FILTERABLEDeprecated.Constant indicating the name of the filterable attributestatic StringBOOMI_ANNOTATION_FIELD_NAMEDeprecated.Constant indicating the name of the name attributestatic StringBOOMI_ANNOTATION_FIELD_SELECTABLEDeprecated.Constant indicating the name of the selectable attributestatic StringBOOMI_ANNOTATION_FIELD_SELECTEDDeprecated.Constant indicating the name of the selected attributestatic StringBOOMI_ANNOTATION_FIELD_SORTABLEDeprecated.Constant indicating the name of the sortable attributestatic StringBOOMI_ANNOTATION_FIELD_TYPEDeprecated.Constant indicating the name of the type attributestatic StringBOOMI_ANNOTATION_FIELD_TYPE_NSDeprecated.Constant indicating the name of the type namespace attributestatic StringBOOMI_ANNOTATION_FIELDSPECDeprecated.Constant indicating the name of the Field Specification elementstatic StringBOOMI_ANNOTATION_FILTERDeprecated.Constant indicating the name of the Filter elementstatic StringBOOMI_ANNOTATION_FILTER_IGNOREDeprecated.Constant indicating the name of the ignore attributestatic StringBOOMI_ANNOTATION_FORMATDeprecated.Constant indicating the name of the format attributestatic StringBOOMI_ANNOTATION_IGNORE_FOR_FILTERSDeprecated.Constant indicating the name of the ignore filters attributestatic StringBOOMI_ANNOTATION_IGNORE_FOR_SELECTIONDeprecated.Constant indicating the name of the ignore filters attributestatic StringBOOMI_ANNOTATION_IGNORE_FOR_SORTDeprecated.Constant indicating the name of the ignore filters attributestatic StringBOOMI_ANNOTATION_JSON_DATAFORMATDeprecated.Constant indicating the name of the Data Format node (JSON)static StringBOOMI_ANNOTATION_JSON_FIELDSDeprecated.Constant indicating the name of the Fields node (JSON)static StringBOOMI_ANNOTATION_JSON_FIELDSPECDeprecated.Constant indicating the name of the Field Specification node (JSON)static StringBOOMI_ANNOTATION_NAMESPACEDeprecated.Constant indicating the namespace of the Filter annotationstatic StringBOOMI_FIELD_DELIMITERDeprecated.Constant indicating the delimiter in for field namesstatic Comparator<ObjectType>OBJECT_TYPE_COMPARATORDeprecated.A Comparator which can be used to sort ObjectType's into lexicographical order.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ElementbuildFilterElement(Document doc, boolean ignore)Deprecated.Constructs aFilterelementstatic ElementbuildFilterElement(Document doc, boolean ignore, Collection<String> extraFilterFields)Deprecated.Constructs aFilterelementstatic ElementgenerateFieldElement(Document doc, String name)Deprecated.Constructs aFieldelement
-
-
-
Field Detail
-
BOOMI_ANNOTATION_NAMESPACE
public static final String BOOMI_ANNOTATION_NAMESPACE
Deprecated.Constant indicating the namespace of the Filter annotation- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FILTER
public static final String BOOMI_ANNOTATION_FILTER
Deprecated.Constant indicating the name of the Filter element- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FIELDSPEC
public static final String BOOMI_ANNOTATION_FIELDSPEC
Deprecated.Constant indicating the name of the Field Specification element- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FILTER_IGNORE
public static final String BOOMI_ANNOTATION_FILTER_IGNORE
Deprecated.Constant indicating the name of the ignore attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_IGNORE_FOR_FILTERS
public static final String BOOMI_ANNOTATION_IGNORE_FOR_FILTERS
Deprecated.Constant indicating the name of the ignore filters attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_IGNORE_FOR_SORT
public static final String BOOMI_ANNOTATION_IGNORE_FOR_SORT
Deprecated.Constant indicating the name of the ignore filters attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_IGNORE_FOR_SELECTION
public static final String BOOMI_ANNOTATION_IGNORE_FOR_SELECTION
Deprecated.Constant indicating the name of the ignore filters attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FIELD
public static final String BOOMI_ANNOTATION_FIELD
Deprecated.Constant indicating the name of the Field element- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FIELD_NAME
public static final String BOOMI_ANNOTATION_FIELD_NAME
Deprecated.Constant indicating the name of the name attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FIELD_TYPE
public static final String BOOMI_ANNOTATION_FIELD_TYPE
Deprecated.Constant indicating the name of the type attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FIELD_TYPE_NS
public static final String BOOMI_ANNOTATION_FIELD_TYPE_NS
Deprecated.Constant indicating the name of the type namespace attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FIELD_FILTERABLE
public static final String BOOMI_ANNOTATION_FIELD_FILTERABLE
Deprecated.Constant indicating the name of the filterable attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FIELD_SORTABLE
public static final String BOOMI_ANNOTATION_FIELD_SORTABLE
Deprecated.Constant indicating the name of the sortable attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FIELD_SELECTABLE
public static final String BOOMI_ANNOTATION_FIELD_SELECTABLE
Deprecated.Constant indicating the name of the selectable attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FIELD_SELECTED
public static final String BOOMI_ANNOTATION_FIELD_SELECTED
Deprecated.Constant indicating the name of the selected attribute- See Also:
- Constant Field Values
-
ANNOTATIONS
public static final String ANNOTATIONS
Deprecated.Constant indicating the name of the Annotations node (JSON) that Boomi annotation resides in- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_JSON_FIELDSPEC
public static final String BOOMI_ANNOTATION_JSON_FIELDSPEC
Deprecated.Constant indicating the name of the Field Specification node (JSON)- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_DATAFORMAT
public static final String BOOMI_ANNOTATION_DATAFORMAT
Deprecated.Constant indicating the name of the Data Format element- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_JSON_DATAFORMAT
public static final String BOOMI_ANNOTATION_JSON_DATAFORMAT
Deprecated.Constant indicating the name of the Data Format node (JSON)- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_JSON_FIELDS
public static final String BOOMI_ANNOTATION_JSON_FIELDS
Deprecated.Constant indicating the name of the Fields node (JSON)- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_DATATYPE
public static final String BOOMI_ANNOTATION_DATATYPE
Deprecated.Constant indicating the name of the dataType attribute- See Also:
- Constant Field Values
-
BOOMI_ANNOTATION_FORMAT
public static final String BOOMI_ANNOTATION_FORMAT
Deprecated.Constant indicating the name of the format attribute- See Also:
- Constant Field Values
-
BOOMI_FIELD_DELIMITER
public static final String BOOMI_FIELD_DELIMITER
Deprecated.Constant indicating the delimiter in for field names- See Also:
- Constant Field Values
-
OBJECT_TYPE_COMPARATOR
public static final Comparator<ObjectType> OBJECT_TYPE_COMPARATOR
Deprecated.A Comparator which can be used to sort ObjectType's into lexicographical order. Uses the label for the ObjectType if defined, otherwise uses the id.Example usage:
ObjectTypes types = new ObjectTypes(); // ... populate types list ... Collections.sort(types.getTypes(), BrowseUtil.OBJECT_TYPE_COMPARATOR);
-
-
Method Detail
-
buildFilterElement
public static Element buildFilterElement(Document doc, boolean ignore)
Deprecated.Constructs aFilterelement- Parameters:
doc- theDocumentused to construct theElementignore- whether to ignore child elements or not
-
buildFilterElement
public static Element buildFilterElement(Document doc, boolean ignore, Collection<String> extraFilterFields)
Deprecated.Constructs aFilterelement- Parameters:
doc- theDocumentused to construct theElementignore- whether to ignore child elements or notextraFilterFields- aCollectionofStrings indicating additional filter field names that should be made available during browsing
-
-