Liferay 6.0.5

com.liferay.portal.model.impl
Class PasswordPolicyModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<PasswordPolicy>
      extended by com.liferay.portal.model.impl.PasswordPolicyModelImpl
All Implemented Interfaces:
BaseModel<PasswordPolicy>, PasswordPolicyModel, Serializable, Cloneable, Comparable<PasswordPolicy>
Direct Known Subclasses:
PasswordPolicyImpl

public class PasswordPolicyModelImpl
extends BaseModelImpl<PasswordPolicy>
implements PasswordPolicyModel

The base model implementation for the PasswordPolicy service. Represents a row in the "PasswordPolicy" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface PasswordPolicyModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PasswordPolicyImpl.

Never modify or reference this class directly. All methods that expect a password policy model instance should use the PasswordPolicy interface instead.

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

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
PasswordPolicyModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(PasswordPolicy passwordPolicy)
           
 boolean equals(Object obj)
           
 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 getOriginalCompanyId()
           
 boolean getOriginalDefaultPolicy()
           
 String getOriginalName()
           
 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.
 int hashCode()
           
 boolean isAllowDictionaryWords()
          Determines whether this password policy is allow dictionary words.
 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 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 isRequireUnlock()
          Determines whether this password policy is require unlock.
 void setAllowDictionaryWords(boolean allowDictionaryWords)
          Sets whether this {$entity.humanName} is allow dictionary words.
 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 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 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.
static PasswordPolicy toModel(PasswordPolicySoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<PasswordPolicy> toModels(PasswordPolicySoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.PasswordPolicyModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

PasswordPolicyModelImpl

public PasswordPolicyModelImpl()
Method Detail

toModel

public static PasswordPolicy toModel(PasswordPolicySoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<PasswordPolicy> toModels(PasswordPolicySoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

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

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

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

getOriginalCompanyId

public long getOriginalCompanyId()

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

getOriginalDefaultPolicy

public boolean getOriginalDefaultPolicy()

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

getOriginalName

public String getOriginalName()

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

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
Overrides:
getExpandoBridge in class BaseModelImpl<PasswordPolicy>
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
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<PasswordPolicy>
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
Specified by:
clone in class BaseModelImpl<PasswordPolicy>
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>

equals

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

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

Liferay 6.0.5