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
Generated Model for AD_ToolBarButton
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Action AD_Reference_ID=104static final String
Detail = Dstatic final String
Form = Xstatic final String
Info = Istatic final String
Process = Pstatic final String
Report = Rstatic final String
Task = Tstatic final String
Window = Wstatic final String
Workbench = Bstatic final String
WorkFlow = Fstatic final int
EntityType AD_Reference_ID=389Fields 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, UUID_NEW_RECORD, 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_PressedLogic, COLUMNNAME_ReadOnlyLogic, COLUMNNAME_SeqNo, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_ToolBarButton
(Properties ctx, int AD_ToolBarButton_ID, String trxName) Standard ConstructorX_AD_ToolBarButton
(Properties ctx, int AD_ToolBarButton_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_ToolBarButton
(Properties ctx, String AD_ToolBarButton_UU, String trxName) Standard ConstructorX_AD_ToolBarButton
(Properties ctx, String AD_ToolBarButton_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_ToolBarButton
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet Action.Get Service Component Name.Get Action Name.int
Get Process.int
Get Tab.int
Get ToolBar Button.Get AD_ToolBarButton_UU.Get Component Name.Get Display Logic.Get Entity Type.Get Record ID/ColumnNameint
Get Key Code.int
Get Keystroke Modifiers.getName()
Get Name.Get Pressed Logic.Get Read Only Logic.int
getSeqNo()
Get Sequence.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Add Separator.boolean
Get Advanced Button.boolean
Get Customization.boolean
Get Group in show more.void
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 Key Code.void
setKeyStroke_Modifiers
(int KeyStroke_Modifiers) Set Keystroke Modifiers.void
Set Name.void
setPressedLogic
(String PressedLogic) Set Pressed Logic.void
setReadOnlyLogic
(String ReadOnlyLogic) Set Read Only Logic.void
setSeqNo
(int SeqNo) Set Sequence.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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 Details
-
ACTION_AD_Reference_ID
public static final int ACTION_AD_Reference_IDAction AD_Reference_ID=104- See Also:
-
ACTION_Workbench
Workbench = B- See Also:
-
ACTION_Detail
Detail = D- See Also:
-
ACTION_WorkFlow
WorkFlow = F- See Also:
-
ACTION_Info
Info = I- See Also:
-
ACTION_Process
Process = P- See Also:
-
ACTION_Report
Report = R- See Also:
-
ACTION_Task
Task = T- See Also:
-
ACTION_Window
Window = W- See Also:
-
ACTION_Form
Form = X- See Also:
-
ENTITYTYPE_AD_Reference_ID
public static final int ENTITYTYPE_AD_Reference_IDEntityType AD_Reference_ID=389- See Also:
-
-
Constructor Details
-
X_AD_ToolBarButton
Standard Constructor -
X_AD_ToolBarButton
public X_AD_ToolBarButton(Properties ctx, int AD_ToolBarButton_ID, String trxName, String... virtualColumns) Standard Constructor -
X_AD_ToolBarButton
Standard Constructor -
X_AD_ToolBarButton
public X_AD_ToolBarButton(Properties ctx, String AD_ToolBarButton_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_ToolBarButton
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 4 - System
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setAction
Set Action.- Specified by:
setAction
in interfaceI_AD_ToolBarButton
- Parameters:
Action
- Indicates the Action to be performed
-
getAction
Get Action.- Specified by:
getAction
in interfaceI_AD_ToolBarButton
- Returns:
- Indicates the Action to be performed
-
setActionClassName
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
Get Service Component Name.- Specified by:
getActionClassName
in interfaceI_AD_ToolBarButton
- Returns:
- The service component name that implements the interface for toolbar actions
-
setActionName
Set Action Name.- Specified by:
setActionName
in interfaceI_AD_ToolBarButton
- Parameters:
ActionName
- Action name on the toolbar
-
getActionName
Get Action Name.- Specified by:
getActionName
in interfaceI_AD_ToolBarButton
- Returns:
- Action name on the toolbar
-
getAD_Process
- 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
- 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
Set AD_ToolBarButton_UU.- Specified by:
setAD_ToolBarButton_UU
in interfaceI_AD_ToolBarButton
- Parameters:
AD_ToolBarButton_UU
- AD_ToolBarButton_UU
-
getAD_ToolBarButton_UU
Get AD_ToolBarButton_UU.- Specified by:
getAD_ToolBarButton_UU
in interfaceI_AD_ToolBarButton
- Returns:
- AD_ToolBarButton_UU
-
setComponentName
Set Component Name.- Specified by:
setComponentName
in interfaceI_AD_ToolBarButton
- Parameters:
ComponentName
- Component Name
-
getComponentName
Get Component Name.- Specified by:
getComponentName
in interfaceI_AD_ToolBarButton
- Returns:
- Component Name
-
setDisplayLogic
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
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
Set Entity Type.- Specified by:
setEntityType
in interfaceI_AD_ToolBarButton
- Parameters:
EntityType
- Dictionary Entity Type; Determines ownership and synchronization
-
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 Key Code.- Specified by:
setKeyStroke_KeyCode
in interfaceI_AD_ToolBarButton
- Parameters:
KeyStroke_KeyCode
- Key Code for shortcuts
-
getKeyStroke_KeyCode
public int getKeyStroke_KeyCode()Get Key Code.- Specified by:
getKeyStroke_KeyCode
in interfaceI_AD_ToolBarButton
- Returns:
- Key Code 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
Set Name.- Specified by:
setName
in interfaceI_AD_ToolBarButton
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_ToolBarButton
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPressedLogic
Set Pressed Logic.- Specified by:
setPressedLogic
in interfaceI_AD_ToolBarButton
- Parameters:
PressedLogic
- Pressed Logic
-
getPressedLogic
Get Pressed Logic.- Specified by:
getPressedLogic
in interfaceI_AD_ToolBarButton
- Returns:
- Pressed Logic
-
setReadOnlyLogic
Set Read Only Logic.- Specified by:
setReadOnlyLogic
in interfaceI_AD_ToolBarButton
- Parameters:
ReadOnlyLogic
- Logic to determine if field is read only (applies only when field is read-write)
-
getReadOnlyLogic
Get Read Only Logic.- Specified by:
getReadOnlyLogic
in interfaceI_AD_ToolBarButton
- Returns:
- Logic to determine if field is read only (applies only when field is read-write)
-
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
-