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 intACTION_AD_Reference_IDAction AD_Reference_ID=104static StringACTION_DetailDetail = Dstatic StringACTION_FormForm = Xstatic StringACTION_InfoInfo = Istatic StringACTION_ProcessProcess = Pstatic StringACTION_ReportReport = Rstatic StringACTION_TaskTask = Tstatic StringACTION_WindowWindow = Wstatic StringACTION_WorkbenchWorkbench = Bstatic StringACTION_WorkFlowWorkFlow = Fstatic intENTITYTYPE_AD_Reference_IDEntityType 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 intget_AccessLevel()AccessLevelStringgetAction()Get Action.I_AD_FormgetAD_Form()intgetAD_Form_ID()Get Special Form.I_AD_InfoWindowgetAD_InfoWindow()intgetAD_InfoWindow_ID()Get Info Window.intgetAD_Menu_ID()Get Menu.StringgetAD_Menu_UU()Get AD_Menu_UU.I_AD_ProcessgetAD_Process()intgetAD_Process_ID()Get Process.I_AD_TaskgetAD_Task()intgetAD_Task_ID()Get OS Task.I_AD_WindowgetAD_Window()intgetAD_Window_ID()Get Window.I_AD_WorkflowgetAD_Workflow()intgetAD_Workflow_ID()Get Workflow.StringgetDescription()Get Description.StringgetEntityType()Get Entity Type.KeyNamePairgetKeyNamePair()Get Record ID/ColumnNameStringgetName()Get Name.StringgetPredefinedContextVariables()Get Predefined Context Variables.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisCentrallyMaintained()Get Centrally maintained.booleanisReadOnly()Get Read Only.booleanisSOTrx()Get Sales Transaction.booleanisSummary()Get Summary Level.voidsetAction(String Action)Set Action.voidsetAD_Form_ID(int AD_Form_ID)Set Special Form.voidsetAD_InfoWindow_ID(int AD_InfoWindow_ID)Set Info Window.voidsetAD_Menu_ID(int AD_Menu_ID)Set Menu.voidsetAD_Menu_UU(String AD_Menu_UU)Set AD_Menu_UU.voidsetAD_Process_ID(int AD_Process_ID)Set Process.voidsetAD_Task_ID(int AD_Task_ID)Set OS Task.voidsetAD_Window_ID(int AD_Window_ID)Set Window.voidsetAD_Workflow_ID(int AD_Workflow_ID)Set Workflow.voidsetDescription(String Description)Set Description.voidsetEntityType(String EntityType)Set Entity Type.voidsetIsCentrallyMaintained(boolean IsCentrallyMaintained)Set Centrally maintained.voidsetIsReadOnly(boolean IsReadOnly)Set Read Only.voidsetIsSOTrx(boolean IsSOTrx)Set Sales Transaction.voidsetIsSummary(boolean IsSummary)Set Summary Level.voidsetName(String Name)Set Name.voidsetPredefinedContextVariables(String PredefinedContextVariables)Set Predefined Context Variables.StringtoString()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_AccessLevelin 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_Formin interfaceI_AD_Menu- Throws:
RuntimeException
-
setAD_Form_ID
public void setAD_Form_ID(int AD_Form_ID)
Set Special Form.- Specified by:
setAD_Form_IDin interfaceI_AD_Menu- Parameters:
AD_Form_ID- Special Form
-
getAD_Form_ID
public int getAD_Form_ID()
Get Special Form.- Specified by:
getAD_Form_IDin interfaceI_AD_Menu- Returns:
- Special Form
-
getAD_InfoWindow
public I_AD_InfoWindow getAD_InfoWindow() throws RuntimeException
- Specified by:
getAD_InfoWindowin interfaceI_AD_Menu- Throws:
RuntimeException
-
setAD_InfoWindow_ID
public void setAD_InfoWindow_ID(int AD_InfoWindow_ID)
Set Info Window.- Specified by:
setAD_InfoWindow_IDin 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_IDin 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_IDin interfaceI_AD_Menu- Parameters:
AD_Menu_ID- Identifies a Menu
-
getAD_Menu_ID
public int getAD_Menu_ID()
Get Menu.- Specified by:
getAD_Menu_IDin 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_UUin 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_UUin interfaceI_AD_Menu- Returns:
- AD_Menu_UU
-
getAD_Process
public I_AD_Process getAD_Process() throws RuntimeException
- Specified by:
getAD_Processin interfaceI_AD_Menu- Throws:
RuntimeException
-
setAD_Process_ID
public void setAD_Process_ID(int AD_Process_ID)
Set Process.- Specified by:
setAD_Process_IDin interfaceI_AD_Menu- Parameters:
AD_Process_ID- Process or Report
-
getAD_Process_ID
public int getAD_Process_ID()
Get Process.- Specified by:
getAD_Process_IDin interfaceI_AD_Menu- Returns:
- Process or Report
-
getAD_Task
public I_AD_Task getAD_Task() throws RuntimeException
- Specified by:
getAD_Taskin interfaceI_AD_Menu- Throws:
RuntimeException
-
setAD_Task_ID
public void setAD_Task_ID(int AD_Task_ID)
Set OS Task.- Specified by:
setAD_Task_IDin 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_IDin interfaceI_AD_Menu- Returns:
- Operation System Task
-
getAD_Window
public I_AD_Window getAD_Window() throws RuntimeException
- Specified by:
getAD_Windowin interfaceI_AD_Menu- Throws:
RuntimeException
-
setAD_Window_ID
public void setAD_Window_ID(int AD_Window_ID)
Set Window.- Specified by:
setAD_Window_IDin 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_IDin interfaceI_AD_Menu- Returns:
- Data entry or display window
-
getAD_Workflow
public I_AD_Workflow getAD_Workflow() throws RuntimeException
- Specified by:
getAD_Workflowin interfaceI_AD_Menu- Throws:
RuntimeException
-
setAD_Workflow_ID
public void setAD_Workflow_ID(int AD_Workflow_ID)
Set Workflow.- Specified by:
setAD_Workflow_IDin 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_IDin interfaceI_AD_Menu- Returns:
- Workflow or combination of tasks
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescriptionin interfaceI_AD_Menu- Parameters:
Description- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescriptionin interfaceI_AD_Menu- Returns:
- Optional short description of the record
-
setEntityType
public void setEntityType(String EntityType)
Set Entity Type.- Specified by:
setEntityTypein interfaceI_AD_Menu- Parameters:
EntityType- Dictionary Entity Type; Determines ownership and synchronization
-
getEntityType
public String getEntityType()
Get Entity Type.- Specified by:
getEntityTypein interfaceI_AD_Menu- Returns:
- Dictionary Entity Type; Determines ownership and synchronization
-
setIsCentrallyMaintained
public void setIsCentrallyMaintained(boolean IsCentrallyMaintained)
Set Centrally maintained.- Specified by:
setIsCentrallyMaintainedin interfaceI_AD_Menu- Parameters:
IsCentrallyMaintained- Information maintained in System Element table
-
isCentrallyMaintained
public boolean isCentrallyMaintained()
Get Centrally maintained.- Specified by:
isCentrallyMaintainedin interfaceI_AD_Menu- Returns:
- Information maintained in System Element table
-
setIsReadOnly
public void setIsReadOnly(boolean IsReadOnly)
Set Read Only.- Specified by:
setIsReadOnlyin interfaceI_AD_Menu- Parameters:
IsReadOnly- Field is read only
-
isReadOnly
public boolean isReadOnly()
Get Read Only.- Specified by:
isReadOnlyin interfaceI_AD_Menu- Returns:
- Field is read only
-
setIsSOTrx
public void setIsSOTrx(boolean IsSOTrx)
Set Sales Transaction.- Specified by:
setIsSOTrxin 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:
setIsSummaryin 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:
setPredefinedContextVariablesin 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:
getPredefinedContextVariablesin interfaceI_AD_Menu- Returns:
- Predefined context variables to inject when opening a menu entry or a window
-
-