Liferay 6.0.5

com.liferay.portal.model
Class PasswordPolicyWrapper

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

public class PasswordPolicyWrapper
extends Object
implements PasswordPolicy

This class is a wrapper for PasswordPolicy.

See Also:
PasswordPolicy, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
PasswordPolicyWrapper(PasswordPolicy passwordPolicy)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(PasswordPolicy passwordPolicy)
           
 boolean getAllowDictionaryWords()
          Gets the allow dictionary words of this password policy.
 boolean getChangeable()
          Gets the changeable of this password policy.
 boolean getChangeRequired()
          Gets the change required of this password policy.
 boolean getCheckSyntax()
          Gets the check syntax of this password policy.
 long getCompanyId()
          Gets the company id of this password policy.
 Date getCreateDate()
          Gets the create date of this password policy.
 boolean getDefaultPolicy()
          Gets the default policy of this password policy.
 String getDescription()
          Gets the description of this password policy.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 boolean getExpireable()
          Gets the expireable of this password policy.
 int getGraceLimit()
          Gets the grace limit of this password policy.
 boolean getHistory()
          Gets the history of this password policy.
 int getHistoryCount()
          Gets the history count of this password policy.
 boolean getLockout()
          Gets the lockout of this password policy.
 long getLockoutDuration()
          Gets the lockout duration of this password policy.
 long getMaxAge()
          Gets the max age of this password policy.
 int getMaxFailure()
          Gets the max failure of this password policy.
 long getMinAge()
          Gets the min age of this password policy.
 int getMinAlphanumeric()
          Gets the min alphanumeric of this password policy.
 int getMinLength()
          Gets the min length of this password policy.
 int getMinLowerCase()
          Gets the min lower case of this password policy.
 int getMinNumbers()
          Gets the min numbers of this password policy.
 int getMinSymbols()
          Gets the min symbols of this password policy.
 int getMinUpperCase()
          Gets the min upper case of this password policy.
 Date getModifiedDate()
          Gets the modified date of this password policy.
 String getName()
          Gets the name of this password policy.
 long getPasswordPolicyId()
          Gets the password policy id of this password policy.
 long getPrimaryKey()
          Gets the primary key of this password policy.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 boolean getRequireUnlock()
          Gets the require unlock of this password policy.
 long getResetFailureCount()
          Gets the reset failure count of this password policy.
 long getResetTicketMaxAge()
          Gets the reset ticket max age of this password policy.
 long getUserId()
          Gets the user id of this password policy.
 String getUserName()
          Gets the user name of this password policy.
 String getUserUuid()
          Gets the user uuid of this password policy.
 long getWarningTime()
          Gets the warning time of this password policy.
 PasswordPolicy getWrappedPasswordPolicy()
           
 int hashCode()
           
 boolean isAllowDictionaryWords()
          Determines whether this password policy is allow dictionary words.
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isChangeable()
          Determines whether this password policy is changeable.
 boolean isChangeRequired()
          Determines whether this password policy is change required.
 boolean isCheckSyntax()
          Determines whether this password policy is check syntax.
 boolean isDefaultPolicy()
          Determines whether this password policy is default policy.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isExpireable()
          Determines whether this password policy is expireable.
 boolean isHistory()
          Determines whether this password policy is history.
 boolean isLockout()
          Determines whether this password policy is lockout.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isRequireUnlock()
          Determines whether this password policy is require unlock.
 void setAllowDictionaryWords(boolean allowDictionaryWords)
          Sets whether this {$entity.humanName} 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 {$entity.humanName} is changeable.
 void setChangeRequired(boolean changeRequired)
          Sets whether this {$entity.humanName} is change required.
 void setCheckSyntax(boolean checkSyntax)
          Sets whether this {$entity.humanName} 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 {$entity.humanName} is default policy.
 void setDescription(String description)
          Sets the description of this password policy.
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.
 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 {$entity.humanName} is expireable.
 void setGraceLimit(int graceLimit)
          Sets the grace limit of this password policy.
 void setHistory(boolean history)
          Sets whether this {$entity.humanName} is history.
 void setHistoryCount(int historyCount)
          Sets the history count of this password policy.
 void setLockout(boolean lockout)
          Sets whether this {$entity.humanName} 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 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 pk)
          Sets the primary key of this password policy
 void setRequireUnlock(boolean requireUnlock)
          Sets whether this {$entity.humanName} 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 setWarningTime(long warningTime)
          Sets the warning time of this password policy.
 PasswordPolicy toEscapedModel()
          Gets a copy of this password policy as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PasswordPolicyWrapper

public PasswordPolicyWrapper(PasswordPolicy passwordPolicy)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: PasswordPolicyModel
Gets 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 pk)
Description copied from interface: PasswordPolicyModel
Sets the primary key of this password policy

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

getPasswordPolicyId

public long getPasswordPolicyId()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets the company id of this password policy.

Specified by:
getCompanyId in interface PasswordPolicyModel
Returns:
the company id of this password policy

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: PasswordPolicyModel
Sets the company id of this password policy.

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

getUserId

public long getUserId()
Description copied from interface: PasswordPolicyModel
Gets the user id of this password policy.

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

setUserId

public void setUserId(long userId)
Description copied from interface: PasswordPolicyModel
Sets the user id of this password policy.

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

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: PasswordPolicyModel
Gets the user uuid of this password policy.

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)
Description copied from interface: PasswordPolicyModel
Sets the user uuid of this password policy.

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

getUserName

public String getUserName()
Description copied from interface: PasswordPolicyModel
Gets the user name of this password policy.

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

setUserName

public void setUserName(String userName)
Description copied from interface: PasswordPolicyModel
Sets the user name of this password policy.

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

getCreateDate

public Date getCreateDate()
Description copied from interface: PasswordPolicyModel
Gets the create date of this password policy.

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

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: PasswordPolicyModel
Sets the create date of this password policy.

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

getModifiedDate

public Date getModifiedDate()
Description copied from interface: PasswordPolicyModel
Gets the modified date of this password policy.

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

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: PasswordPolicyModel
Sets the modified date of this password policy.

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

getDefaultPolicy

public boolean getDefaultPolicy()
Description copied from interface: PasswordPolicyModel
Gets 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()
Description copied from interface: PasswordPolicyModel
Determines whether this password policy is default policy.

Specified by:
isDefaultPolicy in interface PasswordPolicyModel
Returns:
whether this password policy is default policy

setDefaultPolicy

public void setDefaultPolicy(boolean defaultPolicy)
Description copied from interface: PasswordPolicyModel
Sets whether this {$entity.humanName} is default policy.

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

getName

public String getName()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets the changeable of this password policy.

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

isChangeable

public boolean isChangeable()
Description copied from interface: PasswordPolicyModel
Determines whether this password policy is changeable.

Specified by:
isChangeable in interface PasswordPolicyModel
Returns:
whether this password policy is changeable

setChangeable

public void setChangeable(boolean changeable)
Description copied from interface: PasswordPolicyModel
Sets whether this {$entity.humanName} is changeable.

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

getChangeRequired

public boolean getChangeRequired()
Description copied from interface: PasswordPolicyModel
Gets 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()
Description copied from interface: PasswordPolicyModel
Determines whether this password policy is change required.

Specified by:
isChangeRequired in interface PasswordPolicyModel
Returns:
whether this password policy is change required

setChangeRequired

public void setChangeRequired(boolean changeRequired)
Description copied from interface: PasswordPolicyModel
Sets whether this {$entity.humanName} is change required.

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

getMinAge

public long getMinAge()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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()
Description copied from interface: PasswordPolicyModel
Determines whether this password policy is check syntax.

Specified by:
isCheckSyntax in interface PasswordPolicyModel
Returns:
whether this password policy is check syntax

setCheckSyntax

public void setCheckSyntax(boolean checkSyntax)
Description copied from interface: PasswordPolicyModel
Sets whether this {$entity.humanName} is check syntax.

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

getAllowDictionaryWords

public boolean getAllowDictionaryWords()
Description copied from interface: PasswordPolicyModel
Gets 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()
Description copied from interface: PasswordPolicyModel
Determines whether this password policy is allow dictionary words.

Specified by:
isAllowDictionaryWords in interface PasswordPolicyModel
Returns:
whether this password policy is allow dictionary words

setAllowDictionaryWords

public void setAllowDictionaryWords(boolean allowDictionaryWords)
Description copied from interface: PasswordPolicyModel
Sets whether this {$entity.humanName} is allow dictionary words.

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

getMinAlphanumeric

public int getMinAlphanumeric()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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

getHistory

public boolean getHistory()
Description copied from interface: PasswordPolicyModel
Gets the history of this password policy.

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

isHistory

public boolean isHistory()
Description copied from interface: PasswordPolicyModel
Determines whether this password policy is history.

Specified by:
isHistory in interface PasswordPolicyModel
Returns:
whether this password policy is history

setHistory

public void setHistory(boolean history)
Description copied from interface: PasswordPolicyModel
Sets whether this {$entity.humanName} is history.

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

getHistoryCount

public int getHistoryCount()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets the expireable of this password policy.

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

isExpireable

public boolean isExpireable()
Description copied from interface: PasswordPolicyModel
Determines whether this password policy is expireable.

Specified by:
isExpireable in interface PasswordPolicyModel
Returns:
whether this password policy is expireable

setExpireable

public void setExpireable(boolean expireable)
Description copied from interface: PasswordPolicyModel
Sets whether this {$entity.humanName} is expireable.

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

getMaxAge

public long getMaxAge()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets the lockout of this password policy.

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

isLockout

public boolean isLockout()
Description copied from interface: PasswordPolicyModel
Determines whether this password policy is lockout.

Specified by:
isLockout in interface PasswordPolicyModel
Returns:
whether this password policy is lockout

setLockout

public void setLockout(boolean lockout)
Description copied from interface: PasswordPolicyModel
Sets whether this {$entity.humanName} is lockout.

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

getMaxFailure

public int getMaxFailure()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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()
Description copied from interface: PasswordPolicyModel
Determines whether this password policy is require unlock.

Specified by:
isRequireUnlock in interface PasswordPolicyModel
Returns:
whether this password policy is require unlock

setRequireUnlock

public void setRequireUnlock(boolean requireUnlock)
Description copied from interface: PasswordPolicyModel
Sets whether this {$entity.humanName} is require unlock.

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

getResetFailureCount

public long getResetFailureCount()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
Gets 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)
Description copied from interface: PasswordPolicyModel
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

toEscapedModel

public PasswordPolicy toEscapedModel()
Description copied from interface: PasswordPolicyModel
Gets a copy of this password policy as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface PasswordPolicyModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines 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
Determines 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
Determines 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
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<PasswordPolicy>
Specified by:
setEscapedModel in interface PasswordPolicyModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

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

getExpandoBridge

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

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

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 retrieve the expando bridge attributes from
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
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

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets 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

getWrappedPasswordPolicy

public PasswordPolicy getWrappedPasswordPolicy()

Liferay 6.0.5