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
Generated Model for AD_Menu
- 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_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
ConstructorDescriptionX_AD_Menu
(Properties ctx, int AD_Menu_ID, String trxName) Standard ConstructorX_AD_Menu
(Properties ctx, int AD_Menu_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_Menu
(Properties ctx, String AD_Menu_UU, String trxName) Standard ConstructorX_AD_Menu
(Properties ctx, String AD_Menu_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_Menu
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet Action.int
Get Special Form.int
Get Info Window.int
Get Menu.Get AD_Menu_UU.int
Get Process.int
Get OS Task.int
Get Window.int
Get Workflow.Get Description.Get Entity Type.Get Record ID/ColumnNamegetName()
Get Name.Get Predefined Context Variables.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Centrally maintained.boolean
Get Read Only.boolean
isSOTrx()
Get Sales Transaction.boolean
Get Summary Level.void
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
Set Name.void
setPredefinedContextVariables
(String PredefinedContextVariables) Set Predefined Context Variables.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_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 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_Menu
Standard Constructor -
X_AD_Menu
Standard Constructor -
X_AD_Menu
Standard Constructor -
X_AD_Menu
Standard Constructor -
X_AD_Menu
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. -
getAction
Get Action. -
getAD_Form
- 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
- 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
Set AD_Menu_UU.- Specified by:
setAD_Menu_UU
in interfaceI_AD_Menu
- Parameters:
AD_Menu_UU
- AD_Menu_UU
-
getAD_Menu_UU
Get AD_Menu_UU.- Specified by:
getAD_Menu_UU
in interfaceI_AD_Menu
- Returns:
- AD_Menu_UU
-
getAD_Process
- 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
- 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
- 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
- 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
Set Description.- Specified by:
setDescription
in interfaceI_AD_Menu
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_AD_Menu
- Returns:
- Optional short description of the record
-
setEntityType
Set Entity Type.- Specified by:
setEntityType
in interfaceI_AD_Menu
- Parameters:
EntityType
- Dictionary Entity Type; Determines ownership and synchronization
-
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
Set Name. -
getName
Get Name. -
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPredefinedContextVariables
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
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
-