Interface PasswordPolicyModel

All Superinterfaces:
AuditedModel, BaseModel<PasswordPolicy>, ClassedModel, Cloneable, Comparable<PasswordPolicy>, MVCCModel, Serializable, ShardedModel, StagedAuditedModel, StagedModel
All Known Subinterfaces:
PasswordPolicy
All Known Implementing Classes:
PasswordPolicyWrapper

@ProviderType public interface PasswordPolicyModel extends BaseModel<PasswordPolicy>, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the PasswordPolicy service. Represents a row in the "PasswordPolicy" database table, with each column mapped to a property of this class.

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

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this password policy.
      Returns:
      the primary key of this password policy
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this password policy.
      Parameters:
      primaryKey - the primary key of this password policy
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this password policy.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this password policy
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this password policy.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this password policy
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this password policy.
      Specified by:
      getUuid in interface StagedModel
      Returns:
      the uuid of this password policy
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this password policy.
      Specified by:
      setUuid in interface StagedModel
      Parameters:
      uuid - the uuid of this password policy
    • getPasswordPolicyId

      long getPasswordPolicyId()
      Returns the password policy ID of this password policy.
      Returns:
      the password policy ID of this password policy
    • setPasswordPolicyId

      void setPasswordPolicyId(long passwordPolicyId)
      Sets the password policy ID of this password policy.
      Parameters:
      passwordPolicyId - the password policy ID of this password policy
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this password policy.
      Specified by:
      getCompanyId in interface AuditedModel
      Specified by:
      getCompanyId in interface ShardedModel
      Specified by:
      getCompanyId in interface StagedModel
      Returns:
      the company ID of this password policy
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this password policy.
      Specified by:
      setCompanyId in interface AuditedModel
      Specified by:
      setCompanyId in interface ShardedModel
      Specified by:
      setCompanyId in interface StagedModel
      Parameters:
      companyId - the company ID of this password policy
    • getUserId

      long getUserId()
      Returns the user ID of this password policy.
      Specified by:
      getUserId in interface AuditedModel
      Returns:
      the user ID of this password policy
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this password policy.
      Specified by:
      setUserId in interface AuditedModel
      Parameters:
      userId - the user ID of this password policy
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this password policy.
      Specified by:
      getUserUuid in interface AuditedModel
      Returns:
      the user uuid of this password policy
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this password policy.
      Specified by:
      setUserUuid in interface AuditedModel
      Parameters:
      userUuid - the user uuid of this password policy
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this password policy.
      Specified by:
      getUserName in interface AuditedModel
      Returns:
      the user name of this password policy
    • setUserName

      void setUserName(String userName)
      Sets the user name of this password policy.
      Specified by:
      setUserName in interface AuditedModel
      Parameters:
      userName - the user name of this password policy
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this password policy.
      Specified by:
      getCreateDate in interface AuditedModel
      Specified by:
      getCreateDate in interface StagedModel
      Returns:
      the create date of this password policy
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this password policy.
      Specified by:
      setCreateDate in interface AuditedModel
      Specified by:
      setCreateDate in interface StagedModel
      Parameters:
      createDate - the create date of this password policy
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this password policy.
      Specified by:
      getModifiedDate in interface AuditedModel
      Specified by:
      getModifiedDate in interface StagedModel
      Returns:
      the modified date of this password policy
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this password policy.
      Specified by:
      setModifiedDate in interface AuditedModel
      Specified by:
      setModifiedDate in interface StagedModel
      Parameters:
      modifiedDate - the modified date of this password policy
    • getDefaultPolicy

      boolean getDefaultPolicy()
      Returns the default policy of this password policy.
      Returns:
      the default policy of this password policy
    • isDefaultPolicy

      boolean isDefaultPolicy()
      Returns true if this password policy is default policy.
      Returns:
      true if this password policy is default policy; false otherwise
    • setDefaultPolicy

      void setDefaultPolicy(boolean defaultPolicy)
      Sets whether this password policy is default policy.
      Parameters:
      defaultPolicy - the default policy of this password policy
    • getName

      @AutoEscape String getName()
      Returns the name of this password policy.
      Returns:
      the name of this password policy
    • setName

      void setName(String name)
      Sets the name of this password policy.
      Parameters:
      name - the name of this password policy
    • getDescription

      @AutoEscape String getDescription()
      Returns the description of this password policy.
      Returns:
      the description of this password policy
    • setDescription

      void setDescription(String description)
      Sets the description of this password policy.
      Parameters:
      description - the description of this password policy
    • getChangeable

      boolean getChangeable()
      Returns the changeable of this password policy.
      Returns:
      the changeable of this password policy
    • isChangeable

      boolean isChangeable()
      Returns true if this password policy is changeable.
      Returns:
      true if this password policy is changeable; false otherwise
    • setChangeable

      void setChangeable(boolean changeable)
      Sets whether this password policy is changeable.
      Parameters:
      changeable - the changeable of this password policy
    • getChangeRequired

      boolean getChangeRequired()
      Returns the change required of this password policy.
      Returns:
      the change required of this password policy
    • isChangeRequired

      boolean isChangeRequired()
      Returns true if this password policy is change required.
      Returns:
      true if this password policy is change required; false otherwise
    • setChangeRequired

      void setChangeRequired(boolean changeRequired)
      Sets whether this password policy is change required.
      Parameters:
      changeRequired - the change required of this password policy
    • getMinAge

      long getMinAge()
      Returns the min age of this password policy.
      Returns:
      the min age of this password policy
    • setMinAge

      void setMinAge(long minAge)
      Sets the min age of this password policy.
      Parameters:
      minAge - the min age of this password policy
    • getCheckSyntax

      boolean getCheckSyntax()
      Returns the check syntax of this password policy.
      Returns:
      the check syntax of this password policy
    • isCheckSyntax

      boolean isCheckSyntax()
      Returns true if this password policy is check syntax.
      Returns:
      true if this password policy is check syntax; false otherwise
    • setCheckSyntax

      void setCheckSyntax(boolean checkSyntax)
      Sets whether this password policy is check syntax.
      Parameters:
      checkSyntax - the check syntax of this password policy
    • getAllowDictionaryWords

      boolean getAllowDictionaryWords()
      Returns the allow dictionary words of this password policy.
      Returns:
      the allow dictionary words of this password policy
    • isAllowDictionaryWords

      boolean isAllowDictionaryWords()
      Returns true if this password policy is allow dictionary words.
      Returns:
      true if this password policy is allow dictionary words; false otherwise
    • setAllowDictionaryWords

      void setAllowDictionaryWords(boolean allowDictionaryWords)
      Sets whether this password policy is allow dictionary words.
      Parameters:
      allowDictionaryWords - the allow dictionary words of this password policy
    • getMinAlphanumeric

      int getMinAlphanumeric()
      Returns the min alphanumeric of this password policy.
      Returns:
      the min alphanumeric of this password policy
    • setMinAlphanumeric

      void setMinAlphanumeric(int minAlphanumeric)
      Sets the min alphanumeric of this password policy.
      Parameters:
      minAlphanumeric - the min alphanumeric of this password policy
    • getMinLength

      int getMinLength()
      Returns the min length of this password policy.
      Returns:
      the min length of this password policy
    • setMinLength

      void setMinLength(int minLength)
      Sets the min length of this password policy.
      Parameters:
      minLength - the min length of this password policy
    • getMinLowerCase

      int getMinLowerCase()
      Returns the min lower case of this password policy.
      Returns:
      the min lower case of this password policy
    • setMinLowerCase

      void setMinLowerCase(int minLowerCase)
      Sets the min lower case of this password policy.
      Parameters:
      minLowerCase - the min lower case of this password policy
    • getMinNumbers

      int getMinNumbers()
      Returns the min numbers of this password policy.
      Returns:
      the min numbers of this password policy
    • setMinNumbers

      void setMinNumbers(int minNumbers)
      Sets the min numbers of this password policy.
      Parameters:
      minNumbers - the min numbers of this password policy
    • getMinSymbols

      int getMinSymbols()
      Returns the min symbols of this password policy.
      Returns:
      the min symbols of this password policy
    • setMinSymbols

      void setMinSymbols(int minSymbols)
      Sets the min symbols of this password policy.
      Parameters:
      minSymbols - the min symbols of this password policy
    • getMinUpperCase

      int getMinUpperCase()
      Returns the min upper case of this password policy.
      Returns:
      the min upper case of this password policy
    • setMinUpperCase

      void setMinUpperCase(int minUpperCase)
      Sets the min upper case of this password policy.
      Parameters:
      minUpperCase - the min upper case of this password policy
    • getRegex

      @AutoEscape String getRegex()
      Returns the regex of this password policy.
      Returns:
      the regex of this password policy
    • setRegex

      void setRegex(String regex)
      Sets the regex of this password policy.
      Parameters:
      regex - the regex of this password policy
    • getHistory

      boolean getHistory()
      Returns the history of this password policy.
      Returns:
      the history of this password policy
    • isHistory

      boolean isHistory()
      Returns true if this password policy is history.
      Returns:
      true if this password policy is history; false otherwise
    • setHistory

      void setHistory(boolean history)
      Sets whether this password policy is history.
      Parameters:
      history - the history of this password policy
    • getHistoryCount

      int getHistoryCount()
      Returns the history count of this password policy.
      Returns:
      the history count of this password policy
    • setHistoryCount

      void setHistoryCount(int historyCount)
      Sets the history count of this password policy.
      Parameters:
      historyCount - the history count of this password policy
    • getExpireable

      boolean getExpireable()
      Returns the expireable of this password policy.
      Returns:
      the expireable of this password policy
    • isExpireable

      boolean isExpireable()
      Returns true if this password policy is expireable.
      Returns:
      true if this password policy is expireable; false otherwise
    • setExpireable

      void setExpireable(boolean expireable)
      Sets whether this password policy is expireable.
      Parameters:
      expireable - the expireable of this password policy
    • getMaxAge

      long getMaxAge()
      Returns the max age of this password policy.
      Returns:
      the max age of this password policy
    • setMaxAge

      void setMaxAge(long maxAge)
      Sets the max age of this password policy.
      Parameters:
      maxAge - the max age of this password policy
    • getWarningTime

      long getWarningTime()
      Returns the warning time of this password policy.
      Returns:
      the warning time of this password policy
    • setWarningTime

      void setWarningTime(long warningTime)
      Sets the warning time of this password policy.
      Parameters:
      warningTime - the warning time of this password policy
    • getGraceLimit

      int getGraceLimit()
      Returns the grace limit of this password policy.
      Returns:
      the grace limit of this password policy
    • setGraceLimit

      void setGraceLimit(int graceLimit)
      Sets the grace limit of this password policy.
      Parameters:
      graceLimit - the grace limit of this password policy
    • getLockout

      boolean getLockout()
      Returns the lockout of this password policy.
      Returns:
      the lockout of this password policy
    • isLockout

      boolean isLockout()
      Returns true if this password policy is lockout.
      Returns:
      true if this password policy is lockout; false otherwise
    • setLockout

      void setLockout(boolean lockout)
      Sets whether this password policy is lockout.
      Parameters:
      lockout - the lockout of this password policy
    • getMaxFailure

      int getMaxFailure()
      Returns the max failure of this password policy.
      Returns:
      the max failure of this password policy
    • setMaxFailure

      void setMaxFailure(int maxFailure)
      Sets the max failure of this password policy.
      Parameters:
      maxFailure - the max failure of this password policy
    • getLockoutDuration

      long getLockoutDuration()
      Returns the lockout duration of this password policy.
      Returns:
      the lockout duration of this password policy
    • setLockoutDuration

      void setLockoutDuration(long lockoutDuration)
      Sets the lockout duration of this password policy.
      Parameters:
      lockoutDuration - the lockout duration of this password policy
    • getRequireUnlock

      boolean getRequireUnlock()
      Returns the require unlock of this password policy.
      Returns:
      the require unlock of this password policy
    • isRequireUnlock

      boolean isRequireUnlock()
      Returns true if this password policy is require unlock.
      Returns:
      true if this password policy is require unlock; false otherwise
    • setRequireUnlock

      void setRequireUnlock(boolean requireUnlock)
      Sets whether this password policy is require unlock.
      Parameters:
      requireUnlock - the require unlock of this password policy
    • getResetFailureCount

      long getResetFailureCount()
      Returns the reset failure count of this password policy.
      Returns:
      the reset failure count of this password policy
    • setResetFailureCount

      void setResetFailureCount(long resetFailureCount)
      Sets the reset failure count of this password policy.
      Parameters:
      resetFailureCount - the reset failure count of this password policy
    • getResetTicketMaxAge

      long getResetTicketMaxAge()
      Returns the reset ticket max age of this password policy.
      Returns:
      the reset ticket max age of this password policy
    • setResetTicketMaxAge

      void setResetTicketMaxAge(long resetTicketMaxAge)
      Sets the reset ticket max age of this password policy.
      Parameters:
      resetTicketMaxAge - the reset ticket max age of this password policy
    • cloneWithOriginalValues

      PasswordPolicy cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<PasswordPolicy>
    • toXmlString

      default String toXmlString()