Liferay 6.2-ce-ga5

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:
AuditedModel, BaseModel<PasswordPolicy>, ClassedModel, PasswordPolicyModel, StagedAuditedModel, StagedModel, Serializable, Cloneable, Comparable<PasswordPolicy>
Direct Known Subclasses:
PasswordPolicyBaseImpl

@JSON(strict=true)
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.

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

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static long DEFAULTPOLICY_COLUMN_BITMASK
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static long NAME_COLUMN_BITMASK
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long PASSWORDPOLICYID_COLUMN_BITMASK
           
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
           
static long UUID_COLUMN_BITMASK
           
 
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()
          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 getColumnBitmask()
           
 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 getOriginalCompanyId()
           
 boolean getOriginalDefaultPolicy()
           
 String getOriginalName()
           
 String getOriginalUuid()
           
 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.
 int hashCode()
           
 boolean isAllowDictionaryWords()
          Returns true if this password policy is allow dictionary words.
 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 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 isRequireUnlock()
          Returns true if this password policy is require unlock.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setAllowDictionaryWords(boolean allowDictionaryWords)
          Sets whether this password policy is allow dictionary words.
 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(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 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.
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()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

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

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
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

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

DEFAULTPOLICY_COLUMN_BITMASK

public static long DEFAULTPOLICY_COLUMN_BITMASK

NAME_COLUMN_BITMASK

public static long NAME_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

PASSWORDPOLICYID_COLUMN_BITMASK

public static long PASSWORDPOLICYID_COLUMN_BITMASK

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

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

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

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>
Overrides:
getModelAttributes in class BaseModelImpl<PasswordPolicy>

setModelAttributes

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

getUuid

@JSON
public String getUuid()
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
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

getOriginalUuid

public String getOriginalUuid()

getPasswordPolicyId

@JSON
public long getPasswordPolicyId()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public long getCompanyId()
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
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

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
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
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
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

@JSON
public String getUserName()
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
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

@JSON
public Date getCreateDate()
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
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

@JSON
public Date getModifiedDate()
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
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

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

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

getOriginalDefaultPolicy

public boolean getOriginalDefaultPolicy()

getName

@JSON
public String getName()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public String getDescription()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public boolean getChangeable()
Description copied from interface: PasswordPolicyModel
Returns 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
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)
Description copied from interface: PasswordPolicyModel
Sets whether this password policy is changeable.

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

getChangeRequired

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

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

getMinAge

@JSON
public long getMinAge()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public boolean getCheckSyntax()
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
Sets whether this password policy is check syntax.

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

getAllowDictionaryWords

@JSON
public boolean getAllowDictionaryWords()
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
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

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

@JSON
public int getMinLength()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public int getMinLowerCase()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public int getMinNumbers()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public int getMinSymbols()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public int getMinUpperCase()
Description copied from interface: PasswordPolicyModel
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)
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

getRegex

@JSON
public String getRegex()
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
Sets the regex of this password policy.

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

getHistory

@JSON
public boolean getHistory()
Description copied from interface: PasswordPolicyModel
Returns 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
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)
Description copied from interface: PasswordPolicyModel
Sets whether this password policy is history.

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

getHistoryCount

@JSON
public int getHistoryCount()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public boolean getExpireable()
Description copied from interface: PasswordPolicyModel
Returns 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
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)
Description copied from interface: PasswordPolicyModel
Sets whether this password policy is expireable.

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

getMaxAge

@JSON
public long getMaxAge()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public long getWarningTime()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public int getGraceLimit()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public boolean getLockout()
Description copied from interface: PasswordPolicyModel
Returns 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
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)
Description copied from interface: PasswordPolicyModel
Sets whether this password policy is lockout.

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

getMaxFailure

@JSON
public int getMaxFailure()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public long getLockoutDuration()
Description copied from interface: PasswordPolicyModel
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)
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

@JSON
public boolean getRequireUnlock()
Description copied from interface: PasswordPolicyModel
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()
Description copied from interface: PasswordPolicyModel
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)
Description copied from interface: PasswordPolicyModel
Sets whether this password policy is require unlock.

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

getResetFailureCount

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

@JSON
public long getResetTicketMaxAge()
Description copied from interface: PasswordPolicyModel
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)
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

getStagedModelType

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

getColumnBitmask

public long getColumnBitmask()

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
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 be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

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
Overrides:
toEscapedModel in class BaseModelImpl<PasswordPolicy>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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
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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<PasswordPolicy>
Overrides:
resetOriginalValues in class BaseModelImpl<PasswordPolicy>

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
Overrides:
toCacheModel in class BaseModelImpl<PasswordPolicy>
Returns:
the cache model 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
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

Liferay 6.2-ce-ga5