Class MFATimeBasedOTPEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MFATimeBasedOTPEntry>
com.liferay.multi.factor.authentication.timebased.otp.model.MFATimeBasedOTPEntryWrapper
All Implemented Interfaces:
MFATimeBasedOTPEntry, MFATimeBasedOTPEntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<MFATimeBasedOTPEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<MFATimeBasedOTPEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<MFATimeBasedOTPEntry>

public class MFATimeBasedOTPEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MFATimeBasedOTPEntry> implements MFATimeBasedOTPEntry, com.liferay.portal.kernel.model.ModelWrapper<MFATimeBasedOTPEntry>

This class is a wrapper for MFATimeBasedOTPEntry.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.multi.factor.authentication.timebased.otp.model.MFATimeBasedOTPEntry

    MFA_TIME_BASED_OTP_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this mfa time based otp entry.
    Returns the create date of this mfa time based otp entry.
    int
    Returns the failed attempts of this mfa time based otp entry.
    Returns the last fail date of this mfa time based otp entry.
    Returns the last fail ip of this mfa time based otp entry.
    Returns the last success date of this mfa time based otp entry.
    Returns the last success ip of this mfa time based otp entry.
    Returns the last valid totp of this mfa time based otp entry.
    long
    Returns the mfa time based otp entry ID of this mfa time based otp entry.
     
    Returns the modified date of this mfa time based otp entry.
    long
    Returns the mvcc version of this mfa time based otp entry.
    long
    Returns the primary key of this mfa time based otp entry.
    Returns the shared secret of this mfa time based otp entry.
    long
    Returns the user ID of this mfa time based otp entry.
    Returns the user name of this mfa time based otp entry.
    Returns the user uuid of this mfa time based otp entry.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this mfa time based otp entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this mfa time based otp entry.
    void
    setFailedAttempts(int failedAttempts)
    Sets the failed attempts of this mfa time based otp entry.
    void
    setLastFailDate(Date lastFailDate)
    Sets the last fail date of this mfa time based otp entry.
    void
    setLastFailIP(String lastFailIP)
    Sets the last fail ip of this mfa time based otp entry.
    void
    setLastSuccessDate(Date lastSuccessDate)
    Sets the last success date of this mfa time based otp entry.
    void
    setLastSuccessIP(String lastSuccessIP)
    Sets the last success ip of this mfa time based otp entry.
    void
    setLastValidTOTP(String lastValidTOTP)
    Sets the last valid totp of this mfa time based otp entry.
    void
    setMfaTimeBasedOTPEntryId(long mfaTimeBasedOTPEntryId)
    Sets the mfa time based otp entry ID of this mfa time based otp entry.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this mfa time based otp entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this mfa time based otp entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this mfa time based otp entry.
    void
    setSharedSecret(String sharedSecret)
    Sets the shared secret of this mfa time based otp entry.
    void
    setUserId(long userId)
    Sets the user ID of this mfa time based otp entry.
    void
    setUserName(String userName)
    Sets the user name of this mfa time based otp entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this mfa time based otp entry.
     
    wrap(MFATimeBasedOTPEntry mfaTimeBasedOTPEntry)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper

    getWrappedModel
  • Constructor Details

    • MFATimeBasedOTPEntryWrapper

      public MFATimeBasedOTPEntryWrapper(MFATimeBasedOTPEntry mfaTimeBasedOTPEntry)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<MFATimeBasedOTPEntry>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<MFATimeBasedOTPEntry>
    • cloneWithOriginalValues

      public MFATimeBasedOTPEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<MFATimeBasedOTPEntry>
      Specified by:
      cloneWithOriginalValues in interface MFATimeBasedOTPEntryModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this mfa time based otp entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface MFATimeBasedOTPEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this mfa time based otp entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this mfa time based otp entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface MFATimeBasedOTPEntryModel
      Returns:
      the create date of this mfa time based otp entry
    • getFailedAttempts

      public int getFailedAttempts()
      Returns the failed attempts of this mfa time based otp entry.
      Specified by:
      getFailedAttempts in interface MFATimeBasedOTPEntryModel
      Returns:
      the failed attempts of this mfa time based otp entry
    • getLastFailDate

      public Date getLastFailDate()
      Returns the last fail date of this mfa time based otp entry.
      Specified by:
      getLastFailDate in interface MFATimeBasedOTPEntryModel
      Returns:
      the last fail date of this mfa time based otp entry
    • getLastFailIP

      public String getLastFailIP()
      Returns the last fail ip of this mfa time based otp entry.
      Specified by:
      getLastFailIP in interface MFATimeBasedOTPEntryModel
      Returns:
      the last fail ip of this mfa time based otp entry
    • getLastSuccessDate

      public Date getLastSuccessDate()
      Returns the last success date of this mfa time based otp entry.
      Specified by:
      getLastSuccessDate in interface MFATimeBasedOTPEntryModel
      Returns:
      the last success date of this mfa time based otp entry
    • getLastSuccessIP

      public String getLastSuccessIP()
      Returns the last success ip of this mfa time based otp entry.
      Specified by:
      getLastSuccessIP in interface MFATimeBasedOTPEntryModel
      Returns:
      the last success ip of this mfa time based otp entry
    • getLastValidTOTP

      public String getLastValidTOTP()
      Returns the last valid totp of this mfa time based otp entry.
      Specified by:
      getLastValidTOTP in interface MFATimeBasedOTPEntryModel
      Returns:
      the last valid totp of this mfa time based otp entry
    • getMfaTimeBasedOTPEntryId

      public long getMfaTimeBasedOTPEntryId()
      Returns the mfa time based otp entry ID of this mfa time based otp entry.
      Specified by:
      getMfaTimeBasedOTPEntryId in interface MFATimeBasedOTPEntryModel
      Returns:
      the mfa time based otp entry ID of this mfa time based otp entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this mfa time based otp entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface MFATimeBasedOTPEntryModel
      Returns:
      the modified date of this mfa time based otp entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this mfa time based otp entry.
      Specified by:
      getMvccVersion in interface MFATimeBasedOTPEntryModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this mfa time based otp entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this mfa time based otp entry.
      Specified by:
      getPrimaryKey in interface MFATimeBasedOTPEntryModel
      Returns:
      the primary key of this mfa time based otp entry
    • getSharedSecret

      public String getSharedSecret()
      Returns the shared secret of this mfa time based otp entry.
      Specified by:
      getSharedSecret in interface MFATimeBasedOTPEntryModel
      Returns:
      the shared secret of this mfa time based otp entry
    • getUserId

      public long getUserId()
      Returns the user ID of this mfa time based otp entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface MFATimeBasedOTPEntryModel
      Returns:
      the user ID of this mfa time based otp entry
    • getUserName

      public String getUserName()
      Returns the user name of this mfa time based otp entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface MFATimeBasedOTPEntryModel
      Returns:
      the user name of this mfa time based otp entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this mfa time based otp entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface MFATimeBasedOTPEntryModel
      Returns:
      the user uuid of this mfa time based otp entry
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this mfa time based otp entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface MFATimeBasedOTPEntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this mfa time based otp entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this mfa time based otp entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface MFATimeBasedOTPEntryModel
      Parameters:
      createDate - the create date of this mfa time based otp entry
    • setFailedAttempts

      public void setFailedAttempts(int failedAttempts)
      Sets the failed attempts of this mfa time based otp entry.
      Specified by:
      setFailedAttempts in interface MFATimeBasedOTPEntryModel
      Parameters:
      failedAttempts - the failed attempts of this mfa time based otp entry
    • setLastFailDate

      public void setLastFailDate(Date lastFailDate)
      Sets the last fail date of this mfa time based otp entry.
      Specified by:
      setLastFailDate in interface MFATimeBasedOTPEntryModel
      Parameters:
      lastFailDate - the last fail date of this mfa time based otp entry
    • setLastFailIP

      public void setLastFailIP(String lastFailIP)
      Sets the last fail ip of this mfa time based otp entry.
      Specified by:
      setLastFailIP in interface MFATimeBasedOTPEntryModel
      Parameters:
      lastFailIP - the last fail ip of this mfa time based otp entry
    • setLastSuccessDate

      public void setLastSuccessDate(Date lastSuccessDate)
      Sets the last success date of this mfa time based otp entry.
      Specified by:
      setLastSuccessDate in interface MFATimeBasedOTPEntryModel
      Parameters:
      lastSuccessDate - the last success date of this mfa time based otp entry
    • setLastSuccessIP

      public void setLastSuccessIP(String lastSuccessIP)
      Sets the last success ip of this mfa time based otp entry.
      Specified by:
      setLastSuccessIP in interface MFATimeBasedOTPEntryModel
      Parameters:
      lastSuccessIP - the last success ip of this mfa time based otp entry
    • setLastValidTOTP

      public void setLastValidTOTP(String lastValidTOTP)
      Sets the last valid totp of this mfa time based otp entry.
      Specified by:
      setLastValidTOTP in interface MFATimeBasedOTPEntryModel
      Parameters:
      lastValidTOTP - the last valid totp of this mfa time based otp entry
    • setMfaTimeBasedOTPEntryId

      public void setMfaTimeBasedOTPEntryId(long mfaTimeBasedOTPEntryId)
      Sets the mfa time based otp entry ID of this mfa time based otp entry.
      Specified by:
      setMfaTimeBasedOTPEntryId in interface MFATimeBasedOTPEntryModel
      Parameters:
      mfaTimeBasedOTPEntryId - the mfa time based otp entry ID of this mfa time based otp entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this mfa time based otp entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface MFATimeBasedOTPEntryModel
      Parameters:
      modifiedDate - the modified date of this mfa time based otp entry
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this mfa time based otp entry.
      Specified by:
      setMvccVersion in interface MFATimeBasedOTPEntryModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this mfa time based otp entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this mfa time based otp entry.
      Specified by:
      setPrimaryKey in interface MFATimeBasedOTPEntryModel
      Parameters:
      primaryKey - the primary key of this mfa time based otp entry
    • setSharedSecret

      public void setSharedSecret(String sharedSecret)
      Sets the shared secret of this mfa time based otp entry.
      Specified by:
      setSharedSecret in interface MFATimeBasedOTPEntryModel
      Parameters:
      sharedSecret - the shared secret of this mfa time based otp entry
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this mfa time based otp entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface MFATimeBasedOTPEntryModel
      Parameters:
      userId - the user ID of this mfa time based otp entry
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this mfa time based otp entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface MFATimeBasedOTPEntryModel
      Parameters:
      userName - the user name of this mfa time based otp entry
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this mfa time based otp entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface MFATimeBasedOTPEntryModel
      Parameters:
      userUuid - the user uuid of this mfa time based otp entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface MFATimeBasedOTPEntryModel
    • wrap

      protected MFATimeBasedOTPEntryWrapper wrap(MFATimeBasedOTPEntry mfaTimeBasedOTPEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MFATimeBasedOTPEntry>