Package org.compiere.model
Class X_AD_PasswordRule
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_PasswordRule
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_PasswordRule
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MPasswordRule
Generated Model for AD_PasswordRule
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
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, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_AD_PasswordRule
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PasswordRule_ID, COLUMNNAME_AD_PasswordRule_UU, COLUMNNAME_AlphabeticalCharacter, COLUMNNAME_AlphabeticalSequence, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Days_Reuse_Password, COLUMNNAME_DigitCharacter, COLUMNNAME_IsActive, COLUMNNAME_IsDictMatchBackwards, COLUMNNAME_IsUserNameRule, COLUMNNAME_IsUsingDictionary, COLUMNNAME_IsWhitespace, COLUMNNAME_LowercaseCharacter, COLUMNNAME_MaxLength, COLUMNNAME_MinLength, COLUMNNAME_Name, COLUMNNAME_NonAlphaNumericCharacter, COLUMNNAME_NumericalSequence, COLUMNNAME_PathDictionary, COLUMNNAME_QWERTYSequence, COLUMNNAME_RepeatCharacterRegex, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_UppercaseCharacter, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_PasswordRule
(Properties ctx, int AD_PasswordRule_ID, String trxName) Standard ConstructorX_AD_PasswordRule
(Properties ctx, int AD_PasswordRule_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_PasswordRule
(Properties ctx, String AD_PasswordRule_UU, String trxName) Standard ConstructorX_AD_PasswordRule
(Properties ctx, String AD_PasswordRule_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_PasswordRule
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Password Policies.Get AD_PasswordRule_UU.int
Get Alphabetical Character.int
Get Alphabetical Sequence.int
Get Days Reuse Password.int
Get Digit Character.Get Record ID/ColumnNameint
Get Lowercase Character.int
Get Maximum Length.int
Get Minimum Length.getName()
Get Name.int
Get Non Alpha Numeric Character.int
Get Numerical Sequence.Get Path Dictionary.int
Get QWERTY Sequence.int
Get Repeat Character Regex.int
Get Uppercase Character.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Match Backwards of Dictionary.boolean
Get User Name Rule.boolean
Get Using Dictionary.boolean
Get Whitespace.void
setAD_PasswordRule_ID
(int AD_PasswordRule_ID) Set Password Policies.void
setAD_PasswordRule_UU
(String AD_PasswordRule_UU) Set AD_PasswordRule_UU.void
setAlphabeticalCharacter
(int AlphabeticalCharacter) Set Alphabetical Character.void
setAlphabeticalSequence
(int AlphabeticalSequence) Set Alphabetical Sequence.void
setDays_Reuse_Password
(int Days_Reuse_Password) Set Days Reuse Password.void
setDigitCharacter
(int DigitCharacter) Set Digit Character.void
setIsDictMatchBackwards
(boolean IsDictMatchBackwards) Set Match Backwards of Dictionary.void
setIsUserNameRule
(boolean IsUserNameRule) Set User Name Rule.void
setIsUsingDictionary
(boolean IsUsingDictionary) Set Using Dictionary.void
setIsWhitespace
(boolean IsWhitespace) Set Whitespace.void
setLowercaseCharacter
(int LowercaseCharacter) Set Lowercase Character.void
setMaxLength
(int MaxLength) Set Maximum Length.void
setMinLength
(int MinLength) Set Minimum Length.void
Set Name.void
setNonAlphaNumericCharacter
(int NonAlphaNumericCharacter) Set Non Alpha Numeric Character.void
setNumericalSequence
(int NumericalSequence) Set Numerical Sequence.void
setPathDictionary
(String PathDictionary) Set Path Dictionary.void
setQWERTYSequence
(int QWERTYSequence) Set QWERTY Sequence.void
setRepeatCharacterRegex
(int RepeatCharacterRegex) Set Repeat Character Regex.void
setUppercaseCharacter
(int UppercaseCharacter) Set Uppercase Character.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_PasswordRule
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
-
Constructor Details
-
X_AD_PasswordRule
Standard Constructor -
X_AD_PasswordRule
public X_AD_PasswordRule(Properties ctx, int AD_PasswordRule_ID, String trxName, String... virtualColumns) Standard Constructor -
X_AD_PasswordRule
Standard Constructor -
X_AD_PasswordRule
public X_AD_PasswordRule(Properties ctx, String AD_PasswordRule_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_PasswordRule
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 -
setAD_PasswordRule_ID
public void setAD_PasswordRule_ID(int AD_PasswordRule_ID) Set Password Policies.- Specified by:
setAD_PasswordRule_ID
in interfaceI_AD_PasswordRule
- Parameters:
AD_PasswordRule_ID
- Password Policies
-
getAD_PasswordRule_ID
public int getAD_PasswordRule_ID()Get Password Policies.- Specified by:
getAD_PasswordRule_ID
in interfaceI_AD_PasswordRule
- Returns:
- Password Policies
-
setAD_PasswordRule_UU
Set AD_PasswordRule_UU.- Specified by:
setAD_PasswordRule_UU
in interfaceI_AD_PasswordRule
- Parameters:
AD_PasswordRule_UU
- AD_PasswordRule_UU
-
getAD_PasswordRule_UU
Get AD_PasswordRule_UU.- Specified by:
getAD_PasswordRule_UU
in interfaceI_AD_PasswordRule
- Returns:
- AD_PasswordRule_UU
-
setAlphabeticalCharacter
public void setAlphabeticalCharacter(int AlphabeticalCharacter) Set Alphabetical Character.- Specified by:
setAlphabeticalCharacter
in interfaceI_AD_PasswordRule
- Parameters:
AlphabeticalCharacter
- Require at least # alphabetical in passwords
-
getAlphabeticalCharacter
public int getAlphabeticalCharacter()Get Alphabetical Character.- Specified by:
getAlphabeticalCharacter
in interfaceI_AD_PasswordRule
- Returns:
- Require at least # alphabetical in passwords
-
setAlphabeticalSequence
public void setAlphabeticalSequence(int AlphabeticalSequence) Set Alphabetical Sequence.- Specified by:
setAlphabeticalSequence
in interfaceI_AD_PasswordRule
- Parameters:
AlphabeticalSequence
- Length of alphabetical sequence to validate
-
getAlphabeticalSequence
public int getAlphabeticalSequence()Get Alphabetical Sequence.- Specified by:
getAlphabeticalSequence
in interfaceI_AD_PasswordRule
- Returns:
- Length of alphabetical sequence to validate
-
setDays_Reuse_Password
public void setDays_Reuse_Password(int Days_Reuse_Password) Set Days Reuse Password.- Specified by:
setDays_Reuse_Password
in interfaceI_AD_PasswordRule
- Parameters:
Days_Reuse_Password
- Define number of day can reuse password
-
getDays_Reuse_Password
public int getDays_Reuse_Password()Get Days Reuse Password.- Specified by:
getDays_Reuse_Password
in interfaceI_AD_PasswordRule
- Returns:
- Define number of day can reuse password
-
setDigitCharacter
public void setDigitCharacter(int DigitCharacter) Set Digit Character.- Specified by:
setDigitCharacter
in interfaceI_AD_PasswordRule
- Parameters:
DigitCharacter
- Require at least # digit in passwords
-
getDigitCharacter
public int getDigitCharacter()Get Digit Character.- Specified by:
getDigitCharacter
in interfaceI_AD_PasswordRule
- Returns:
- Require at least # digit in passwords
-
setIsDictMatchBackwards
public void setIsDictMatchBackwards(boolean IsDictMatchBackwards) Set Match Backwards of Dictionary.- Specified by:
setIsDictMatchBackwards
in interfaceI_AD_PasswordRule
- Parameters:
IsDictMatchBackwards
- Match dictionary words backwards
-
isDictMatchBackwards
public boolean isDictMatchBackwards()Get Match Backwards of Dictionary.- Specified by:
isDictMatchBackwards
in interfaceI_AD_PasswordRule
- Returns:
- Match dictionary words backwards
-
setIsUserNameRule
public void setIsUserNameRule(boolean IsUserNameRule) Set User Name Rule.- Specified by:
setIsUserNameRule
in interfaceI_AD_PasswordRule
- Parameters:
IsUserNameRule
- Validate the password doesn't contain user name (ignore case and match backwards)
-
isUserNameRule
public boolean isUserNameRule()Get User Name Rule.- Specified by:
isUserNameRule
in interfaceI_AD_PasswordRule
- Returns:
- Validate the password doesn't contain user name (ignore case and match backwards)
-
setIsUsingDictionary
public void setIsUsingDictionary(boolean IsUsingDictionary) Set Using Dictionary.- Specified by:
setIsUsingDictionary
in interfaceI_AD_PasswordRule
- Parameters:
IsUsingDictionary
- Using Dictionary
-
isUsingDictionary
public boolean isUsingDictionary()Get Using Dictionary.- Specified by:
isUsingDictionary
in interfaceI_AD_PasswordRule
- Returns:
- Using Dictionary
-
setIsWhitespace
public void setIsWhitespace(boolean IsWhitespace) Set Whitespace.- Specified by:
setIsWhitespace
in interfaceI_AD_PasswordRule
- Parameters:
IsWhitespace
- Whitespace validation
-
isWhitespace
public boolean isWhitespace()Get Whitespace.- Specified by:
isWhitespace
in interfaceI_AD_PasswordRule
- Returns:
- Whitespace validation
-
setLowercaseCharacter
public void setLowercaseCharacter(int LowercaseCharacter) Set Lowercase Character.- Specified by:
setLowercaseCharacter
in interfaceI_AD_PasswordRule
- Parameters:
LowercaseCharacter
- Require at least # lower case char
-
getLowercaseCharacter
public int getLowercaseCharacter()Get Lowercase Character.- Specified by:
getLowercaseCharacter
in interfaceI_AD_PasswordRule
- Returns:
- Require at least # lower case char
-
setMaxLength
public void setMaxLength(int MaxLength) Set Maximum Length.- Specified by:
setMaxLength
in interfaceI_AD_PasswordRule
- Parameters:
MaxLength
- Maximum Length of Data
-
getMaxLength
public int getMaxLength()Get Maximum Length.- Specified by:
getMaxLength
in interfaceI_AD_PasswordRule
- Returns:
- Maximum Length of Data
-
setMinLength
public void setMinLength(int MinLength) Set Minimum Length.- Specified by:
setMinLength
in interfaceI_AD_PasswordRule
- Parameters:
MinLength
- Minimum Length
-
getMinLength
public int getMinLength()Get Minimum Length.- Specified by:
getMinLength
in interfaceI_AD_PasswordRule
- Returns:
- Minimum Length
-
setName
Set Name.- Specified by:
setName
in interfaceI_AD_PasswordRule
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_PasswordRule
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setNonAlphaNumericCharacter
public void setNonAlphaNumericCharacter(int NonAlphaNumericCharacter) Set Non Alpha Numeric Character.- Specified by:
setNonAlphaNumericCharacter
in interfaceI_AD_PasswordRule
- Parameters:
NonAlphaNumericCharacter
- Require at least # non-alphanumeric char
-
getNonAlphaNumericCharacter
public int getNonAlphaNumericCharacter()Get Non Alpha Numeric Character.- Specified by:
getNonAlphaNumericCharacter
in interfaceI_AD_PasswordRule
- Returns:
- Require at least # non-alphanumeric char
-
setNumericalSequence
public void setNumericalSequence(int NumericalSequence) Set Numerical Sequence.- Specified by:
setNumericalSequence
in interfaceI_AD_PasswordRule
- Parameters:
NumericalSequence
- Length of numerical sequence to validate
-
getNumericalSequence
public int getNumericalSequence()Get Numerical Sequence.- Specified by:
getNumericalSequence
in interfaceI_AD_PasswordRule
- Returns:
- Length of numerical sequence to validate
-
setPathDictionary
Set Path Dictionary.- Specified by:
setPathDictionary
in interfaceI_AD_PasswordRule
- Parameters:
PathDictionary
- Path Dictionary
-
getPathDictionary
Get Path Dictionary.- Specified by:
getPathDictionary
in interfaceI_AD_PasswordRule
- Returns:
- Path Dictionary
-
setQWERTYSequence
public void setQWERTYSequence(int QWERTYSequence) Set QWERTY Sequence.- Specified by:
setQWERTYSequence
in interfaceI_AD_PasswordRule
- Parameters:
QWERTYSequence
- Length of QWERTY sequences to validate
-
getQWERTYSequence
public int getQWERTYSequence()Get QWERTY Sequence.- Specified by:
getQWERTYSequence
in interfaceI_AD_PasswordRule
- Returns:
- Length of QWERTY sequences to validate
-
setRepeatCharacterRegex
public void setRepeatCharacterRegex(int RepeatCharacterRegex) Set Repeat Character Regex.- Specified by:
setRepeatCharacterRegex
in interfaceI_AD_PasswordRule
- Parameters:
RepeatCharacterRegex
- Length of repeated characters to validate
-
getRepeatCharacterRegex
public int getRepeatCharacterRegex()Get Repeat Character Regex.- Specified by:
getRepeatCharacterRegex
in interfaceI_AD_PasswordRule
- Returns:
- Length of repeated characters to validate
-
setUppercaseCharacter
public void setUppercaseCharacter(int UppercaseCharacter) Set Uppercase Character.- Specified by:
setUppercaseCharacter
in interfaceI_AD_PasswordRule
- Parameters:
UppercaseCharacter
- Require at least # upper case char
-
getUppercaseCharacter
public int getUppercaseCharacter()Get Uppercase Character.- Specified by:
getUppercaseCharacter
in interfaceI_AD_PasswordRule
- Returns:
- Require at least # upper case char
-