|
Liferay 6.2-ce-ga4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.PasswordPolicyWrapper
@ProviderType public class PasswordPolicyWrapper
This class is a wrapper for PasswordPolicy.
PasswordPolicy,
Serialized Form| Constructor Summary | |
|---|---|
PasswordPolicyWrapper(PasswordPolicy passwordPolicy)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PasswordPolicy passwordPolicy)
|
boolean |
equals(Object obj)
|
boolean |
getAllowDictionaryWords()
Returns the allow dictionary words of this password policy. |
boolean |
getChangeable()
Returns the changeable of this password policy. |
boolean |
getChangeRequired()
Returns the change required of this password policy. |
boolean |
getCheckSyntax()
Returns the check syntax of this password policy. |
long |
getCompanyId()
Returns the company ID of this password policy. |
Date |
getCreateDate()
Returns the create date of this password policy. |
boolean |
getDefaultPolicy()
Returns the default policy of this password policy. |
String |
getDescription()
Returns the description of this password policy. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
boolean |
getExpireable()
Returns the expireable of this password policy. |
int |
getGraceLimit()
Returns the grace limit of this password policy. |
boolean |
getHistory()
Returns the history of this password policy. |
int |
getHistoryCount()
Returns the history count of this password policy. |
boolean |
getLockout()
Returns the lockout of this password policy. |
long |
getLockoutDuration()
Returns the lockout duration of this password policy. |
long |
getMaxAge()
Returns the max age of this password policy. |
int |
getMaxFailure()
Returns the max failure of this password policy. |
long |
getMinAge()
Returns the min age of this password policy. |
int |
getMinAlphanumeric()
Returns the min alphanumeric of this password policy. |
int |
getMinLength()
Returns the min length of this password policy. |
int |
getMinLowerCase()
Returns the min lower case of this password policy. |
int |
getMinNumbers()
Returns the min numbers of this password policy. |
int |
getMinSymbols()
Returns the min symbols of this password policy. |
int |
getMinUpperCase()
Returns the min upper case of this password policy. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this password policy. |
String |
getName()
Returns the name of this password policy. |
long |
getPasswordPolicyId()
Returns the password policy ID of this password policy. |
long |
getPrimaryKey()
Returns the primary key of this password policy. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getRegex()
Returns the regex of this password policy. |
boolean |
getRequireUnlock()
Returns the require unlock of this password policy. |
long |
getResetFailureCount()
Returns the reset failure count of this password policy. |
long |
getResetTicketMaxAge()
Returns the reset ticket max age of this password policy. |
StagedModelType |
getStagedModelType()
|
long |
getUserId()
Returns the user ID of this password policy. |
String |
getUserName()
Returns the user name of this password policy. |
String |
getUserUuid()
Returns the user uuid of this password policy. |
String |
getUuid()
Returns the uuid of this password policy. |
long |
getWarningTime()
Returns the warning time of this password policy. |
PasswordPolicy |
getWrappedModel()
|
PasswordPolicy |
getWrappedPasswordPolicy()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
isAllowDictionaryWords()
Returns true if this password policy is allow dictionary words. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isChangeable()
Returns true if this password policy is changeable. |
boolean |
isChangeRequired()
Returns true if this password policy is change required. |
boolean |
isCheckSyntax()
Returns true if this password policy is check syntax. |
boolean |
isDefaultPolicy()
Returns true if this password policy is default policy. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpireable()
Returns true if this password policy is expireable. |
boolean |
isHistory()
Returns true if this password policy is history. |
boolean |
isLockout()
Returns true if this password policy is lockout. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isRequireUnlock()
Returns true if this password policy is require unlock. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setAllowDictionaryWords(boolean allowDictionaryWords)
Sets whether this password policy is allow dictionary words. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setChangeable(boolean changeable)
Sets whether this password policy is changeable. |
void |
setChangeRequired(boolean changeRequired)
Sets whether this password policy is change required. |
void |
setCheckSyntax(boolean checkSyntax)
Sets whether this password policy is check syntax. |
void |
setCompanyId(long companyId)
Sets the company ID of this password policy. |
void |
setCreateDate(Date createDate)
Sets the create date of this password policy. |
void |
setDefaultPolicy(boolean defaultPolicy)
Sets whether this password policy is default policy. |
void |
setDescription(String description)
Sets the description of this password policy. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setExpireable(boolean expireable)
Sets whether this password policy is expireable. |
void |
setGraceLimit(int graceLimit)
Sets the grace limit of this password policy. |
void |
setHistory(boolean history)
Sets whether this password policy is history. |
void |
setHistoryCount(int historyCount)
Sets the history count of this password policy. |
void |
setLockout(boolean lockout)
Sets whether this password policy is lockout. |
void |
setLockoutDuration(long lockoutDuration)
Sets the lockout duration of this password policy. |
void |
setMaxAge(long maxAge)
Sets the max age of this password policy. |
void |
setMaxFailure(int maxFailure)
Sets the max failure of this password policy. |
void |
setMinAge(long minAge)
Sets the min age of this password policy. |
void |
setMinAlphanumeric(int minAlphanumeric)
Sets the min alphanumeric of this password policy. |
void |
setMinLength(int minLength)
Sets the min length of this password policy. |
void |
setMinLowerCase(int minLowerCase)
Sets the min lower case of this password policy. |
void |
setMinNumbers(int minNumbers)
Sets the min numbers of this password policy. |
void |
setMinSymbols(int minSymbols)
Sets the min symbols of this password policy. |
void |
setMinUpperCase(int minUpperCase)
Sets the min upper case of this password policy. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this password policy. |
void |
setName(String name)
Sets the name of this password policy. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPasswordPolicyId(long passwordPolicyId)
Sets the password policy ID of this password policy. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this password policy. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRegex(String regex)
Sets the regex of this password policy. |
void |
setRequireUnlock(boolean requireUnlock)
Sets whether this password policy is require unlock. |
void |
setResetFailureCount(long resetFailureCount)
Sets the reset failure count of this password policy. |
void |
setResetTicketMaxAge(long resetTicketMaxAge)
Sets the reset ticket max age of this password policy. |
void |
setUserId(long userId)
Sets the user ID of this password policy. |
void |
setUserName(String userName)
Sets the user name of this password policy. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this password policy. |
void |
setUuid(String uuid)
Sets the uuid of this password policy. |
void |
setWarningTime(long warningTime)
Sets the warning time of this password policy. |
CacheModel<PasswordPolicy> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
PasswordPolicy |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
PasswordPolicy |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordPolicyWrapper(PasswordPolicy passwordPolicy)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PasswordPolicy>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PasswordPolicy>public long getPrimaryKey()
getPrimaryKey in interface PasswordPolicyModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PasswordPolicyModelprimaryKey - the primary key of this password policypublic String getUuid()
getUuid in interface PasswordPolicyModelgetUuid in interface StagedModelpublic void setUuid(String uuid)
setUuid in interface PasswordPolicyModelsetUuid in interface StagedModeluuid - the uuid of this password policypublic long getPasswordPolicyId()
getPasswordPolicyId in interface PasswordPolicyModelpublic void setPasswordPolicyId(long passwordPolicyId)
setPasswordPolicyId in interface PasswordPolicyModelpasswordPolicyId - the password policy ID of this password policypublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface PasswordPolicyModelgetCompanyId in interface StagedModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface PasswordPolicyModelsetCompanyId in interface StagedModelcompanyId - the company ID of this password policypublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface PasswordPolicyModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface PasswordPolicyModeluserId - the user ID of this password policy
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface PasswordPolicyModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface PasswordPolicyModeluserUuid - the user uuid of this password policypublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface PasswordPolicyModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface PasswordPolicyModeluserName - the user name of this password policypublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface PasswordPolicyModelgetCreateDate in interface StagedModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface PasswordPolicyModelsetCreateDate in interface StagedModelcreateDate - the create date of this password policypublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface PasswordPolicyModelgetModifiedDate in interface StagedModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface PasswordPolicyModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this password policypublic boolean getDefaultPolicy()
getDefaultPolicy in interface PasswordPolicyModelpublic boolean isDefaultPolicy()
true if this password policy is default policy.
isDefaultPolicy in interface PasswordPolicyModeltrue if this password policy is default policy; false otherwisepublic void setDefaultPolicy(boolean defaultPolicy)
setDefaultPolicy in interface PasswordPolicyModeldefaultPolicy - the default policy of this password policypublic String getName()
getName in interface PasswordPolicyModelpublic void setName(String name)
setName in interface PasswordPolicyModelname - the name of this password policypublic String getDescription()
getDescription in interface PasswordPolicyModelpublic void setDescription(String description)
setDescription in interface PasswordPolicyModeldescription - the description of this password policypublic boolean getChangeable()
getChangeable in interface PasswordPolicyModelpublic boolean isChangeable()
true if this password policy is changeable.
isChangeable in interface PasswordPolicyModeltrue if this password policy is changeable; false otherwisepublic void setChangeable(boolean changeable)
setChangeable in interface PasswordPolicyModelchangeable - the changeable of this password policypublic boolean getChangeRequired()
getChangeRequired in interface PasswordPolicyModelpublic boolean isChangeRequired()
true if this password policy is change required.
isChangeRequired in interface PasswordPolicyModeltrue if this password policy is change required; false otherwisepublic void setChangeRequired(boolean changeRequired)
setChangeRequired in interface PasswordPolicyModelchangeRequired - the change required of this password policypublic long getMinAge()
getMinAge in interface PasswordPolicyModelpublic void setMinAge(long minAge)
setMinAge in interface PasswordPolicyModelminAge - the min age of this password policypublic boolean getCheckSyntax()
getCheckSyntax in interface PasswordPolicyModelpublic boolean isCheckSyntax()
true if this password policy is check syntax.
isCheckSyntax in interface PasswordPolicyModeltrue if this password policy is check syntax; false otherwisepublic void setCheckSyntax(boolean checkSyntax)
setCheckSyntax in interface PasswordPolicyModelcheckSyntax - the check syntax of this password policypublic boolean getAllowDictionaryWords()
getAllowDictionaryWords in interface PasswordPolicyModelpublic boolean isAllowDictionaryWords()
true if this password policy is allow dictionary words.
isAllowDictionaryWords in interface PasswordPolicyModeltrue if this password policy is allow dictionary words; false otherwisepublic void setAllowDictionaryWords(boolean allowDictionaryWords)
setAllowDictionaryWords in interface PasswordPolicyModelallowDictionaryWords - the allow dictionary words of this password policypublic int getMinAlphanumeric()
getMinAlphanumeric in interface PasswordPolicyModelpublic void setMinAlphanumeric(int minAlphanumeric)
setMinAlphanumeric in interface PasswordPolicyModelminAlphanumeric - the min alphanumeric of this password policypublic int getMinLength()
getMinLength in interface PasswordPolicyModelpublic void setMinLength(int minLength)
setMinLength in interface PasswordPolicyModelminLength - the min length of this password policypublic int getMinLowerCase()
getMinLowerCase in interface PasswordPolicyModelpublic void setMinLowerCase(int minLowerCase)
setMinLowerCase in interface PasswordPolicyModelminLowerCase - the min lower case of this password policypublic int getMinNumbers()
getMinNumbers in interface PasswordPolicyModelpublic void setMinNumbers(int minNumbers)
setMinNumbers in interface PasswordPolicyModelminNumbers - the min numbers of this password policypublic int getMinSymbols()
getMinSymbols in interface PasswordPolicyModelpublic void setMinSymbols(int minSymbols)
setMinSymbols in interface PasswordPolicyModelminSymbols - the min symbols of this password policypublic int getMinUpperCase()
getMinUpperCase in interface PasswordPolicyModelpublic void setMinUpperCase(int minUpperCase)
setMinUpperCase in interface PasswordPolicyModelminUpperCase - the min upper case of this password policypublic String getRegex()
getRegex in interface PasswordPolicyModelpublic void setRegex(String regex)
setRegex in interface PasswordPolicyModelregex - the regex of this password policypublic boolean getHistory()
getHistory in interface PasswordPolicyModelpublic boolean isHistory()
true if this password policy is history.
isHistory in interface PasswordPolicyModeltrue if this password policy is history; false otherwisepublic void setHistory(boolean history)
setHistory in interface PasswordPolicyModelhistory - the history of this password policypublic int getHistoryCount()
getHistoryCount in interface PasswordPolicyModelpublic void setHistoryCount(int historyCount)
setHistoryCount in interface PasswordPolicyModelhistoryCount - the history count of this password policypublic boolean getExpireable()
getExpireable in interface PasswordPolicyModelpublic boolean isExpireable()
true if this password policy is expireable.
isExpireable in interface PasswordPolicyModeltrue if this password policy is expireable; false otherwisepublic void setExpireable(boolean expireable)
setExpireable in interface PasswordPolicyModelexpireable - the expireable of this password policypublic long getMaxAge()
getMaxAge in interface PasswordPolicyModelpublic void setMaxAge(long maxAge)
setMaxAge in interface PasswordPolicyModelmaxAge - the max age of this password policypublic long getWarningTime()
getWarningTime in interface PasswordPolicyModelpublic void setWarningTime(long warningTime)
setWarningTime in interface PasswordPolicyModelwarningTime - the warning time of this password policypublic int getGraceLimit()
getGraceLimit in interface PasswordPolicyModelpublic void setGraceLimit(int graceLimit)
setGraceLimit in interface PasswordPolicyModelgraceLimit - the grace limit of this password policypublic boolean getLockout()
getLockout in interface PasswordPolicyModelpublic boolean isLockout()
true if this password policy is lockout.
isLockout in interface PasswordPolicyModeltrue if this password policy is lockout; false otherwisepublic void setLockout(boolean lockout)
setLockout in interface PasswordPolicyModellockout - the lockout of this password policypublic int getMaxFailure()
getMaxFailure in interface PasswordPolicyModelpublic void setMaxFailure(int maxFailure)
setMaxFailure in interface PasswordPolicyModelmaxFailure - the max failure of this password policypublic long getLockoutDuration()
getLockoutDuration in interface PasswordPolicyModelpublic void setLockoutDuration(long lockoutDuration)
setLockoutDuration in interface PasswordPolicyModellockoutDuration - the lockout duration of this password policypublic boolean getRequireUnlock()
getRequireUnlock in interface PasswordPolicyModelpublic boolean isRequireUnlock()
true if this password policy is require unlock.
isRequireUnlock in interface PasswordPolicyModeltrue if this password policy is require unlock; false otherwisepublic void setRequireUnlock(boolean requireUnlock)
setRequireUnlock in interface PasswordPolicyModelrequireUnlock - the require unlock of this password policypublic long getResetFailureCount()
getResetFailureCount in interface PasswordPolicyModelpublic void setResetFailureCount(long resetFailureCount)
setResetFailureCount in interface PasswordPolicyModelresetFailureCount - the reset failure count of this password policypublic long getResetTicketMaxAge()
getResetTicketMaxAge in interface PasswordPolicyModelpublic void setResetTicketMaxAge(long resetTicketMaxAge)
setResetTicketMaxAge in interface PasswordPolicyModelresetTicketMaxAge - the reset ticket max age of this password policypublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<PasswordPolicy>isNew in interface PasswordPolicyModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<PasswordPolicy>setNew in interface PasswordPolicyModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<PasswordPolicy>isCachedModel in interface PasswordPolicyModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<PasswordPolicy>setCachedModel in interface PasswordPolicyModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<PasswordPolicy>isEscapedModel in interface PasswordPolicyModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PasswordPolicy>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface PasswordPolicyModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<PasswordPolicy>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface PasswordPolicyModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PasswordPolicy>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface PasswordPolicyModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<PasswordPolicy>setExpandoBridgeAttributes in interface PasswordPolicyModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<PasswordPolicy>setExpandoBridgeAttributes in interface PasswordPolicyModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PasswordPolicy>setExpandoBridgeAttributes in interface PasswordPolicyModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<PasswordPolicy>clone in interface PasswordPolicyModelclone in interface StagedModelclone in class Objectpublic int compareTo(PasswordPolicy passwordPolicy)
compareTo in interface PasswordPolicyModelcompareTo in interface Comparable<PasswordPolicy>public int hashCode()
hashCode in interface PasswordPolicyModelhashCode in class Objectpublic CacheModel<PasswordPolicy> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<PasswordPolicy>toCacheModel in interface PasswordPolicyModelpublic PasswordPolicy toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<PasswordPolicy>toEscapedModel in interface PasswordPolicyModelAutoEscapeBeanHandlerpublic PasswordPolicy toUnescapedModel()
toUnescapedModel in interface BaseModel<PasswordPolicy>toUnescapedModel in interface PasswordPolicyModelpublic String toString()
toString in interface PasswordPolicyModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PasswordPolicy>toXmlString in interface PasswordPolicyModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic PasswordPolicy getWrappedPasswordPolicy()
getWrappedModel()
public PasswordPolicy getWrappedModel()
getWrappedModel in interface ModelWrapper<PasswordPolicy>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<PasswordPolicy>
|
Liferay 6.2-ce-ga4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||