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
public class X_AD_Preference extends PO implements I_AD_Preference, I_Persistent
Generated Model for AD_Preference- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
PREFERENCEFOR_AD_Reference_ID
PreferenceFor AD_Reference_ID=200084static String
PREFERENCEFOR_Process
Process = Pstatic String
PREFERENCEFOR_Window
Window = W-
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_Preference
accessLevel, COLUMNNAME_AD_Client_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
Constructors Constructor Description X_AD_Preference(Properties ctx, int AD_Preference_ID, String trxName)
Standard ConstructorX_AD_Preference(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()
AccessLevelI_AD_InfoWindow
getAD_InfoWindow()
int
getAD_InfoWindow_ID()
Get Info Window.int
getAD_Preference_ID()
Get Preference.String
getAD_Preference_UU()
Get AD_Preference_UU.I_AD_Process
getAD_Process()
int
getAD_Process_ID()
Get Process.I_AD_AllUsers_V
getAD_User()
int
getAD_User_ID()
Get User/Contact.I_AD_Window
getAD_Window()
int
getAD_Window_ID()
Get Window.String
getAttribute()
Get Attribute.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getPreferenceFor()
Get Preference For.String
getValue()
Get Search Key.protected POInfo
initPO(Properties ctx)
Load Meta Datavoid
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
setValue(String Value)
Set Search Key.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_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 Detail
-
PREFERENCEFOR_AD_Reference_ID
public static final int PREFERENCEFOR_AD_Reference_ID
PreferenceFor AD_Reference_ID=200084- See Also:
- Constant Field Values
-
PREFERENCEFOR_Process
public static final String PREFERENCEFOR_Process
Process = P- See Also:
- Constant Field Values
-
PREFERENCEFOR_Window
public static final String PREFERENCEFOR_Window
Window = W- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_Preference
public X_AD_Preference(Properties ctx, int AD_Preference_ID, String trxName)
Standard Constructor
-
X_AD_Preference
public X_AD_Preference(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 7 - System - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAD_InfoWindow
public I_AD_InfoWindow getAD_InfoWindow() throws RuntimeException
- 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
public void setAD_Preference_UU(String AD_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
public String getAD_Preference_UU()
Get AD_Preference_UU.- Specified by:
getAD_Preference_UU
in interfaceI_AD_Preference
- Returns:
- AD_Preference_UU
-
getAD_Process
public I_AD_Process getAD_Process() throws RuntimeException
- 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
public I_AD_AllUsers_V getAD_User() throws RuntimeException
- 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
public I_AD_Window getAD_Window() throws RuntimeException
- 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
public void setAttribute(String Attribute)
Set Attribute.- Specified by:
setAttribute
in interfaceI_AD_Preference
- Parameters:
Attribute
- Attribute
-
getAttribute
public String getAttribute()
Get Attribute.- Specified by:
getAttribute
in interfaceI_AD_Preference
- Returns:
- Attribute
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setPreferenceFor
public void setPreferenceFor(String PreferenceFor)
Set Preference For.- Specified by:
setPreferenceFor
in interfaceI_AD_Preference
- Parameters:
PreferenceFor
- Type of preference, it can window, info window or parameter process
-
getPreferenceFor
public String getPreferenceFor()
Get Preference For.- Specified by:
getPreferenceFor
in interfaceI_AD_Preference
- Returns:
- Type of preference, it can window, info window or parameter process
-
setValue
public void setValue(String Value)
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
public String getValue()
Get Search Key.- Specified by:
getValue
in interfaceI_AD_Preference
- Returns:
- Search key for the record in the format required - must be unique
-
-