Package org.openbravo.client.myob
Class WidgetClass
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.client.myob.WidgetClass
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class WidgetClass extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity OBKMO_WidgetClass (stored in table OBKMO_Widget_Class).
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 OBKMO_Widget_Classstatic String
PROPERTY_ALLOWANONYMOUSACCESS
Property allowAnonymousAccess stored in column Allow_Anonymous_Access in table OBKMO_Widget_Class
Help: Determines that the widget class will be available to all users regardless of the roles with access to this class.static String
PROPERTY_AUTHORMSG
Property authorMsg stored in column Author_Msg in table OBKMO_Widget_Class
Help: It is a message the widget author can define. It will be shown in the widget about information.static String
PROPERTY_AUTHORURL
Property authorUrl stored in column Author_Url in table OBKMO_Widget_Class
Help: It is the widget author URL which will be shown in the widget about information box.static String
PROPERTY_AVAILABLEINWORKSPACE
Property availableInWorkspace stored in column Available_In_Workspace in table OBKMO_Widget_Class
Help: When this field is checked, the widget will be available in the "Add Widget" drop down menu to include it in the workspace.static String
PROPERTY_CANMAXIMIZE
Property canMaximize stored in column CAN_Maximize in table OBKMO_Widget_Class
Help: When is true, the maximize button appears in the widget's header toolbar, next to the menu optionsstatic String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table OBKMO_Widget_Classstatic String
PROPERTY_CREATEDBY
Property createdBy stored in column Createdby in table OBKMO_Widget_Classstatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table OBKMO_Widget_Classstatic String
PROPERTY_DATAACCESSLEVEL
Property dataAccessLevel stored in column Accesslevel in table OBKMO_Widget_Class
Help: Indicates what type of data (in terms of AD_CLIENT and AD_ORG data columns) can be entered or viewed. We can classify data in 4 major categories: - System (AD_CLIENT_ID=0, AD_ORG_ID=0) - system data (such as metadata for window, tab and field definition) - Organization (AD_CLIENT<>0, AD_ORG_ID<>0) - data particular to an organization (such as sales orders) - Client/Organization (AD_CLIENT<>0, AD_ORG_ID=anything) - data particular to an organization or shared among all organizations within one client - Client (AD_CLIENT<>0, AD_ORG_ID=0) - data that is specific to a client but can be used by all organizations within that client or All (AD_CLIENT=anything, AD_ORG_ID=anything)static String
PROPERTY_DESCRIPTION
Property description stored in column Description in table OBKMO_Widget_Class
Help: A description is limited to 255 characters.static String
PROPERTY_HEIGHT
Property height stored in column Height in table OBKMO_Widget_Class
Help: Height in pixels the widget will be represented with.static String
PROPERTY_ID
Property id stored in column OBKMO_Widget_Class_ID in table OBKMO_Widget_Class
Help: Identifies a widget class definitionstatic String
PROPERTY_JAVACLASS
Property javaClass stored in column Javaclass in table OBKMO_Widget_Class
Help: Java Class implementing the widgetstatic String
PROPERTY_MODULE
Property module stored in column AD_Module_ID in table OBKMO_Widget_Class
Help: Indicates the module the element forms part of.static String
PROPERTY_OBCQLWIDGETQUERYLIST
Property oBCQLWidgetQueryList stored in table OBKMO_Widget_Classstatic String
PROPERTY_OBKMOWIDGETCLASSACCESSLIST
Property oBKMOWidgetClassAccessList stored in table OBKMO_Widget_Classstatic String
PROPERTY_OBKMOWIDGETCLASSTRLLIST
Property oBKMOWidgetClassTrlList stored in table OBKMO_Widget_Classstatic String
PROPERTY_OBKMOWIDGETURLLIST
Property oBKMOWidgetURLList stored in table OBKMO_Widget_Classstatic String
PROPERTY_OBUIAPPPARAMETEREMOBKMOWIDGETCLASSIDLIST
Property oBUIAPPParameterEMObkmoWidgetClassIDList stored in table OBKMO_Widget_Classstatic String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table OBKMO_Widget_Classstatic String
PROPERTY_SUPERCLASS
Property superclass stored in column IsSuperclass in table OBKMO_Widget_Class
Help: A Superclass widget is an implementation that can be used by other widget classes so it is not necessary to develop the java class.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table OBKMO_Widget_Classstatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column Updatedby in table OBKMO_Widget_Classstatic String
PROPERTY_WIDGETSUPERCLASS
Property widgetSuperclass stored in column Widget_Superclass_ID in table OBKMO_Widget_Class
Help: Identifies the Superclass widget used by this widget class.static String
PROPERTY_WIDGETTITLE
Property widgetTitle stored in column Title in table OBKMO_Widget_Classstatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description WidgetClass()
-
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 OBKMO_Widget_Class_ID in table OBKMO_Widget_Class
Help: Identifies a widget class definition- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table OBKMO_Widget_Class- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table OBKMO_Widget_Class- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column Isactive in table OBKMO_Widget_Class- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table OBKMO_Widget_Class- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column Createdby in table OBKMO_Widget_Class- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table OBKMO_Widget_Class- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column Updatedby in table OBKMO_Widget_Class- See Also:
Traceable
, Constant Field Values
-
PROPERTY_MODULE
public static final String PROPERTY_MODULE
Property module stored in column AD_Module_ID in table OBKMO_Widget_Class
Help: Indicates the module the element forms part of.- See Also:
- Constant Field Values
-
PROPERTY_WIDGETTITLE
public static final String PROPERTY_WIDGETTITLE
Property widgetTitle stored in column Title in table OBKMO_Widget_Class- See Also:
- Constant Field Values
-
PROPERTY_JAVACLASS
public static final String PROPERTY_JAVACLASS
Property javaClass stored in column Javaclass in table OBKMO_Widget_Class
Help: Java Class implementing the widget- See Also:
- Constant Field Values
-
PROPERTY_HEIGHT
public static final String PROPERTY_HEIGHT
Property height stored in column Height in table OBKMO_Widget_Class
Help: Height in pixels the widget will be represented with.- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
Property description stored in column Description in table OBKMO_Widget_Class
Help: A description is limited to 255 characters.- See Also:
- Constant Field Values
-
PROPERTY_ALLOWANONYMOUSACCESS
public static final String PROPERTY_ALLOWANONYMOUSACCESS
Property allowAnonymousAccess stored in column Allow_Anonymous_Access in table OBKMO_Widget_Class
Help: Determines that the widget class will be available to all users regardless of the roles with access to this class.- See Also:
- Constant Field Values
-
PROPERTY_SUPERCLASS
public static final String PROPERTY_SUPERCLASS
Property superclass stored in column IsSuperclass in table OBKMO_Widget_Class
Help: A Superclass widget is an implementation that can be used by other widget classes so it is not necessary to develop the java class.- See Also:
- Constant Field Values
-
PROPERTY_WIDGETSUPERCLASS
public static final String PROPERTY_WIDGETSUPERCLASS
Property widgetSuperclass stored in column Widget_Superclass_ID in table OBKMO_Widget_Class
Help: Identifies the Superclass widget used by this widget class.- See Also:
- Constant Field Values
-
PROPERTY_CANMAXIMIZE
public static final String PROPERTY_CANMAXIMIZE
Property canMaximize stored in column CAN_Maximize in table OBKMO_Widget_Class
Help: When is true, the maximize button appears in the widget's header toolbar, next to the menu options- See Also:
- Constant Field Values
-
PROPERTY_DATAACCESSLEVEL
public static final String PROPERTY_DATAACCESSLEVEL
Property dataAccessLevel stored in column Accesslevel in table OBKMO_Widget_Class
Help: Indicates what type of data (in terms of AD_CLIENT and AD_ORG data columns) can be entered or viewed. We can classify data in 4 major categories: - System (AD_CLIENT_ID=0, AD_ORG_ID=0) - system data (such as metadata for window, tab and field definition) - Organization (AD_CLIENT<>0, AD_ORG_ID<>0) - data particular to an organization (such as sales orders) - Client/Organization (AD_CLIENT<>0, AD_ORG_ID=anything) - data particular to an organization or shared among all organizations within one client - Client (AD_CLIENT<>0, AD_ORG_ID=0) - data that is specific to a client but can be used by all organizations within that client or All (AD_CLIENT=anything, AD_ORG_ID=anything)- See Also:
- Constant Field Values
-
PROPERTY_AUTHORMSG
public static final String PROPERTY_AUTHORMSG
Property authorMsg stored in column Author_Msg in table OBKMO_Widget_Class
Help: It is a message the widget author can define. It will be shown in the widget about information.- See Also:
- Constant Field Values
-
PROPERTY_AUTHORURL
public static final String PROPERTY_AUTHORURL
Property authorUrl stored in column Author_Url in table OBKMO_Widget_Class
Help: It is the widget author URL which will be shown in the widget about information box.- See Also:
- Constant Field Values
-
PROPERTY_AVAILABLEINWORKSPACE
public static final String PROPERTY_AVAILABLEINWORKSPACE
Property availableInWorkspace stored in column Available_In_Workspace in table OBKMO_Widget_Class
Help: When this field is checked, the widget will be available in the "Add Widget" drop down menu to include it in the workspace.- See Also:
- Constant Field Values
-
PROPERTY_OBCQLWIDGETQUERYLIST
public static final String PROPERTY_OBCQLWIDGETQUERYLIST
Property oBCQLWidgetQueryList stored in table OBKMO_Widget_Class- See Also:
- Constant Field Values
-
PROPERTY_OBKMOWIDGETCLASSACCESSLIST
public static final String PROPERTY_OBKMOWIDGETCLASSACCESSLIST
Property oBKMOWidgetClassAccessList stored in table OBKMO_Widget_Class- See Also:
- Constant Field Values
-
PROPERTY_OBKMOWIDGETCLASSTRLLIST
public static final String PROPERTY_OBKMOWIDGETCLASSTRLLIST
Property oBKMOWidgetClassTrlList stored in table OBKMO_Widget_Class- See Also:
- Constant Field Values
-
PROPERTY_OBKMOWIDGETURLLIST
public static final String PROPERTY_OBKMOWIDGETURLLIST
Property oBKMOWidgetURLList stored in table OBKMO_Widget_Class- See Also:
- Constant Field Values
-
PROPERTY_OBUIAPPPARAMETEREMOBKMOWIDGETCLASSIDLIST
public static final String PROPERTY_OBUIAPPPARAMETEREMOBKMOWIDGETCLASSIDLIST
Property oBUIAPPParameterEMObkmoWidgetClassIDList stored in table OBKMO_Widget_Class- 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
-
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
-
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
-
getModule
public Module getModule()
- See Also:
PROPERTY_MODULE
-
setModule
public void setModule(Module module)
- See Also:
PROPERTY_MODULE
-
getWidgetTitle
public String getWidgetTitle()
- See Also:
PROPERTY_WIDGETTITLE
-
setWidgetTitle
public void setWidgetTitle(String widgetTitle)
- See Also:
PROPERTY_WIDGETTITLE
-
getJavaClass
public String getJavaClass()
- See Also:
PROPERTY_JAVACLASS
-
setJavaClass
public void setJavaClass(String javaClass)
- See Also:
PROPERTY_JAVACLASS
-
getHeight
public Long getHeight()
- See Also:
PROPERTY_HEIGHT
-
setHeight
public void setHeight(Long height)
- See Also:
PROPERTY_HEIGHT
-
getDescription
public String getDescription()
- See Also:
PROPERTY_DESCRIPTION
-
setDescription
public void setDescription(String description)
- See Also:
PROPERTY_DESCRIPTION
-
isAllowAnonymousAccess
public Boolean isAllowAnonymousAccess()
- See Also:
PROPERTY_ALLOWANONYMOUSACCESS
-
setAllowAnonymousAccess
public void setAllowAnonymousAccess(Boolean allowAnonymousAccess)
- See Also:
PROPERTY_ALLOWANONYMOUSACCESS
-
isSuperclass
public Boolean isSuperclass()
- See Also:
PROPERTY_SUPERCLASS
-
setSuperclass
public void setSuperclass(Boolean superclass)
- See Also:
PROPERTY_SUPERCLASS
-
getWidgetSuperclass
public WidgetClass getWidgetSuperclass()
- See Also:
PROPERTY_WIDGETSUPERCLASS
-
setWidgetSuperclass
public void setWidgetSuperclass(WidgetClass widgetSuperclass)
- See Also:
PROPERTY_WIDGETSUPERCLASS
-
isCanMaximize
public Boolean isCanMaximize()
- See Also:
PROPERTY_CANMAXIMIZE
-
setCanMaximize
public void setCanMaximize(Boolean canMaximize)
- See Also:
PROPERTY_CANMAXIMIZE
-
getDataAccessLevel
public String getDataAccessLevel()
- See Also:
PROPERTY_DATAACCESSLEVEL
-
setDataAccessLevel
public void setDataAccessLevel(String dataAccessLevel)
- See Also:
PROPERTY_DATAACCESSLEVEL
-
getAuthorMsg
public String getAuthorMsg()
- See Also:
PROPERTY_AUTHORMSG
-
setAuthorMsg
public void setAuthorMsg(String authorMsg)
- See Also:
PROPERTY_AUTHORMSG
-
getAuthorUrl
public String getAuthorUrl()
- See Also:
PROPERTY_AUTHORURL
-
setAuthorUrl
public void setAuthorUrl(String authorUrl)
- See Also:
PROPERTY_AUTHORURL
-
isAvailableInWorkspace
public Boolean isAvailableInWorkspace()
- See Also:
PROPERTY_AVAILABLEINWORKSPACE
-
setAvailableInWorkspace
public void setAvailableInWorkspace(Boolean availableInWorkspace)
- See Also:
PROPERTY_AVAILABLEINWORKSPACE
-
getOBCQLWidgetQueryList
public List<OBCQL_WidgetQuery> getOBCQLWidgetQueryList()
- See Also:
OBCQL_WidgetQuery
-
setOBCQLWidgetQueryList
public void setOBCQLWidgetQueryList(List<OBCQL_WidgetQuery> oBCQLWidgetQueryList)
- See Also:
OBCQL_WidgetQuery
-
getOBKMOWidgetClassAccessList
public List<WidgetClassAccess> getOBKMOWidgetClassAccessList()
- See Also:
WidgetClassAccess
-
setOBKMOWidgetClassAccessList
public void setOBKMOWidgetClassAccessList(List<WidgetClassAccess> oBKMOWidgetClassAccessList)
- See Also:
WidgetClassAccess
-
getOBKMOWidgetClassTrlList
public List<WidgetClassTrl> getOBKMOWidgetClassTrlList()
- See Also:
WidgetClassTrl
-
setOBKMOWidgetClassTrlList
public void setOBKMOWidgetClassTrlList(List<WidgetClassTrl> oBKMOWidgetClassTrlList)
- See Also:
WidgetClassTrl
-
setOBKMOWidgetURLList
public void setOBKMOWidgetURLList(List<WidgetURL> oBKMOWidgetURLList)
- See Also:
WidgetURL
-
getOBUIAPPParameterEMObkmoWidgetClassIDList
public List<Parameter> getOBUIAPPParameterEMObkmoWidgetClassIDList()
- See Also:
Parameter
-
-