Class SelectorField
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.userinterface.selector.SelectorField
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class SelectorField extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity OBUISEL_Selector_Field (stored in table OBUISEL_Selector_Field).
Help: Defines the columns which are shown in the suggestion box and in the popup grid.
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_ACTIVE
Property active stored in column Isactive in table OBUISEL_Selector_Fieldstatic String
PROPERTY_CENTRALMAINTENANCE
Property centralMaintenance stored in column Iscentrallymaintained in table OBUISEL_Selector_Field
Help: The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in 'System Element' table or 'Window' table.static String
PROPERTY_CLAUSELEFTPART
Property clauseLeftPart stored in column Clause_Left_Part in table OBUISEL_Selector_Field
Help: Left part of a clause to be used on the where or order by clauses of the HQL.static String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table OBUISEL_Selector_Fieldstatic String
PROPERTY_COLUMN
Property column stored in column AD_Column_ID in table OBUISEL_Selector_Field
Help: Link to the database column of the tablestatic String
PROPERTY_CREATEDBY
Property createdBy stored in column Createdby in table OBUISEL_Selector_Fieldstatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table OBUISEL_Selector_Fieldstatic String
PROPERTY_DEFAULTEXPRESSION
Property defaultExpression stored in column Default_Expression in table OBUISEL_Selector_Field
Help: Defines a JavaScript expression that will be evaluated in the server side and used as default value for the property. You can use any type of variable but it must match the property type, examples: true - the property associated is boolean "Hello" - the propery associated is string 5.3 - the property associated is numeric You can also access the Openbravo API through the OB object and do some more complex expressions, e.g. OB.getSession().getAttribute("SESSIONVAR"); This will retrieve the session variable SESSIONVAR and use it as default value for the selector fieldstatic String
PROPERTY_DESCRIPTION
Property description stored in column Description in table OBUISEL_Selector_Field
Help: A description is limited to 255 characters.static String
PROPERTY_DISPLAYCOLUMNALIAS
Property displayColumnAlias stored in column Display_Expression in table OBUISEL_Selector_Field
Help: Alias of the HQL query column to be shownstatic String
PROPERTY_FILTERABLE
Property filterable stored in column Filter in table OBUISEL_Selector_Field
Help: Make it possible to filter in the grid using this field.static String
PROPERTY_HELPCOMMENT
Property helpComment stored in column Help in table OBUISEL_Selector_Field
Help: The Help field contains a hint, comment or help about the use of this item.static String
PROPERTY_ID
Property id stored in column Obuisel_Selector_Field_ID in table OBUISEL_Selector_Field
Help: Unique identifying key for the selector field record.static String
PROPERTY_ISOUTFIELD
Property isoutfield stored in column Isoutfield in table OBUISEL_Selector_Fieldstatic String
PROPERTY_MODULE
Property module stored in column AD_Module_ID in table OBUISEL_Selector_Field
Help: Indicates the module the element forms part of.static String
PROPERTY_NAME
Property name stored in column Name in table OBUISEL_Selector_Fieldstatic String
PROPERTY_OBSERDSDATASOURCEFIELD
Property obserdsDatasourceField stored in column Obserds_Datasource_Field_ID in table OBUISEL_Selector_Field
Help: The datasource field is part of the datasource definition.static String
PROPERTY_OBUISELSELECTOR
Property obuiselSelector stored in column Obuisel_Selector_ID in table OBUISEL_Selector_Field
Help: The unique identifying key for the selector.static String
PROPERTY_OBUISELSELECTORFIELDTRLLIST
Property oBUISELSelectorFieldTrlList stored in table OBUISEL_Selector_Fieldstatic String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table OBUISEL_Selector_Fieldstatic String
PROPERTY_PROPERTY
Property property stored in column Property in table OBUISEL_Selector_Field
Help: Path/name of the property to show in the selectorstatic String
PROPERTY_REFERENCE
Property reference stored in column AD_Reference_ID in table OBUISEL_Selector_Field
Help: The Reference indicates the type of reference fieldstatic String
PROPERTY_SEARCHINSUGGESTIONBOX
Property searchinsuggestionbox stored in column Searchinsuggestionbox in table OBUISEL_Selector_Field
Help: Defines if the field is used to search when retrieving values in the suggestion box.static String
PROPERTY_SHOWINGRID
Property showingrid stored in column Showingrid in table OBUISEL_Selector_Field
Help: Defines if the field is shown in the popup grid.static String
PROPERTY_SHOWINPICKLIST
Property showInPicklist stored in column Showinpicklist in table OBUISEL_Selector_Field
Help: Sets additional fields to appear on the selectors pick list.static String
PROPERTY_SORTABLE
Property sortable stored in column Sort in table OBUISEL_Selector_Field
Help: Allow sorting by this field in the popup grid.static String
PROPERTY_SORTNO
Property sortno stored in column Sortno in table OBUISEL_Selector_Fieldstatic String
PROPERTY_SUFFIX
Property suffix stored in column Suffix in table OBUISEL_Selector_Field
Help: The Suffix indicates the characters to append to the document number.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table OBUISEL_Selector_Fieldstatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column Updatedby in table OBUISEL_Selector_Fieldstatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description SelectorField()
-
Method Summary
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column Obuisel_Selector_Field_ID in table OBUISEL_Selector_Field
Help: Unique identifying key for the selector field record.- See Also:
- Constant Field Values
-
PROPERTY_OBUISELSELECTOR
public static final String PROPERTY_OBUISELSELECTOR
Property obuiselSelector stored in column Obuisel_Selector_ID in table OBUISEL_Selector_Field
Help: The unique identifying key for the selector.- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table OBUISEL_Selector_Field- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table OBUISEL_Selector_Field- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_MODULE
public static final String PROPERTY_MODULE
Property module stored in column AD_Module_ID in table OBUISEL_Selector_Field
Help: Indicates the module the element forms part of.- 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_Field
Help: Link to the database column of the table- See Also:
- Constant Field Values
-
PROPERTY_NAME
public static final String PROPERTY_NAME
Property name stored in column Name in table OBUISEL_Selector_Field- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
Property description stored in column Description in table OBUISEL_Selector_Field
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_Field
Help: The Help field contains a hint, comment or help about the use of this item.- See Also:
- Constant Field Values
-
PROPERTY_PROPERTY
public static final String PROPERTY_PROPERTY
Property property stored in column Property in table OBUISEL_Selector_Field
Help: Path/name of the property to show in the selector- See Also:
- Constant Field Values
-
PROPERTY_OBSERDSDATASOURCEFIELD
public static final String PROPERTY_OBSERDSDATASOURCEFIELD
Property obserdsDatasourceField stored in column Obserds_Datasource_Field_ID in table OBUISEL_Selector_Field
Help: The datasource field is part of the datasource definition.- See Also:
- Constant Field Values
-
PROPERTY_CENTRALMAINTENANCE
public static final String PROPERTY_CENTRALMAINTENANCE
Property centralMaintenance stored in column Iscentrallymaintained in table OBUISEL_Selector_Field
Help: The Centrally Maintained checkbox indicates if the Name, Description and Help maintained in 'System Element' table or 'Window' table.- See Also:
- Constant Field Values
-
PROPERTY_SORTABLE
public static final String PROPERTY_SORTABLE
Property sortable stored in column Sort in table OBUISEL_Selector_Field
Help: Allow sorting by this field in the popup grid.- See Also:
- Constant Field Values
-
PROPERTY_FILTERABLE
public static final String PROPERTY_FILTERABLE
Property filterable stored in column Filter in table OBUISEL_Selector_Field
Help: Make it possible to filter in the grid using this field.- See Also:
- Constant Field Values
-
PROPERTY_SEARCHINSUGGESTIONBOX
public static final String PROPERTY_SEARCHINSUGGESTIONBOX
Property searchinsuggestionbox stored in column Searchinsuggestionbox in table OBUISEL_Selector_Field
Help: Defines if the field is used to search when retrieving values in the suggestion box.- See Also:
- Constant Field Values
-
PROPERTY_SHOWINGRID
public static final String PROPERTY_SHOWINGRID
Property showingrid stored in column Showingrid in table OBUISEL_Selector_Field
Help: Defines if the field is shown in the popup grid.- See Also:
- Constant Field Values
-
PROPERTY_SORTNO
public static final String PROPERTY_SORTNO
Property sortno stored in column Sortno in table OBUISEL_Selector_Field- See Also:
- Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column Isactive in table OBUISEL_Selector_Field- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table OBUISEL_Selector_Field- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column Createdby in table OBUISEL_Selector_Field- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table OBUISEL_Selector_Field- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column Updatedby in table OBUISEL_Selector_Field- See Also:
Traceable
, Constant Field Values
-
PROPERTY_ISOUTFIELD
public static final String PROPERTY_ISOUTFIELD
Property isoutfield stored in column Isoutfield in table OBUISEL_Selector_Field- See Also:
- Constant Field Values
-
PROPERTY_DEFAULTEXPRESSION
public static final String PROPERTY_DEFAULTEXPRESSION
Property defaultExpression stored in column Default_Expression in table OBUISEL_Selector_Field
Help: Defines a JavaScript expression that will be evaluated in the server side and used as default value for the property. You can use any type of variable but it must match the property type, examples: true - the property associated is boolean "Hello" - the propery associated is string 5.3 - the property associated is numeric You can also access the Openbravo API through the OB object and do some more complex expressions, e.g. OB.getSession().getAttribute("SESSIONVAR"); This will retrieve the session variable SESSIONVAR and use it as default value for the selector field- See Also:
- Constant Field Values
-
PROPERTY_SUFFIX
public static final String PROPERTY_SUFFIX
Property suffix stored in column Suffix in table OBUISEL_Selector_Field
Help: The Suffix indicates the characters to append to the document number.- See Also:
- Constant Field Values
-
PROPERTY_DISPLAYCOLUMNALIAS
public static final String PROPERTY_DISPLAYCOLUMNALIAS
Property displayColumnAlias stored in column Display_Expression in table OBUISEL_Selector_Field
Help: Alias of the HQL query column to be shown- See Also:
- Constant Field Values
-
PROPERTY_CLAUSELEFTPART
public static final String PROPERTY_CLAUSELEFTPART
Property clauseLeftPart stored in column Clause_Left_Part in table OBUISEL_Selector_Field
Help: Left part of a clause to be used on the where or order by clauses of the HQL.- 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_Field
Help: The Reference indicates the type of reference field- See Also:
- Constant Field Values
-
PROPERTY_SHOWINPICKLIST
public static final String PROPERTY_SHOWINPICKLIST
Property showInPicklist stored in column Showinpicklist in table OBUISEL_Selector_Field
Help: Sets additional fields to appear on the selectors pick list.- See Also:
- Constant Field Values
-
PROPERTY_OBUISELSELECTORFIELDTRLLIST
public static final String PROPERTY_OBUISELSELECTORFIELDTRLLIST
Property oBUISELSelectorFieldTrlList stored in table OBUISEL_Selector_Field- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
getObuiselSelector
public Selector getObuiselSelector()
- See Also:
PROPERTY_OBUISELSELECTOR
-
setObuiselSelector
public void setObuiselSelector(Selector obuiselSelector)
- See Also:
PROPERTY_OBUISELSELECTOR
-
getClient
public Client getClient()
Description copied from interface:ClientEnabled
Client field- Specified by:
getClient
in interfaceClientEnabled
- Returns:
- client
- See Also:
PROPERTY_CLIENT
-
setClient
public void setClient(Client client)
Description copied from interface:ClientEnabled
Client field- Specified by:
setClient
in interfaceClientEnabled
- See Also:
PROPERTY_CLIENT
-
getOrganization
public Organization getOrganization()
Description copied from interface:OrganizationEnabled
Gets organization field- Specified by:
getOrganization
in interfaceOrganizationEnabled
- Returns:
- organization
- See Also:
PROPERTY_ORGANIZATION
-
setOrganization
public void setOrganization(Organization organization)
Description copied from interface:OrganizationEnabled
Sets organization field- Specified by:
setOrganization
in interfaceOrganizationEnabled
- See Also:
PROPERTY_ORGANIZATION
-
getModule
public Module getModule()
- See Also:
PROPERTY_MODULE
-
setModule
public void setModule(Module module)
- See Also:
PROPERTY_MODULE
-
getColumn
public Column getColumn()
- See Also:
PROPERTY_COLUMN
-
setColumn
public void setColumn(Column column)
- See Also:
PROPERTY_COLUMN
-
getName
public String getName()
- See Also:
PROPERTY_NAME
-
setName
public void setName(String name)
- See Also:
PROPERTY_NAME
-
getDescription
public String getDescription()
- See Also:
PROPERTY_DESCRIPTION
-
setDescription
public void setDescription(String description)
- See Also:
PROPERTY_DESCRIPTION
-
getHelpComment
public String getHelpComment()
- See Also:
PROPERTY_HELPCOMMENT
-
setHelpComment
public void setHelpComment(String helpComment)
- See Also:
PROPERTY_HELPCOMMENT
-
getProperty
public String getProperty()
- See Also:
PROPERTY_PROPERTY
-
setProperty
public void setProperty(String property)
- See Also:
PROPERTY_PROPERTY
-
getObserdsDatasourceField
public DatasourceField getObserdsDatasourceField()
- See Also:
PROPERTY_OBSERDSDATASOURCEFIELD
-
setObserdsDatasourceField
public void setObserdsDatasourceField(DatasourceField obserdsDatasourceField)
- See Also:
PROPERTY_OBSERDSDATASOURCEFIELD
-
isCentralMaintenance
public Boolean isCentralMaintenance()
- See Also:
PROPERTY_CENTRALMAINTENANCE
-
setCentralMaintenance
public void setCentralMaintenance(Boolean centralMaintenance)
- See Also:
PROPERTY_CENTRALMAINTENANCE
-
isSortable
public Boolean isSortable()
- See Also:
PROPERTY_SORTABLE
-
setSortable
public void setSortable(Boolean sortable)
- See Also:
PROPERTY_SORTABLE
-
isFilterable
public Boolean isFilterable()
- See Also:
PROPERTY_FILTERABLE
-
setFilterable
public void setFilterable(Boolean filterable)
- See Also:
PROPERTY_FILTERABLE
-
isSearchinsuggestionbox
public Boolean isSearchinsuggestionbox()
- See Also:
PROPERTY_SEARCHINSUGGESTIONBOX
-
setSearchinsuggestionbox
public void setSearchinsuggestionbox(Boolean searchinsuggestionbox)
- See Also:
PROPERTY_SEARCHINSUGGESTIONBOX
-
isShowingrid
public Boolean isShowingrid()
- See Also:
PROPERTY_SHOWINGRID
-
setShowingrid
public void setShowingrid(Boolean showingrid)
- See Also:
PROPERTY_SHOWINGRID
-
getSortno
public Long getSortno()
- See Also:
PROPERTY_SORTNO
-
setSortno
public void setSortno(Long sortno)
- See Also:
PROPERTY_SORTNO
-
isActive
public Boolean isActive()
Description copied from interface:ActiveEnabled
Gets active field- Specified by:
isActive
in interfaceActiveEnabled
- Returns:
- active
- See Also:
PROPERTY_ACTIVE
-
setActive
public void setActive(Boolean active)
Description copied from interface:ActiveEnabled
Sets active field- Specified by:
setActive
in interfaceActiveEnabled
- See Also:
PROPERTY_ACTIVE
-
getCreationDate
public Date getCreationDate()
Description copied from interface:Traceable
Creation date of audit- Specified by:
getCreationDate
in interfaceTraceable
- Returns:
- Date of creation
- See Also:
PROPERTY_CREATIONDATE
-
setCreationDate
public void setCreationDate(Date creationDate)
Description copied from interface:Traceable
Creation date of audit- Specified by:
setCreationDate
in interfaceTraceable
- See Also:
PROPERTY_CREATIONDATE
-
getCreatedBy
public User getCreatedBy()
Description copied from interface:Traceable
Created by audit user- Specified by:
getCreatedBy
in interfaceTraceable
- Returns:
- User
- See Also:
PROPERTY_CREATEDBY
-
setCreatedBy
public void setCreatedBy(User createdBy)
Description copied from interface:Traceable
Created by audit user- Specified by:
setCreatedBy
in interfaceTraceable
- See Also:
PROPERTY_CREATEDBY
-
getUpdated
public Date getUpdated()
Description copied from interface:Traceable
Update date of audit- Specified by:
getUpdated
in interfaceTraceable
- Returns:
- Date of update
- See Also:
PROPERTY_UPDATED
-
setUpdated
public void setUpdated(Date updated)
Description copied from interface:Traceable
Update date of audit- Specified by:
setUpdated
in interfaceTraceable
- See Also:
PROPERTY_UPDATED
-
getUpdatedBy
public User getUpdatedBy()
Description copied from interface:Traceable
Update by audit user- Specified by:
getUpdatedBy
in interfaceTraceable
- Returns:
- User who updated
- See Also:
PROPERTY_UPDATEDBY
-
setUpdatedBy
public void setUpdatedBy(User updatedBy)
Description copied from interface:Traceable
Update by audit user- Specified by:
setUpdatedBy
in interfaceTraceable
- See Also:
PROPERTY_UPDATEDBY
-
isOutfield
public Boolean isOutfield()
- See Also:
PROPERTY_ISOUTFIELD
-
setOutfield
public void setOutfield(Boolean isoutfield)
- See Also:
PROPERTY_ISOUTFIELD
-
getDefaultExpression
public String getDefaultExpression()
- See Also:
PROPERTY_DEFAULTEXPRESSION
-
setDefaultExpression
public void setDefaultExpression(String defaultExpression)
- See Also:
PROPERTY_DEFAULTEXPRESSION
-
getSuffix
public String getSuffix()
- See Also:
PROPERTY_SUFFIX
-
setSuffix
public void setSuffix(String suffix)
- See Also:
PROPERTY_SUFFIX
-
getDisplayColumnAlias
public String getDisplayColumnAlias()
- See Also:
PROPERTY_DISPLAYCOLUMNALIAS
-
setDisplayColumnAlias
public void setDisplayColumnAlias(String displayColumnAlias)
- See Also:
PROPERTY_DISPLAYCOLUMNALIAS
-
getClauseLeftPart
public String getClauseLeftPart()
- See Also:
PROPERTY_CLAUSELEFTPART
-
setClauseLeftPart
public void setClauseLeftPart(String clauseLeftPart)
- See Also:
PROPERTY_CLAUSELEFTPART
-
getReference
public Reference getReference()
- See Also:
PROPERTY_REFERENCE
-
setReference
public void setReference(Reference reference)
- See Also:
PROPERTY_REFERENCE
-
isShowInPicklist
public Boolean isShowInPicklist()
- See Also:
PROPERTY_SHOWINPICKLIST
-
setShowInPicklist
public void setShowInPicklist(Boolean showInPicklist)
- See Also:
PROPERTY_SHOWINPICKLIST
-
getOBUISELSelectorFieldTrlList
public List<SelectorFieldTrl> getOBUISELSelectorFieldTrlList()
Help: Translation table for Selector Field- See Also:
SelectorFieldTrl
-
setOBUISELSelectorFieldTrlList
public void setOBUISELSelectorFieldTrlList(List<SelectorFieldTrl> oBUISELSelectorFieldTrlList)
Help: Translation table for Selector Field- See Also:
SelectorFieldTrl
-
-