Package org.compiere.model
Class X_AD_Menu
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_Menu
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_Menu
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MMenu
public class X_AD_Menu extends PO implements I_AD_Menu, I_Persistent
Generated Model for AD_Menu- 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_Menu
accessLevel, COLUMNNAME_Action, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Form_ID, COLUMNNAME_AD_InfoWindow_ID, COLUMNNAME_AD_Menu_ID, COLUMNNAME_AD_Menu_UU, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Process_ID, COLUMNNAME_AD_Task_ID, COLUMNNAME_AD_Window_ID, COLUMNNAME_AD_Workflow_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_EntityType, COLUMNNAME_IsActive, COLUMNNAME_IsCentrallyMaintained, COLUMNNAME_IsReadOnly, COLUMNNAME_IsSOTrx, COLUMNNAME_IsSummary, COLUMNNAME_Name, COLUMNNAME_PredefinedContextVariables, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_Menu(Properties ctx, int AD_Menu_ID, String trxName)
Standard ConstructorX_AD_Menu(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.I_AD_Form
getAD_Form()
int
getAD_Form_ID()
Get Special Form.I_AD_InfoWindow
getAD_InfoWindow()
int
getAD_InfoWindow_ID()
Get Info Window.int
getAD_Menu_ID()
Get Menu.String
getAD_Menu_UU()
Get AD_Menu_UU.I_AD_Process
getAD_Process()
int
getAD_Process_ID()
Get Process.I_AD_Task
getAD_Task()
int
getAD_Task_ID()
Get OS Task.I_AD_Window
getAD_Window()
int
getAD_Window_ID()
Get Window.I_AD_Workflow
getAD_Workflow()
int
getAD_Workflow_ID()
Get Workflow.String
getDescription()
Get Description.String
getEntityType()
Get Entity Type.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getPredefinedContextVariables()
Get Predefined Context Variables.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isCentrallyMaintained()
Get Centrally maintained.boolean
isReadOnly()
Get Read Only.boolean
isSOTrx()
Get Sales Transaction.boolean
isSummary()
Get Summary Level.void
setAction(String Action)
Set Action.void
setAD_Form_ID(int AD_Form_ID)
Set Special Form.void
setAD_InfoWindow_ID(int AD_InfoWindow_ID)
Set Info Window.void
setAD_Menu_ID(int AD_Menu_ID)
Set Menu.void
setAD_Menu_UU(String AD_Menu_UU)
Set AD_Menu_UU.void
setAD_Process_ID(int AD_Process_ID)
Set Process.void
setAD_Task_ID(int AD_Task_ID)
Set OS Task.void
setAD_Window_ID(int AD_Window_ID)
Set Window.void
setAD_Workflow_ID(int AD_Workflow_ID)
Set Workflow.void
setDescription(String Description)
Set Description.void
setEntityType(String EntityType)
Set Entity Type.void
setIsCentrallyMaintained(boolean IsCentrallyMaintained)
Set Centrally maintained.void
setIsReadOnly(boolean IsReadOnly)
Set Read Only.void
setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.void
setIsSummary(boolean IsSummary)
Set Summary Level.void
setName(String Name)
Set Name.void
setPredefinedContextVariables(String PredefinedContextVariables)
Set Predefined Context Variables.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_Menu
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_Menu
public X_AD_Menu(Properties ctx, int AD_Menu_ID, String trxName)
Standard Constructor
-
X_AD_Menu
public X_AD_Menu(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.
-
getAction
public String getAction()
Get Action.
-
getAD_Form
public I_AD_Form getAD_Form() throws RuntimeException
- Specified by:
getAD_Form
in interfaceI_AD_Menu
- Throws:
RuntimeException
-
setAD_Form_ID
public void setAD_Form_ID(int AD_Form_ID)
Set Special Form.- Specified by:
setAD_Form_ID
in interfaceI_AD_Menu
- Parameters:
AD_Form_ID
- Special Form
-
getAD_Form_ID
public int getAD_Form_ID()
Get Special Form.- Specified by:
getAD_Form_ID
in interfaceI_AD_Menu
- Returns:
- Special Form
-
getAD_InfoWindow
public I_AD_InfoWindow getAD_InfoWindow() throws RuntimeException
- Specified by:
getAD_InfoWindow
in interfaceI_AD_Menu
- Throws:
RuntimeException
-
setAD_InfoWindow_ID
public void setAD_InfoWindow_ID(int AD_InfoWindow_ID)
Set Info Window.- Specified by:
setAD_InfoWindow_ID
in interfaceI_AD_Menu
- Parameters:
AD_InfoWindow_ID
- Info and search/select Window
-
getAD_InfoWindow_ID
public int getAD_InfoWindow_ID()
Get Info Window.- Specified by:
getAD_InfoWindow_ID
in interfaceI_AD_Menu
- Returns:
- Info and search/select Window
-
setAD_Menu_ID
public void setAD_Menu_ID(int AD_Menu_ID)
Set Menu.- Specified by:
setAD_Menu_ID
in interfaceI_AD_Menu
- Parameters:
AD_Menu_ID
- Identifies a Menu
-
getAD_Menu_ID
public int getAD_Menu_ID()
Get Menu.- Specified by:
getAD_Menu_ID
in interfaceI_AD_Menu
- Returns:
- Identifies a Menu
-
setAD_Menu_UU
public void setAD_Menu_UU(String AD_Menu_UU)
Set AD_Menu_UU.- Specified by:
setAD_Menu_UU
in interfaceI_AD_Menu
- Parameters:
AD_Menu_UU
- AD_Menu_UU
-
getAD_Menu_UU
public String getAD_Menu_UU()
Get AD_Menu_UU.- Specified by:
getAD_Menu_UU
in interfaceI_AD_Menu
- Returns:
- AD_Menu_UU
-
getAD_Process
public I_AD_Process getAD_Process() throws RuntimeException
- Specified by:
getAD_Process
in interfaceI_AD_Menu
- Throws:
RuntimeException
-
setAD_Process_ID
public void setAD_Process_ID(int AD_Process_ID)
Set Process.- Specified by:
setAD_Process_ID
in interfaceI_AD_Menu
- 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_Menu
- Returns:
- Process or Report
-
getAD_Task
public I_AD_Task getAD_Task() throws RuntimeException
- Specified by:
getAD_Task
in interfaceI_AD_Menu
- Throws:
RuntimeException
-
setAD_Task_ID
public void setAD_Task_ID(int AD_Task_ID)
Set OS Task.- Specified by:
setAD_Task_ID
in interfaceI_AD_Menu
- Parameters:
AD_Task_ID
- Operation System Task
-
getAD_Task_ID
public int getAD_Task_ID()
Get OS Task.- Specified by:
getAD_Task_ID
in interfaceI_AD_Menu
- Returns:
- Operation System Task
-
getAD_Window
public I_AD_Window getAD_Window() throws RuntimeException
- Specified by:
getAD_Window
in interfaceI_AD_Menu
- Throws:
RuntimeException
-
setAD_Window_ID
public void setAD_Window_ID(int AD_Window_ID)
Set Window.- Specified by:
setAD_Window_ID
in interfaceI_AD_Menu
- Parameters:
AD_Window_ID
- Data entry or display window
-
getAD_Window_ID
public int getAD_Window_ID()
Get Window.- Specified by:
getAD_Window_ID
in interfaceI_AD_Menu
- Returns:
- Data entry or display window
-
getAD_Workflow
public I_AD_Workflow getAD_Workflow() throws RuntimeException
- Specified by:
getAD_Workflow
in interfaceI_AD_Menu
- Throws:
RuntimeException
-
setAD_Workflow_ID
public void setAD_Workflow_ID(int AD_Workflow_ID)
Set Workflow.- Specified by:
setAD_Workflow_ID
in interfaceI_AD_Menu
- Parameters:
AD_Workflow_ID
- Workflow or combination of tasks
-
getAD_Workflow_ID
public int getAD_Workflow_ID()
Get Workflow.- Specified by:
getAD_Workflow_ID
in interfaceI_AD_Menu
- Returns:
- Workflow or combination of tasks
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_AD_Menu
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_AD_Menu
- Returns:
- Optional short description of the record
-
setEntityType
public void setEntityType(String EntityType)
Set Entity Type.- Specified by:
setEntityType
in interfaceI_AD_Menu
- Parameters:
EntityType
- Dictionary Entity Type; Determines ownership and synchronization
-
getEntityType
public String getEntityType()
Get Entity Type.- Specified by:
getEntityType
in interfaceI_AD_Menu
- Returns:
- Dictionary Entity Type; Determines ownership and synchronization
-
setIsCentrallyMaintained
public void setIsCentrallyMaintained(boolean IsCentrallyMaintained)
Set Centrally maintained.- Specified by:
setIsCentrallyMaintained
in interfaceI_AD_Menu
- Parameters:
IsCentrallyMaintained
- Information maintained in System Element table
-
isCentrallyMaintained
public boolean isCentrallyMaintained()
Get Centrally maintained.- Specified by:
isCentrallyMaintained
in interfaceI_AD_Menu
- Returns:
- Information maintained in System Element table
-
setIsReadOnly
public void setIsReadOnly(boolean IsReadOnly)
Set Read Only.- Specified by:
setIsReadOnly
in interfaceI_AD_Menu
- Parameters:
IsReadOnly
- Field is read only
-
isReadOnly
public boolean isReadOnly()
Get Read Only.- Specified by:
isReadOnly
in interfaceI_AD_Menu
- Returns:
- Field is read only
-
setIsSOTrx
public void setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.- Specified by:
setIsSOTrx
in interfaceI_AD_Menu
- Parameters:
IsSOTrx
- This is a Sales Transaction
-
isSOTrx
public boolean isSOTrx()
Get Sales Transaction.
-
setIsSummary
public void setIsSummary(boolean IsSummary)
Set Summary Level.- Specified by:
setIsSummary
in interfaceI_AD_Menu
- Parameters:
IsSummary
- This is a summary entity
-
isSummary
public boolean isSummary()
Get Summary Level.
-
setName
public void setName(String Name)
Set Name.
-
getName
public String getName()
Get Name.
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPredefinedContextVariables
public void setPredefinedContextVariables(String PredefinedContextVariables)
Set Predefined Context Variables.- Specified by:
setPredefinedContextVariables
in interfaceI_AD_Menu
- Parameters:
PredefinedContextVariables
- Predefined context variables to inject when opening a menu entry or a window
-
getPredefinedContextVariables
public String getPredefinedContextVariables()
Get Predefined Context Variables.- Specified by:
getPredefinedContextVariables
in interfaceI_AD_Menu
- Returns:
- Predefined context variables to inject when opening a menu entry or a window
-
-