Class ImportableFieldsBrowser
- java.lang.Object
-
- com.boomi.connector.util.BaseBrowser
-
- com.boomi.connector.sample.browse.ImportableFieldsBrowser
-
- All Implemented Interfaces:
Browser
public class ImportableFieldsBrowser extends BaseBrowser
Simple Browser Implementation which creates multipleBrowseField
forObjectDefinitions
. This Browse Implementation is created forImportableFieldsConnector
-
-
Constructor Summary
Constructors Constructor Description ImportableFieldsBrowser(BrowseContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BrowseField
createCustomPropertiesField()
Creates a Custom Properties field which stores Key Value Pair data for this component.BrowseField
createListField()
Creates a selectable list input for the operationBrowseField
createReplacementField()
Replaces the original string field "replacementField" defined in the descriptor with a type specific fieldBrowseField
createSimpleField()
Creates a simple field input for the Operation.ObjectDefinitions
getObjectDefinitions(String objectTypeId, Collection<ObjectDefinitionRole> roles)
Retrieves the Object Definition for the operation.ObjectTypes
getObjectTypes()
Creates a List of Object Types for User Selection-
Methods inherited from class com.boomi.connector.util.BaseBrowser
getConnection, getContext
-
-
-
-
Constructor Detail
-
ImportableFieldsBrowser
public ImportableFieldsBrowser(BrowseContext context)
-
-
Method Detail
-
getObjectTypes
public ObjectTypes getObjectTypes()
Creates a List of Object Types for User Selection- Returns:
- list of Object Types
-
getObjectDefinitions
public ObjectDefinitions getObjectDefinitions(String objectTypeId, Collection<ObjectDefinitionRole> roles)
Retrieves the Object Definition for the operation. Will also attach Operation Specific Fields onto the ObjectDefinition.- Parameters:
objectTypeId
- the id of the relevant object type chosen from the list returned from a previous call togetObjectTypes()
roles
- the roles corresponding to the profiles requested- Returns:
- ObjectDefintions for objectTypeId
-
createSimpleField
public BrowseField createSimpleField()
Creates a simple field input for the Operation.- Returns:
- BrowseField with id simpleField
-
createListField
public BrowseField createListField()
Creates a selectable list input for the operation- Returns:
- BrowseField with id listField
-
createReplacementField
public BrowseField createReplacementField()
Replaces the original string field "replacementField" defined in the descriptor with a type specific field- Returns:
- BrowseField with id replacementField
-
createCustomPropertiesField
public BrowseField createCustomPropertiesField()
Creates a Custom Properties field which stores Key Value Pair data for this component.- Returns:
- BrowseField with id customPropertiesField
-
-