Package org.compiere.model
Class X_AD_UserPreference
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_UserPreference
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_UserPreference
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MUserPreference
Generated Model for AD_UserPreference
- Version:
- Release 12 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
According to threshold = 2static final int
ViewFindResult AD_Reference_ID=200170static final String
Always in Grid View = 1static final String
Default = 0Fields 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_UserPreference
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_AD_UserPreference_ID, COLUMNNAME_AD_UserPreference_UU, COLUMNNAME_AutoCommit, COLUMNNAME_AutomaticDecimalPlacesForAmoun, COLUMNNAME_AutoNew, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_GridAfterFindThreshold, COLUMNNAME_IsActive, COLUMNNAME_IsDetailedZoomAcross, COLUMNNAME_IsReadOnlySession, COLUMNNAME_IsShowTechnicalInfOnHelp, COLUMNNAME_IsUseSimilarTo, COLUMNNAME_MigrationScriptComment, COLUMNNAME_ToggleOnDoubleClick, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_ViewFindResult, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_UserPreference
(Properties ctx, int AD_UserPreference_ID, String trxName) Standard ConstructorX_AD_UserPreference
(Properties ctx, int AD_UserPreference_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_UserPreference
(Properties ctx, String AD_UserPreference_UU, String trxName) Standard ConstructorX_AD_UserPreference
(Properties ctx, String AD_UserPreference_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_UserPreference
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get User/Contact.int
Get AD_UserPreference_ID.Get AD_UserPreference_UU.int
Get Automatic Decimal Places For Amounts.int
Get Threshold.Get Migration Script Comment.Get View find result.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Automatic Commit.boolean
Get Automatic New Record.boolean
Get Detailed Zoom Across.boolean
Get Read Only Session.boolean
Get Show Technical Information on Help.boolean
Get Toggle on Double Click.boolean
Get Use Similar To.void
setAD_User_ID
(int AD_User_ID) Set User/Contact.void
setAD_UserPreference_ID
(int AD_UserPreference_ID) Set AD_UserPreference_ID.void
setAD_UserPreference_UU
(String AD_UserPreference_UU) Set AD_UserPreference_UU.void
setAutoCommit
(boolean AutoCommit) Set Automatic Commit.void
setAutomaticDecimalPlacesForAmoun
(int AutomaticDecimalPlacesForAmoun) Set Automatic Decimal Places For Amounts.void
setAutoNew
(boolean AutoNew) Set Automatic New Record.void
setGridAfterFindThreshold
(int GridAfterFindThreshold) Set Threshold.void
setIsDetailedZoomAcross
(boolean IsDetailedZoomAcross) Set Detailed Zoom Across.void
setIsReadOnlySession
(boolean IsReadOnlySession) Set Read Only Session.void
setIsShowTechnicalInfOnHelp
(boolean IsShowTechnicalInfOnHelp) Set Show Technical Information on Help.void
setIsUseSimilarTo
(boolean IsUseSimilarTo) Set Use Similar To.void
setMigrationScriptComment
(String MigrationScriptComment) Set Migration Script Comment.void
setToggleOnDoubleClick
(boolean ToggleOnDoubleClick) Set Toggle on Double Click.void
setViewFindResult
(String ViewFindResult) Set View find result.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_UserPreference
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
-
VIEWFINDRESULT_AD_Reference_ID
public static final int VIEWFINDRESULT_AD_Reference_IDViewFindResult AD_Reference_ID=200170- See Also:
-
VIEWFINDRESULT_Default
Default = 0- See Also:
-
VIEWFINDRESULT_AlwaysInGridView
Always in Grid View = 1- See Also:
-
VIEWFINDRESULT_AccordingToThreshold
According to threshold = 2- See Also:
-
-
Constructor Details
-
X_AD_UserPreference
Standard Constructor -
X_AD_UserPreference
public X_AD_UserPreference(Properties ctx, int AD_UserPreference_ID, String trxName, String... virtualColumns) Standard Constructor -
X_AD_UserPreference
Standard Constructor -
X_AD_UserPreference
public X_AD_UserPreference(Properties ctx, String AD_UserPreference_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_UserPreference
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 -
setAD_UserPreference_ID
public void setAD_UserPreference_ID(int AD_UserPreference_ID) Set AD_UserPreference_ID.- Specified by:
setAD_UserPreference_ID
in interfaceI_AD_UserPreference
- Parameters:
AD_UserPreference_ID
- AD_UserPreference_ID
-
getAD_UserPreference_ID
public int getAD_UserPreference_ID()Get AD_UserPreference_ID.- Specified by:
getAD_UserPreference_ID
in interfaceI_AD_UserPreference
- Returns:
- AD_UserPreference_ID
-
setAD_UserPreference_UU
Set AD_UserPreference_UU.- Specified by:
setAD_UserPreference_UU
in interfaceI_AD_UserPreference
- Parameters:
AD_UserPreference_UU
- AD_UserPreference_UU
-
getAD_UserPreference_UU
Get AD_UserPreference_UU.- Specified by:
getAD_UserPreference_UU
in interfaceI_AD_UserPreference
- Returns:
- AD_UserPreference_UU
-
getAD_User
- Specified by:
getAD_User
in interfaceI_AD_UserPreference
- 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_UserPreference
- 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_UserPreference
- Returns:
- User within the system - Internal or Business Partner Contact
-
setAutoCommit
public void setAutoCommit(boolean AutoCommit) Set Automatic Commit.- Specified by:
setAutoCommit
in interfaceI_AD_UserPreference
- Parameters:
AutoCommit
- Automatic Commit
-
isAutoCommit
public boolean isAutoCommit()Get Automatic Commit.- Specified by:
isAutoCommit
in interfaceI_AD_UserPreference
- Returns:
- Automatic Commit
-
setAutoNew
public void setAutoNew(boolean AutoNew) Set Automatic New Record.- Specified by:
setAutoNew
in interfaceI_AD_UserPreference
- Parameters:
AutoNew
- Automatic New Record
-
isAutoNew
public boolean isAutoNew()Get Automatic New Record.- Specified by:
isAutoNew
in interfaceI_AD_UserPreference
- Returns:
- Automatic New Record
-
setAutomaticDecimalPlacesForAmoun
public void setAutomaticDecimalPlacesForAmoun(int AutomaticDecimalPlacesForAmoun) Set Automatic Decimal Places For Amounts.- Specified by:
setAutomaticDecimalPlacesForAmoun
in interfaceI_AD_UserPreference
- Parameters:
AutomaticDecimalPlacesForAmoun
- Automatically insert a decimal point
-
getAutomaticDecimalPlacesForAmoun
public int getAutomaticDecimalPlacesForAmoun()Get Automatic Decimal Places For Amounts.- Specified by:
getAutomaticDecimalPlacesForAmoun
in interfaceI_AD_UserPreference
- Returns:
- Automatically insert a decimal point
-
setGridAfterFindThreshold
public void setGridAfterFindThreshold(int GridAfterFindThreshold) Set Threshold.- Specified by:
setGridAfterFindThreshold
in interfaceI_AD_UserPreference
- Parameters:
GridAfterFindThreshold
- Force grid view when Find panel closes if number of records exceed threshold
-
getGridAfterFindThreshold
public int getGridAfterFindThreshold()Get Threshold.- Specified by:
getGridAfterFindThreshold
in interfaceI_AD_UserPreference
- Returns:
- Force grid view when Find panel closes if number of records exceed threshold
-
setIsDetailedZoomAcross
public void setIsDetailedZoomAcross(boolean IsDetailedZoomAcross) Set Detailed Zoom Across.- Specified by:
setIsDetailedZoomAcross
in interfaceI_AD_UserPreference
- Parameters:
IsDetailedZoomAcross
- Detailed Zoom Across
-
isDetailedZoomAcross
public boolean isDetailedZoomAcross()Get Detailed Zoom Across.- Specified by:
isDetailedZoomAcross
in interfaceI_AD_UserPreference
- Returns:
- Detailed Zoom Across
-
setIsReadOnlySession
public void setIsReadOnlySession(boolean IsReadOnlySession) Set Read Only Session.- Specified by:
setIsReadOnlySession
in interfaceI_AD_UserPreference
- Parameters:
IsReadOnlySession
- Read Only Session
-
isReadOnlySession
public boolean isReadOnlySession()Get Read Only Session.- Specified by:
isReadOnlySession
in interfaceI_AD_UserPreference
- Returns:
- Read Only Session
-
setIsShowTechnicalInfOnHelp
public void setIsShowTechnicalInfOnHelp(boolean IsShowTechnicalInfOnHelp) Set Show Technical Information on Help.- Specified by:
setIsShowTechnicalInfOnHelp
in interfaceI_AD_UserPreference
- Parameters:
IsShowTechnicalInfOnHelp
- Show Technical Information on Help
-
isShowTechnicalInfOnHelp
public boolean isShowTechnicalInfOnHelp()Get Show Technical Information on Help.- Specified by:
isShowTechnicalInfOnHelp
in interfaceI_AD_UserPreference
- Returns:
- Show Technical Information on Help
-
setIsUseSimilarTo
public void setIsUseSimilarTo(boolean IsUseSimilarTo) Set Use Similar To.- Specified by:
setIsUseSimilarTo
in interfaceI_AD_UserPreference
- Parameters:
IsUseSimilarTo
- Use Similar To
-
isUseSimilarTo
public boolean isUseSimilarTo()Get Use Similar To.- Specified by:
isUseSimilarTo
in interfaceI_AD_UserPreference
- Returns:
- Use Similar To
-
setMigrationScriptComment
Set Migration Script Comment.- Specified by:
setMigrationScriptComment
in interfaceI_AD_UserPreference
- Parameters:
MigrationScriptComment
- Migration Script Comment
-
getMigrationScriptComment
Get Migration Script Comment.- Specified by:
getMigrationScriptComment
in interfaceI_AD_UserPreference
- Returns:
- Migration Script Comment
-
setToggleOnDoubleClick
public void setToggleOnDoubleClick(boolean ToggleOnDoubleClick) Set Toggle on Double Click.- Specified by:
setToggleOnDoubleClick
in interfaceI_AD_UserPreference
- Parameters:
ToggleOnDoubleClick
- Defines if double click in a field on grid mode switch to form view
-
isToggleOnDoubleClick
public boolean isToggleOnDoubleClick()Get Toggle on Double Click.- Specified by:
isToggleOnDoubleClick
in interfaceI_AD_UserPreference
- Returns:
- Defines if double click in a field on grid mode switch to form view
-
setViewFindResult
Set View find result.- Specified by:
setViewFindResult
in interfaceI_AD_UserPreference
- Parameters:
ViewFindResult
- Does the system must switch to grid mode after the Find panel closes
-
getViewFindResult
Get View find result.- Specified by:
getViewFindResult
in interfaceI_AD_UserPreference
- Returns:
- Does the system must switch to grid mode after the Find panel closes
-