Package org.compiere.model
Class X_AD_Preference
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_Preference
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_Preference
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPreference
Generated Model for AD_Preference
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
PreferenceFor AD_Reference_ID=200084static final String
Form = Xstatic final String
Info Window = Istatic final String
Process = Pstatic final String
Window = WFields 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_Preference
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Form_ID, COLUMNNAME_AD_InfoWindow_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Preference_ID, COLUMNNAME_AD_Preference_UU, COLUMNNAME_AD_Process_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_AD_Window_ID, COLUMNNAME_Attribute, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_PreferenceFor, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_Preference
(Properties ctx, int AD_Preference_ID, String trxName) Standard ConstructorX_AD_Preference
(Properties ctx, int AD_Preference_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_Preference
(Properties ctx, String AD_Preference_UU, String trxName) Standard ConstructorX_AD_Preference
(Properties ctx, String AD_Preference_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_Preference
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Special Form.int
Get Info Window.int
Get Preference.Get AD_Preference_UU.int
Get Process.int
Get User/Contact.int
Get Window.Get Attribute.Get Record ID/ColumnNameGet Preference For.getValue()
Get Search Key.protected POInfo
initPO
(Properties ctx) Load Meta Datavoid
setAD_Form_ID
(int AD_Form_ID) Set Special Form.void
setAD_InfoWindow_ID
(int AD_InfoWindow_ID) Set Info Window.void
setAD_Preference_ID
(int AD_Preference_ID) Set Preference.void
setAD_Preference_UU
(String AD_Preference_UU) Set AD_Preference_UU.void
setAD_Process_ID
(int AD_Process_ID) Set Process.void
setAD_User_ID
(int AD_User_ID) Set User/Contact.void
setAD_Window_ID
(int AD_Window_ID) Set Window.void
setAttribute
(String Attribute) Set Attribute.void
setPreferenceFor
(String PreferenceFor) Set Preference For.void
Set Search Key.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_Preference
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
-
PREFERENCEFOR_AD_Reference_ID
public static final int PREFERENCEFOR_AD_Reference_IDPreferenceFor AD_Reference_ID=200084- See Also:
-
PREFERENCEFOR_InfoWindow
Info Window = I- See Also:
-
PREFERENCEFOR_Process
Process = P- See Also:
-
PREFERENCEFOR_Window
Window = W- See Also:
-
PREFERENCEFOR_Form
Form = X- See Also:
-
-
Constructor Details
-
X_AD_Preference
Standard Constructor -
X_AD_Preference
public X_AD_Preference(Properties ctx, int AD_Preference_ID, String trxName, String... virtualColumns) Standard Constructor -
X_AD_Preference
Standard Constructor -
X_AD_Preference
public X_AD_Preference(Properties ctx, String AD_Preference_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_Preference
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 7 - System - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_Form
- Specified by:
getAD_Form
in interfaceI_AD_Preference
- 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_Preference
- 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_Preference
- Returns:
- Special Form
-
getAD_InfoWindow
- Specified by:
getAD_InfoWindow
in interfaceI_AD_Preference
- 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_Preference
- 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_Preference
- Returns:
- Info and search/select Window
-
setAD_Preference_ID
public void setAD_Preference_ID(int AD_Preference_ID) Set Preference.- Specified by:
setAD_Preference_ID
in interfaceI_AD_Preference
- Parameters:
AD_Preference_ID
- Personal Value Preference
-
getAD_Preference_ID
public int getAD_Preference_ID()Get Preference.- Specified by:
getAD_Preference_ID
in interfaceI_AD_Preference
- Returns:
- Personal Value Preference
-
setAD_Preference_UU
Set AD_Preference_UU.- Specified by:
setAD_Preference_UU
in interfaceI_AD_Preference
- Parameters:
AD_Preference_UU
- AD_Preference_UU
-
getAD_Preference_UU
Get AD_Preference_UU.- Specified by:
getAD_Preference_UU
in interfaceI_AD_Preference
- Returns:
- AD_Preference_UU
-
getAD_Process
- Specified by:
getAD_Process
in interfaceI_AD_Preference
- Throws:
RuntimeException
-
setAD_Process_ID
public void setAD_Process_ID(int AD_Process_ID) Set Process.- Specified by:
setAD_Process_ID
in interfaceI_AD_Preference
- 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_Preference
- Returns:
- Process or Report
-
getAD_User
- Specified by:
getAD_User
in interfaceI_AD_Preference
- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID) Set User/Contact.- Specified by:
setAD_User_ID
in interfaceI_AD_Preference
- Parameters:
AD_User_ID
- User within the system - Internal or Business Partner Contact
-
getAD_User_ID
public int getAD_User_ID()Get User/Contact.- Specified by:
getAD_User_ID
in interfaceI_AD_Preference
- Returns:
- User within the system - Internal or Business Partner Contact
-
getAD_Window
- Specified by:
getAD_Window
in interfaceI_AD_Preference
- Throws:
RuntimeException
-
setAD_Window_ID
public void setAD_Window_ID(int AD_Window_ID) Set Window.- Specified by:
setAD_Window_ID
in interfaceI_AD_Preference
- 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_Preference
- Returns:
- Data entry or display window
-
setAttribute
Set Attribute.- Specified by:
setAttribute
in interfaceI_AD_Preference
- Parameters:
Attribute
- Attribute
-
getAttribute
Get Attribute.- Specified by:
getAttribute
in interfaceI_AD_Preference
- Returns:
- Attribute
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPreferenceFor
Set Preference For.- Specified by:
setPreferenceFor
in interfaceI_AD_Preference
- Parameters:
PreferenceFor
- Type of preference, it can window, info window or parameter process
-
getPreferenceFor
Get Preference For.- Specified by:
getPreferenceFor
in interfaceI_AD_Preference
- Returns:
- Type of preference, it can window, info window or parameter process
-
setValue
Set Search Key.- Specified by:
setValue
in interfaceI_AD_Preference
- Parameters:
Value
- Search key for the record in the format required - must be unique
-
getValue
Get Search Key.- Specified by:
getValue
in interfaceI_AD_Preference
- Returns:
- Search key for the record in the format required - must be unique
-