Class Selector

    • Field Detail

      • PROPERTY_ID

        public static final String PROPERTY_ID
        Property id stored in column Obuisel_Selector_ID in table OBUISEL_Selector
        Help: The unique identifying key for the selector.
        See Also:
        Constant Field Values
      • PROPERTY_MODULE

        public static final String PROPERTY_MODULE
        Property module stored in column AD_Module_ID in table OBUISEL_Selector
        Help: Indicates the module the element forms part of.
        See Also:
        Constant Field Values
      • PROPERTY_NAME

        public static final String PROPERTY_NAME
        Property name stored in column Name in table OBUISEL_Selector
        See Also:
        Constant Field Values
      • PROPERTY_DESCRIPTION

        public static final String PROPERTY_DESCRIPTION
        Property description stored in column Description in table OBUISEL_Selector
        Help: A description is limited to 255 characters.
        See Also:
        Constant Field Values
      • PROPERTY_HELPCOMMENT

        public static final String PROPERTY_HELPCOMMENT
        Property helpComment stored in column Help in table OBUISEL_Selector
        Help: The Help field contains a hint, comment or help about the use of this item.
        See Also:
        Constant Field Values
      • PROPERTY_REFERENCE

        public static final String PROPERTY_REFERENCE
        Property reference stored in column AD_Reference_ID in table OBUISEL_Selector
        Help: The Reference indicates the type of reference field
        See Also:
        Constant Field Values
      • PROPERTY_TABLE

        public static final String PROPERTY_TABLE
        Property table stored in column AD_Table_ID in table OBUISEL_Selector
        Help: The Table indicates the table in which a field or fields reside.
        See Also:
        Constant Field Values
      • PROPERTY_COLUMN

        public static final String PROPERTY_COLUMN
        Property column stored in column AD_Column_ID in table OBUISEL_Selector
        Help: Link to the database column of the table
        See Also:
        Constant Field Values
      • PROPERTY_HQLWHERECLAUSE

        public static final String PROPERTY_HQLWHERECLAUSE
        Property hQLWhereClause stored in column Whereclause in table OBUISEL_Selector
        Help: The HQL where clause is added to the query to retrieve the data which is returned by the datasource. When refering to properties of the entity shown in the selector then use the prefix e. For example if the selector shows Products then refering to product category works like this: e.productCategory.name='Ceramics'.
        See Also:
        Constant Field Values
      • PROPERTY_FILTEREXPRESSION

        public static final String PROPERTY_FILTEREXPRESSION
        Property filterExpression stored in column Filter_Expression in table OBUISEL_Selector
        Help: Defines a JavaScript expression evaluated on the server that returns a HQL where clause string and will be appended in the where clause. HQL where clause is static defined where clause. The filter expression can use JavaScript to access the Openbravo API evaluate on the fly and return a HQL dynamically. Note: This expression expression must always return a string value, e.g. "e.customer = true"
        See Also:
        Constant Field Values
      • PROPERTY_OBSERDSDATASOURCE

        public static final String PROPERTY_OBSERDSDATASOURCE
        Property obserdsDatasource stored in column Obserds_Datasource_ID in table OBUISEL_Selector
        Help: The datasource provides data from the database or from in-memory data.
        See Also:
        Constant Field Values
      • PROPERTY_OBCLKERTEMPLATE

        public static final String PROPERTY_OBCLKERTEMPLATE
        Property obclkerTemplate stored in column Obclker_Template_ID in table OBUISEL_Selector
        Help: Defines the template which is used to generate the (javascript) code to render the component.
        See Also:
        Constant Field Values
      • PROPERTY_CREATIONDATE

        public static final String PROPERTY_CREATIONDATE
        Property creationDate stored in column Created in table OBUISEL_Selector
        See Also:
        Traceable, Constant Field Values
      • PROPERTY_CREATEDBY

        public static final String PROPERTY_CREATEDBY
        Property createdBy stored in column Createdby in table OBUISEL_Selector
        See Also:
        Traceable, Constant Field Values
      • PROPERTY_UPDATEDBY

        public static final String PROPERTY_UPDATEDBY
        Property updatedBy stored in column Updatedby in table OBUISEL_Selector
        See Also:
        Traceable, Constant Field Values
      • PROPERTY_VALUEFIELD

        public static final String PROPERTY_VALUEFIELD
        Property valuefield stored in column Valuefield_ID in table OBUISEL_Selector
        Help: The value of this field will be set in the foreign key column. Normally this field does not need to be set. If not set then the id of the referenced entity is used.
        See Also:
        Constant Field Values
      • PROPERTY_DISPLAYFIELD

        public static final String PROPERTY_DISPLAYFIELD
        Property displayfield stored in column Displayfield_ID in table OBUISEL_Selector
        Help: The value of this field will be displayed in the selector text input box.
        See Also:
        Constant Field Values
      • PROPERTY_SUGGESTIONTEXTMATCHSTYLE

        public static final String PROPERTY_SUGGESTIONTEXTMATCHSTYLE
        Property suggestiontextmatchstyle stored in column Suggestiontextmatchstyle in table OBUISEL_Selector
        Help: Defines the text matching logic used in the suggestion box.
        See Also:
        Constant Field Values
      • PROPERTY_POPUPTEXTMATCHSTYLE

        public static final String PROPERTY_POPUPTEXTMATCHSTYLE
        Property popuptextmatchstyle stored in column Popuptextmatchstyle in table OBUISEL_Selector
        Help: Defines the text matching logic used in the filters in the popup grid.
        See Also:
        Constant Field Values
      • PROPERTY_HQL

        public static final String PROPERTY_HQL
        Property hQL stored in column HQL in table OBUISEL_Selector
        Help: HQL Query code to populate selector's grid. Retrieved columns must have an alias defined, this alias is used to identify the returned value with a selector field. It is mandatory to set the "@additional_filters@" String on the main where clause. It is forbidden to include an Order by clause in the HQL, the order is defined on the Selector fields.
        See Also:
        Constant Field Values
      • PROPERTY_ENTITYALIAS

        public static final String PROPERTY_ENTITYALIAS
        Property entityAlias stored in column Entity_Alias in table OBUISEL_Selector
        Help: In case that the the selector's table has an alias in the HQL it is mandatory to set it on this field. This alias is used to add some mandatory filters on the Where clause replacing the @additional_filters@ string. Some examples of added filters are: client, organization and active flag.
        See Also:
        Constant Field Values
      • PROPERTY_CUSTOMQUERY

        public static final String PROPERTY_CUSTOMQUERY
        Property customQuery stored in column Custom_Query in table OBUISEL_Selector
        Help: Indicates that a custom query is used to fill out the selector's grid.
        See Also:
        Constant Field Values
      • PROPERTY_PROCESSDEFINTION

        public static final String PROPERTY_PROCESSDEFINTION
        Property processDefintion stored in column Obuiapp_Process_ID in table OBUISEL_Selector
        Help: This is the 'Process Definition' that will be opened once the 'Create New' button be pressed in a selector. This process should be in charge of the record creation.
        See Also:
        Constant Field Values
      • PROPERTY_OBUISELSELECTORFIELDLIST

        public static final String PROPERTY_OBUISELSELECTORFIELDLIST
        Property oBUISELSelectorFieldList stored in table OBUISEL_Selector
        See Also:
        Constant Field Values
      • PROPERTY_OBUISELSELECTORTRLLIST

        public static final String PROPERTY_OBUISELSELECTORTRLLIST
        Property oBUISELSelectorTrlList stored in table OBUISEL_Selector
        See Also:
        Constant Field Values
    • Constructor Detail

      • Selector

        public Selector()