Package org.compiere.model
Class X_AD_ToolBarButton
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_ToolBarButton
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_ToolBarButton
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MToolBarButton
public class X_AD_ToolBarButton extends PO implements I_AD_ToolBarButton, I_Persistent
Generated Model for AD_ToolBarButton- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION_AD_Reference_ID
Action AD_Reference_ID=104static String
ACTION_Detail
Detail = Dstatic String
ACTION_Form
Form = Xstatic String
ACTION_Info
Info = Istatic String
ACTION_Process
Process = Pstatic String
ACTION_Report
Report = Rstatic String
ACTION_Task
Task = Tstatic String
ACTION_Window
Window = Wstatic String
ACTION_Workbench
Workbench = Bstatic String
ACTION_WorkFlow
WorkFlow = Fstatic int
ENTITYTYPE_AD_Reference_ID
EntityType AD_Reference_ID=389-
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_AD_ToolBarButton
accessLevel, COLUMNNAME_Action, COLUMNNAME_ActionClassName, COLUMNNAME_ActionName, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Process_ID, COLUMNNAME_AD_Tab_ID, COLUMNNAME_AD_ToolBarButton_ID, COLUMNNAME_AD_ToolBarButton_UU, COLUMNNAME_ComponentName, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DisplayLogic, COLUMNNAME_EntityType, COLUMNNAME_IsActive, COLUMNNAME_IsAddSeparator, COLUMNNAME_IsAdvancedButton, COLUMNNAME_IsCustomization, COLUMNNAME_IsShowMore, COLUMNNAME_KeyStroke_KeyCode, COLUMNNAME_KeyStroke_Modifiers, COLUMNNAME_Name, COLUMNNAME_SeqNo, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_ToolBarButton(Properties ctx, int AD_ToolBarButton_ID, String trxName)
Standard ConstructorX_AD_ToolBarButton(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelString
getAction()
Get Action.String
getActionClassName()
Get Service Component Name.String
getActionName()
Get Action Name.I_AD_Process
getAD_Process()
int
getAD_Process_ID()
Get Process.I_AD_Tab
getAD_Tab()
int
getAD_Tab_ID()
Get Tab.int
getAD_ToolBarButton_ID()
Get ToolBar Button.String
getAD_ToolBarButton_UU()
Get AD_ToolBarButton_UU.String
getComponentName()
Get Component Name.String
getDisplayLogic()
Get Display Logic.String
getEntityType()
Get Entity Type.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameint
getKeyStroke_KeyCode()
Get KeyCode.int
getKeyStroke_Modifiers()
Get Keystroke Modifiers.String
getName()
Get Name.int
getSeqNo()
Get Sequence.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isAddSeparator()
Get Add Separator.boolean
isAdvancedButton()
Get Advanced Button.boolean
isCustomization()
Get Customization.boolean
isShowMore()
Get Group in show more.void
setAction(String Action)
Set Action.void
setActionClassName(String ActionClassName)
Set Service Component Name.void
setActionName(String ActionName)
Set Action Name.void
setAD_Process_ID(int AD_Process_ID)
Set Process.void
setAD_Tab_ID(int AD_Tab_ID)
Set Tab.void
setAD_ToolBarButton_ID(int AD_ToolBarButton_ID)
Set ToolBar Button.void
setAD_ToolBarButton_UU(String AD_ToolBarButton_UU)
Set AD_ToolBarButton_UU.void
setComponentName(String ComponentName)
Set Component Name.void
setDisplayLogic(String DisplayLogic)
Set Display Logic.void
setEntityType(String EntityType)
Set Entity Type.void
setIsAddSeparator(boolean IsAddSeparator)
Set Add Separator.void
setIsAdvancedButton(boolean IsAdvancedButton)
Set Advanced Button.void
setIsCustomization(boolean IsCustomization)
Set Customization.void
setIsShowMore(boolean IsShowMore)
Set Group in show more.void
setKeyStroke_KeyCode(int KeyStroke_KeyCode)
Set KeyCode.void
setKeyStroke_Modifiers(int KeyStroke_Modifiers)
Set Keystroke Modifiers.void
setName(String Name)
Set Name.void
setSeqNo(int SeqNo)
Set Sequence.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_AD_ToolBarButton
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Field Detail
-
ACTION_AD_Reference_ID
public static final int ACTION_AD_Reference_ID
Action AD_Reference_ID=104- See Also:
- Constant Field Values
-
ACTION_Workbench
public static final String ACTION_Workbench
Workbench = B- See Also:
- Constant Field Values
-
ACTION_Detail
public static final String ACTION_Detail
Detail = D- See Also:
- Constant Field Values
-
ACTION_WorkFlow
public static final String ACTION_WorkFlow
WorkFlow = F- See Also:
- Constant Field Values
-
ACTION_Info
public static final String ACTION_Info
Info = I- See Also:
- Constant Field Values
-
ACTION_Process
public static final String ACTION_Process
Process = P- See Also:
- Constant Field Values
-
ACTION_Report
public static final String ACTION_Report
Report = R- See Also:
- Constant Field Values
-
ACTION_Task
public static final String ACTION_Task
Task = T- See Also:
- Constant Field Values
-
ACTION_Window
public static final String ACTION_Window
Window = W- See Also:
- Constant Field Values
-
ACTION_Form
public static final String ACTION_Form
Form = X- See Also:
- Constant Field Values
-
ENTITYTYPE_AD_Reference_ID
public static final int ENTITYTYPE_AD_Reference_ID
EntityType AD_Reference_ID=389- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_ToolBarButton
public X_AD_ToolBarButton(Properties ctx, int AD_ToolBarButton_ID, String trxName)
Standard Constructor
-
X_AD_ToolBarButton
public X_AD_ToolBarButton(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 4 - System
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAction
public void setAction(String Action)
Set Action.- Specified by:
setAction
in interfaceI_AD_ToolBarButton
- Parameters:
Action
- Indicates the Action to be performed
-
getAction
public String getAction()
Get Action.- Specified by:
getAction
in interfaceI_AD_ToolBarButton
- Returns:
- Indicates the Action to be performed
-
setActionClassName
public void setActionClassName(String ActionClassName)
Set Service Component Name.- Specified by:
setActionClassName
in interfaceI_AD_ToolBarButton
- Parameters:
ActionClassName
- The service component name that implements the interface for toolbar actions
-
getActionClassName
public String getActionClassName()
Get Service Component Name.- Specified by:
getActionClassName
in interfaceI_AD_ToolBarButton
- Returns:
- The service component name that implements the interface for toolbar actions
-
setActionName
public void setActionName(String ActionName)
Set Action Name.- Specified by:
setActionName
in interfaceI_AD_ToolBarButton
- Parameters:
ActionName
- Action name on the toolbar
-
getActionName
public String getActionName()
Get Action Name.- Specified by:
getActionName
in interfaceI_AD_ToolBarButton
- Returns:
- Action name on the toolbar
-
getAD_Process
public I_AD_Process getAD_Process() throws RuntimeException
- Specified by:
getAD_Process
in interfaceI_AD_ToolBarButton
- Throws:
RuntimeException
-
setAD_Process_ID
public void setAD_Process_ID(int AD_Process_ID)
Set Process.- Specified by:
setAD_Process_ID
in interfaceI_AD_ToolBarButton
- Parameters:
AD_Process_ID
- Process or Report
-
getAD_Process_ID
public int getAD_Process_ID()
Get Process.- Specified by:
getAD_Process_ID
in interfaceI_AD_ToolBarButton
- Returns:
- Process or Report
-
getAD_Tab
public I_AD_Tab getAD_Tab() throws RuntimeException
- Specified by:
getAD_Tab
in interfaceI_AD_ToolBarButton
- Throws:
RuntimeException
-
setAD_Tab_ID
public void setAD_Tab_ID(int AD_Tab_ID)
Set Tab.- Specified by:
setAD_Tab_ID
in interfaceI_AD_ToolBarButton
- Parameters:
AD_Tab_ID
- Tab within a Window
-
getAD_Tab_ID
public int getAD_Tab_ID()
Get Tab.- Specified by:
getAD_Tab_ID
in interfaceI_AD_ToolBarButton
- Returns:
- Tab within a Window
-
setAD_ToolBarButton_ID
public void setAD_ToolBarButton_ID(int AD_ToolBarButton_ID)
Set ToolBar Button.- Specified by:
setAD_ToolBarButton_ID
in interfaceI_AD_ToolBarButton
- Parameters:
AD_ToolBarButton_ID
- ToolBar Button
-
getAD_ToolBarButton_ID
public int getAD_ToolBarButton_ID()
Get ToolBar Button.- Specified by:
getAD_ToolBarButton_ID
in interfaceI_AD_ToolBarButton
- Returns:
- ToolBar Button
-
setAD_ToolBarButton_UU
public void setAD_ToolBarButton_UU(String AD_ToolBarButton_UU)
Set AD_ToolBarButton_UU.- Specified by:
setAD_ToolBarButton_UU
in interfaceI_AD_ToolBarButton
- Parameters:
AD_ToolBarButton_UU
- AD_ToolBarButton_UU
-
getAD_ToolBarButton_UU
public String getAD_ToolBarButton_UU()
Get AD_ToolBarButton_UU.- Specified by:
getAD_ToolBarButton_UU
in interfaceI_AD_ToolBarButton
- Returns:
- AD_ToolBarButton_UU
-
setComponentName
public void setComponentName(String ComponentName)
Set Component Name.- Specified by:
setComponentName
in interfaceI_AD_ToolBarButton
- Parameters:
ComponentName
- Component Name
-
getComponentName
public String getComponentName()
Get Component Name.- Specified by:
getComponentName
in interfaceI_AD_ToolBarButton
- Returns:
- Component Name
-
setDisplayLogic
public void setDisplayLogic(String DisplayLogic)
Set Display Logic.- Specified by:
setDisplayLogic
in interfaceI_AD_ToolBarButton
- Parameters:
DisplayLogic
- If the Field is displayed, the result determines if the field is actually displayed
-
getDisplayLogic
public String getDisplayLogic()
Get Display Logic.- Specified by:
getDisplayLogic
in interfaceI_AD_ToolBarButton
- Returns:
- If the Field is displayed, the result determines if the field is actually displayed
-
setEntityType
public void setEntityType(String EntityType)
Set Entity Type.- Specified by:
setEntityType
in interfaceI_AD_ToolBarButton
- Parameters:
EntityType
- Dictionary Entity Type; Determines ownership and synchronization
-
getEntityType
public String getEntityType()
Get Entity Type.- Specified by:
getEntityType
in interfaceI_AD_ToolBarButton
- Returns:
- Dictionary Entity Type; Determines ownership and synchronization
-
setIsAddSeparator
public void setIsAddSeparator(boolean IsAddSeparator)
Set Add Separator.- Specified by:
setIsAddSeparator
in interfaceI_AD_ToolBarButton
- Parameters:
IsAddSeparator
- Add Separator
-
isAddSeparator
public boolean isAddSeparator()
Get Add Separator.- Specified by:
isAddSeparator
in interfaceI_AD_ToolBarButton
- Returns:
- Add Separator
-
setIsAdvancedButton
public void setIsAdvancedButton(boolean IsAdvancedButton)
Set Advanced Button.- Specified by:
setIsAdvancedButton
in interfaceI_AD_ToolBarButton
- Parameters:
IsAdvancedButton
- This Button contains advanced Functionality
-
isAdvancedButton
public boolean isAdvancedButton()
Get Advanced Button.- Specified by:
isAdvancedButton
in interfaceI_AD_ToolBarButton
- Returns:
- This Button contains advanced Functionality
-
setIsCustomization
public void setIsCustomization(boolean IsCustomization)
Set Customization.- Specified by:
setIsCustomization
in interfaceI_AD_ToolBarButton
- Parameters:
IsCustomization
- The change is a customization of the data dictionary and can be applied after Migration
-
isCustomization
public boolean isCustomization()
Get Customization.- Specified by:
isCustomization
in interfaceI_AD_ToolBarButton
- Returns:
- The change is a customization of the data dictionary and can be applied after Migration
-
setIsShowMore
public void setIsShowMore(boolean IsShowMore)
Set Group in show more.- Specified by:
setIsShowMore
in interfaceI_AD_ToolBarButton
- Parameters:
IsShowMore
- Group in show more
-
isShowMore
public boolean isShowMore()
Get Group in show more.- Specified by:
isShowMore
in interfaceI_AD_ToolBarButton
- Returns:
- Group in show more
-
setKeyStroke_KeyCode
public void setKeyStroke_KeyCode(int KeyStroke_KeyCode)
Set KeyCode.- Specified by:
setKeyStroke_KeyCode
in interfaceI_AD_ToolBarButton
- Parameters:
KeyStroke_KeyCode
- KeyCode for shortcuts
-
getKeyStroke_KeyCode
public int getKeyStroke_KeyCode()
Get KeyCode.- Specified by:
getKeyStroke_KeyCode
in interfaceI_AD_ToolBarButton
- Returns:
- KeyCode for shortcuts
-
setKeyStroke_Modifiers
public void setKeyStroke_Modifiers(int KeyStroke_Modifiers)
Set Keystroke Modifiers.- Specified by:
setKeyStroke_Modifiers
in interfaceI_AD_ToolBarButton
- Parameters:
KeyStroke_Modifiers
- Keystroke Modifiers for shortcuts
-
getKeyStroke_Modifiers
public int getKeyStroke_Modifiers()
Get Keystroke Modifiers.- Specified by:
getKeyStroke_Modifiers
in interfaceI_AD_ToolBarButton
- Returns:
- Keystroke Modifiers for shortcuts
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_AD_ToolBarButton
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_AD_ToolBarButton
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setSeqNo
public void setSeqNo(int SeqNo)
Set Sequence.- Specified by:
setSeqNo
in interfaceI_AD_ToolBarButton
- Parameters:
SeqNo
- Method of ordering records; lowest number comes first
-
getSeqNo
public int getSeqNo()
Get Sequence.- Specified by:
getSeqNo
in interfaceI_AD_ToolBarButton
- Returns:
- Method of ordering records; lowest number comes first
-
-