Liferay 6.2-ce-ga5

com.liferay.portal.model
Class PasswordPolicyWrapper

java.lang.Object
  extended by com.liferay.portal.model.PasswordPolicyWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<PasswordPolicy>, ClassedModel, ModelWrapper<PasswordPolicy>, PasswordPolicy, PasswordPolicyModel, PersistedModel, StagedAuditedModel, StagedModel, Serializable, Cloneable, Comparable<PasswordPolicy>

@ProviderType
public class PasswordPolicyWrapper
extends Object
implements PasswordPolicy, ModelWrapper<PasswordPolicy>

This class is a wrapper for PasswordPolicy.

See Also:
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

PasswordPolicyWrapper

public PasswordPolicyWrapper(PasswordPolicy passwordPolicy)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<PasswordPolicy>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<PasswordPolicy>

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this password policy.

Specified by:
getPrimaryKey in interface PasswordPolicyModel
Returns:
the primary key of this password policy

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this password policy.

Specified by:
setPrimaryKey in interface PasswordPolicyModel
Parameters:
primaryKey - the primary key of this password policy

getUuid

public String getUuid()
Returns the uuid of this password policy.

Specified by:
getUuid in interface PasswordPolicyModel
Specified by:
getUuid in interface StagedModel
Returns:
the uuid of this password policy

setUuid

public void setUuid(String uuid)
Sets the uuid of this password policy.

Specified by:
setUuid in interface PasswordPolicyModel
Specified by:
setUuid in interface StagedModel
Parameters:
uuid - the uuid of this password policy

getPasswordPolicyId

public long getPasswordPolicyId()
Returns the password policy ID of this password policy.

Specified by:
getPasswordPolicyId in interface PasswordPolicyModel
Returns:
the password policy ID of this password policy

setPasswordPolicyId

public void setPasswordPolicyId(long passwordPolicyId)
Sets the password policy ID of this password policy.

Specified by:
setPasswordPolicyId in interface PasswordPolicyModel
Parameters:
passwordPolicyId - the password policy ID of this password policy

getCompanyId

public long getCompanyId()
Returns the company ID of this password policy.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface PasswordPolicyModel
Specified by:
getCompanyId in interface StagedModel
Returns:
the company ID of this password policy

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this password policy.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface PasswordPolicyModel
Specified by:
setCompanyId in interface StagedModel
Parameters:
companyId - the company ID of this password policy

getUserId

public long getUserId()
Returns the user ID of this password policy.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface PasswordPolicyModel
Returns:
the user ID of this password policy

setUserId

public void setUserId(long userId)
Sets the user ID of this password policy.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface PasswordPolicyModel
Parameters:
userId - the user ID of this password policy

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this password policy.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface PasswordPolicyModel
Returns:
the user uuid of this password policy
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this password policy.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface PasswordPolicyModel
Parameters:
userUuid - the user uuid of this password policy

getUserName

public String getUserName()
Returns the user name of this password policy.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface PasswordPolicyModel
Returns:
the user name of this password policy

setUserName

public void setUserName(String userName)
Sets the user name of this password policy.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface PasswordPolicyModel
Parameters:
userName - the user name of this password policy

getCreateDate

public Date getCreateDate()
Returns the create date of this password policy.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface PasswordPolicyModel
Specified by:
getCreateDate in interface StagedModel
Returns:
the create date of this password policy

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this password policy.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface PasswordPolicyModel
Specified by:
setCreateDate in interface StagedModel
Parameters:
createDate - the create date of this password policy

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this password policy.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface PasswordPolicyModel
Specified by:
getModifiedDate in interface StagedModel
Returns:
the modified date of this password policy

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Sets the modified date of this password policy.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface PasswordPolicyModel
Specified by:
setModifiedDate in interface StagedModel
Parameters:
modifiedDate - the modified date of this password policy

getDefaultPolicy

public boolean getDefaultPolicy()
Returns the default policy of this password policy.

Specified by:
getDefaultPolicy in interface PasswordPolicyModel
Returns:
the default policy of this password policy

isDefaultPolicy

public boolean isDefaultPolicy()
Returns true if this password policy is default policy.

Specified by:
isDefaultPolicy in interface PasswordPolicyModel
Returns:
true if this password policy is default policy; false otherwise

setDefaultPolicy

public void setDefaultPolicy(boolean defaultPolicy)
Sets whether this password policy is default policy.

Specified by:
setDefaultPolicy in interface PasswordPolicyModel
Parameters:
defaultPolicy - the default policy of this password policy

getName

public String getName()
Returns the name of this password policy.

Specified by:
getName in interface PasswordPolicyModel
Returns:
the name of this password policy

setName

public void setName(String name)
Sets the name of this password policy.

Specified by:
setName in interface PasswordPolicyModel
Parameters:
name - the name of this password policy

getDescription

public String getDescription()
Returns the description of this password policy.

Specified by:
getDescription in interface PasswordPolicyModel
Returns:
the description of this password policy

setDescription

public void setDescription(String description)
Sets the description of this password policy.

Specified by:
setDescription in interface PasswordPolicyModel
Parameters:
description - the description of this password policy

getChangeable

public boolean getChangeable()
Returns the changeable of this password policy.

Specified by:
getChangeable in interface PasswordPolicyModel
Returns:
the changeable of this password policy

isChangeable

public boolean isChangeable()
Returns true if this password policy is changeable.

Specified by:
isChangeable in interface PasswordPolicyModel
Returns:
true if this password policy is changeable; false otherwise

setChangeable

public void setChangeable(boolean changeable)
Sets whether this password policy is changeable.

Specified by:
setChangeable in interface PasswordPolicyModel
Parameters:
changeable - the changeable of this password policy

getChangeRequired

public boolean getChangeRequired()
Returns the change required of this password policy.

Specified by:
getChangeRequired in interface PasswordPolicyModel
Returns:
the change required of this password policy

isChangeRequired

public boolean isChangeRequired()
Returns true if this password policy is change required.

Specified by:
isChangeRequired in interface PasswordPolicyModel
Returns:
true if this password policy is change required; false otherwise

setChangeRequired

public void setChangeRequired(boolean changeRequired)
Sets whether this password policy is change required.

Specified by:
setChangeRequired in interface PasswordPolicyModel
Parameters:
changeRequired - the change required of this password policy

getMinAge

public long getMinAge()
Returns the min age of this password policy.

Specified by:
getMinAge in interface PasswordPolicyModel
Returns:
the min age of this password policy

setMinAge

public void setMinAge(long minAge)
Sets the min age of this password policy.

Specified by:
setMinAge in interface PasswordPolicyModel
Parameters:
minAge - the min age of this password policy

getCheckSyntax

public boolean getCheckSyntax()
Returns the check syntax of this password policy.

Specified by:
getCheckSyntax in interface PasswordPolicyModel
Returns:
the check syntax of this password policy

isCheckSyntax

public boolean isCheckSyntax()
Returns true if this password policy is check syntax.

Specified by:
isCheckSyntax in interface PasswordPolicyModel
Returns:
true if this password policy is check syntax; false otherwise

setCheckSyntax

public void setCheckSyntax(boolean checkSyntax)
Sets whether this password policy is check syntax.

Specified by:
setCheckSyntax in interface PasswordPolicyModel
Parameters:
checkSyntax - the check syntax of this password policy

getAllowDictionaryWords

public boolean getAllowDictionaryWords()
Returns the allow dictionary words of this password policy.

Specified by:
getAllowDictionaryWords in interface PasswordPolicyModel
Returns:
the allow dictionary words of this password policy

isAllowDictionaryWords

public boolean isAllowDictionaryWords()
Returns true if this password policy is allow dictionary words.

Specified by:
isAllowDictionaryWords in interface PasswordPolicyModel
Returns:
true if this password policy is allow dictionary words; false otherwise

setAllowDictionaryWords

public void setAllowDictionaryWords(boolean allowDictionaryWords)
Sets whether this password policy is allow dictionary words.

Specified by:
setAllowDictionaryWords in interface PasswordPolicyModel
Parameters:
allowDictionaryWords - the allow dictionary words of this password policy

getMinAlphanumeric

public int getMinAlphanumeric()
Returns the min alphanumeric of this password policy.

Specified by:
getMinAlphanumeric in interface PasswordPolicyModel
Returns:
the min alphanumeric of this password policy

setMinAlphanumeric

public void setMinAlphanumeric(int minAlphanumeric)
Sets the min alphanumeric of this password policy.

Specified by:
setMinAlphanumeric in interface PasswordPolicyModel
Parameters:
minAlphanumeric - the min alphanumeric of this password policy

getMinLength

public int getMinLength()
Returns the min length of this password policy.

Specified by:
getMinLength in interface PasswordPolicyModel
Returns:
the min length of this password policy

setMinLength

public void setMinLength(int minLength)
Sets the min length of this password policy.

Specified by:
setMinLength in interface PasswordPolicyModel
Parameters:
minLength - the min length of this password policy

getMinLowerCase

public int getMinLowerCase()
Returns the min lower case of this password policy.

Specified by:
getMinLowerCase in interface PasswordPolicyModel
Returns:
the min lower case of this password policy

setMinLowerCase

public void setMinLowerCase(int minLowerCase)
Sets the min lower case of this password policy.

Specified by:
setMinLowerCase in interface PasswordPolicyModel
Parameters:
minLowerCase - the min lower case of this password policy

getMinNumbers

public int getMinNumbers()
Returns the min numbers of this password policy.

Specified by:
getMinNumbers in interface PasswordPolicyModel
Returns:
the min numbers of this password policy

setMinNumbers

public void setMinNumbers(int minNumbers)
Sets the min numbers of this password policy.

Specified by:
setMinNumbers in interface PasswordPolicyModel
Parameters:
minNumbers - the min numbers of this password policy

getMinSymbols

public int getMinSymbols()
Returns the min symbols of this password policy.

Specified by:
getMinSymbols in interface PasswordPolicyModel
Returns:
the min symbols of this password policy

setMinSymbols

public void setMinSymbols(int minSymbols)
Sets the min symbols of this password policy.

Specified by:
setMinSymbols in interface PasswordPolicyModel
Parameters:
minSymbols - the min symbols of this password policy

getMinUpperCase

public int getMinUpperCase()
Returns the min upper case of this password policy.

Specified by:
getMinUpperCase in interface PasswordPolicyModel
Returns:
the min upper case of this password policy

setMinUpperCase

public void setMinUpperCase(int minUpperCase)
Sets the min upper case of this password policy.

Specified by:
setMinUpperCase in interface PasswordPolicyModel
Parameters:
minUpperCase - the min upper case of this password policy

getRegex

public String getRegex()
Returns the regex of this password policy.

Specified by:
getRegex in interface PasswordPolicyModel
Returns:
the regex of this password policy

setRegex

public void setRegex(String regex)
Sets the regex of this password policy.

Specified by:
setRegex in interface PasswordPolicyModel
Parameters:
regex - the regex of this password policy

getHistory

public boolean getHistory()
Returns the history of this password policy.

Specified by:
getHistory in interface PasswordPolicyModel
Returns:
the history of this password policy

isHistory

public boolean isHistory()
Returns true if this password policy is history.

Specified by:
isHistory in interface PasswordPolicyModel
Returns:
true if this password policy is history; false otherwise

setHistory

public void setHistory(boolean history)
Sets whether this password policy is history.

Specified by:
setHistory in interface PasswordPolicyModel
Parameters:
history - the history of this password policy

getHistoryCount

public int getHistoryCount()
Returns the history count of this password policy.

Specified by:
getHistoryCount in interface PasswordPolicyModel
Returns:
the history count of this password policy

setHistoryCount

public void setHistoryCount(int historyCount)
Sets the history count of this password policy.

Specified by:
setHistoryCount in interface PasswordPolicyModel
Parameters:
historyCount - the history count of this password policy

getExpireable

public boolean getExpireable()
Returns the expireable of this password policy.

Specified by:
getExpireable in interface PasswordPolicyModel
Returns:
the expireable of this password policy

isExpireable

public boolean isExpireable()
Returns true if this password policy is expireable.

Specified by:
isExpireable in interface PasswordPolicyModel
Returns:
true if this password policy is expireable; false otherwise

setExpireable

public void setExpireable(boolean expireable)
Sets whether this password policy is expireable.

Specified by:
setExpireable in interface PasswordPolicyModel
Parameters:
expireable - the expireable of this password policy

getMaxAge

public long getMaxAge()
Returns the max age of this password policy.

Specified by:
getMaxAge in interface PasswordPolicyModel
Returns:
the max age of this password policy

setMaxAge

public void setMaxAge(long maxAge)
Sets the max age of this password policy.

Specified by:
setMaxAge in interface PasswordPolicyModel
Parameters:
maxAge - the max age of this password policy

getWarningTime

public long getWarningTime()
Returns the warning time of this password policy.

Specified by:
getWarningTime in interface PasswordPolicyModel
Returns:
the warning time of this password policy

setWarningTime

public void setWarningTime(long warningTime)
Sets the warning time of this password policy.

Specified by:
setWarningTime in interface PasswordPolicyModel
Parameters:
warningTime - the warning time of this password policy

getGraceLimit

public int getGraceLimit()
Returns the grace limit of this password policy.

Specified by:
getGraceLimit in interface PasswordPolicyModel
Returns:
the grace limit of this password policy

setGraceLimit

public void setGraceLimit(int graceLimit)
Sets the grace limit of this password policy.

Specified by:
setGraceLimit in interface PasswordPolicyModel
Parameters:
graceLimit - the grace limit of this password policy

getLockout

public boolean getLockout()
Returns the lockout of this password policy.

Specified by:
getLockout in interface PasswordPolicyModel
Returns:
the lockout of this password policy

isLockout

public boolean isLockout()
Returns true if this password policy is lockout.

Specified by:
isLockout in interface PasswordPolicyModel
Returns:
true if this password policy is lockout; false otherwise

setLockout

public void setLockout(boolean lockout)
Sets whether this password policy is lockout.

Specified by:
setLockout in interface PasswordPolicyModel
Parameters:
lockout - the lockout of this password policy

getMaxFailure

public int getMaxFailure()
Returns the max failure of this password policy.

Specified by:
getMaxFailure in interface PasswordPolicyModel
Returns:
the max failure of this password policy

setMaxFailure

public void setMaxFailure(int maxFailure)
Sets the max failure of this password policy.

Specified by:
setMaxFailure in interface PasswordPolicyModel
Parameters:
maxFailure - the max failure of this password policy

getLockoutDuration

public long getLockoutDuration()
Returns the lockout duration of this password policy.

Specified by:
getLockoutDuration in interface PasswordPolicyModel
Returns:
the lockout duration of this password policy

setLockoutDuration

public void setLockoutDuration(long lockoutDuration)
Sets the lockout duration of this password policy.

Specified by:
setLockoutDuration in interface PasswordPolicyModel
Parameters:
lockoutDuration - the lockout duration of this password policy

getRequireUnlock

public boolean getRequireUnlock()
Returns the require unlock of this password policy.

Specified by:
getRequireUnlock in interface PasswordPolicyModel
Returns:
the require unlock of this password policy

isRequireUnlock

public boolean isRequireUnlock()
Returns true if this password policy is require unlock.

Specified by:
isRequireUnlock in interface PasswordPolicyModel
Returns:
true if this password policy is require unlock; false otherwise

setRequireUnlock

public void setRequireUnlock(boolean requireUnlock)
Sets whether this password policy is require unlock.

Specified by:
setRequireUnlock in interface PasswordPolicyModel
Parameters:
requireUnlock - the require unlock of this password policy

getResetFailureCount

public long getResetFailureCount()
Returns the reset failure count of this password policy.

Specified by:
getResetFailureCount in interface PasswordPolicyModel
Returns:
the reset failure count of this password policy

setResetFailureCount

public void setResetFailureCount(long resetFailureCount)
Sets the reset failure count of this password policy.

Specified by:
setResetFailureCount in interface PasswordPolicyModel
Parameters:
resetFailureCount - the reset failure count of this password policy

getResetTicketMaxAge

public long getResetTicketMaxAge()
Returns the reset ticket max age of this password policy.

Specified by:
getResetTicketMaxAge in interface PasswordPolicyModel
Returns:
the reset ticket max age of this password policy

setResetTicketMaxAge

public void setResetTicketMaxAge(long resetTicketMaxAge)
Sets the reset ticket max age of this password policy.

Specified by:
setResetTicketMaxAge in interface PasswordPolicyModel
Parameters:
resetTicketMaxAge - the reset ticket max age of this password policy

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<PasswordPolicy>
Specified by:
isNew in interface PasswordPolicyModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<PasswordPolicy>
Specified by:
setNew in interface PasswordPolicyModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<PasswordPolicy>
Specified by:
isCachedModel in interface PasswordPolicyModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<PasswordPolicy>
Specified by:
setCachedModel in interface PasswordPolicyModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<PasswordPolicy>
Specified by:
isEscapedModel in interface PasswordPolicyModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<PasswordPolicy>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface PasswordPolicyModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<PasswordPolicy>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface PasswordPolicyModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<PasswordPolicy>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface PasswordPolicyModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<PasswordPolicy>
Specified by:
setExpandoBridgeAttributes in interface PasswordPolicyModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<PasswordPolicy>
Specified by:
setExpandoBridgeAttributes in interface PasswordPolicyModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<PasswordPolicy>
Specified by:
setExpandoBridgeAttributes in interface PasswordPolicyModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<PasswordPolicy>
Specified by:
clone in interface PasswordPolicyModel
Specified by:
clone in interface StagedModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(PasswordPolicy passwordPolicy)
Specified by:
compareTo in interface PasswordPolicyModel
Specified by:
compareTo in interface Comparable<PasswordPolicy>

hashCode

public int hashCode()
Specified by:
hashCode in interface PasswordPolicyModel
Overrides:
hashCode in class Object

toCacheModel

public CacheModel<PasswordPolicy> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<PasswordPolicy>
Specified by:
toCacheModel in interface PasswordPolicyModel
Returns:
the cache model object

toEscapedModel

public PasswordPolicy toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<PasswordPolicy>
Specified by:
toEscapedModel in interface PasswordPolicyModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public PasswordPolicy toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<PasswordPolicy>
Specified by:
toUnescapedModel in interface PasswordPolicyModel

toString

public String toString()
Specified by:
toString in interface PasswordPolicyModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<PasswordPolicy>
Specified by:
toXmlString in interface PasswordPolicyModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getStagedModelType

public StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface StagedModel

getWrappedPasswordPolicy

public PasswordPolicy getWrappedPasswordPolicy()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public PasswordPolicy getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<PasswordPolicy>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<PasswordPolicy>

Liferay 6.2-ce-ga5