Class ImportableFieldsBrowser

    • 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 to getObjectTypes()
        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