Class SharepointOAuth2TokenEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SharepointOAuth2TokenEntry>
com.liferay.sharepoint.rest.oauth2.model.SharepointOAuth2TokenEntryWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<SharepointOAuth2TokenEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<SharepointOAuth2TokenEntry>, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, SharepointOAuth2TokenEntry, SharepointOAuth2TokenEntryModel, Serializable, Cloneable, Comparable<SharepointOAuth2TokenEntry>

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

This class is a wrapper for SharepointOAuth2TokenEntry.

See Also:
Generated:
  • Field Summary

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

    model

    Fields inherited from interface com.liferay.sharepoint.rest.oauth2.model.SharepointOAuth2TokenEntry

    SHAREPOINT_O_AUTH2_TOKEN_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the access token of this sharepoint o auth2 token entry.
    long
    Returns the company ID of this sharepoint o auth2 token entry.
    Returns the configuration pid of this sharepoint o auth2 token entry.
    Returns the create date of this sharepoint o auth2 token entry.
    Returns the expiration date of this sharepoint o auth2 token entry.
     
    long
    Returns the primary key of this sharepoint o auth2 token entry.
    Returns the refresh token of this sharepoint o auth2 token entry.
    long
    Returns the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entry.
    long
    Returns the user ID of this sharepoint o auth2 token entry.
    Returns the user name of this sharepoint o auth2 token entry.
    Returns the user uuid of this sharepoint o auth2 token entry.
    void
     
    void
    setAccessToken(String accessToken)
    Sets the access token of this sharepoint o auth2 token entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this sharepoint o auth2 token entry.
    void
    setConfigurationPid(String configurationPid)
    Sets the configuration pid of this sharepoint o auth2 token entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this sharepoint o auth2 token entry.
    void
    setExpirationDate(Date expirationDate)
    Sets the expiration date of this sharepoint o auth2 token entry.
    void
     
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this sharepoint o auth2 token entry.
    void
    setRefreshToken(String refreshToken)
    Sets the refresh token of this sharepoint o auth2 token entry.
    void
    setSharepointOAuth2TokenEntryId(long sharepointOAuth2TokenEntryId)
    Sets the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entry.
    void
    setUserId(long userId)
    Sets the user ID of this sharepoint o auth2 token entry.
    void
    setUserName(String userName)
    Sets the user name of this sharepoint o auth2 token entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this sharepoint o auth2 token entry.
     
    wrap(SharepointOAuth2TokenEntry sharepointOAuth2TokenEntry)
     

    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

    • SharepointOAuth2TokenEntryWrapper

      public SharepointOAuth2TokenEntryWrapper(SharepointOAuth2TokenEntry sharepointOAuth2TokenEntry)
  • Method Details

    • getModelAttributes

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

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

      public SharepointOAuth2TokenEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<SharepointOAuth2TokenEntry>
      Specified by:
      cloneWithOriginalValues in interface SharepointOAuth2TokenEntryModel
    • getAccessToken

      public String getAccessToken()
      Returns the access token of this sharepoint o auth2 token entry.
      Specified by:
      getAccessToken in interface SharepointOAuth2TokenEntryModel
      Returns:
      the access token of this sharepoint o auth2 token entry
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this sharepoint o auth2 token entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface SharepointOAuth2TokenEntryModel
      Returns:
      the company ID of this sharepoint o auth2 token entry
    • getConfigurationPid

      public String getConfigurationPid()
      Returns the configuration pid of this sharepoint o auth2 token entry.
      Specified by:
      getConfigurationPid in interface SharepointOAuth2TokenEntryModel
      Returns:
      the configuration pid of this sharepoint o auth2 token entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this sharepoint o auth2 token entry.
      Specified by:
      getCreateDate in interface SharepointOAuth2TokenEntryModel
      Returns:
      the create date of this sharepoint o auth2 token entry
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this sharepoint o auth2 token entry.
      Specified by:
      getExpirationDate in interface SharepointOAuth2TokenEntryModel
      Returns:
      the expiration date of this sharepoint o auth2 token entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this sharepoint o auth2 token entry.
      Specified by:
      getPrimaryKey in interface SharepointOAuth2TokenEntryModel
      Returns:
      the primary key of this sharepoint o auth2 token entry
    • getRefreshToken

      public String getRefreshToken()
      Returns the refresh token of this sharepoint o auth2 token entry.
      Specified by:
      getRefreshToken in interface SharepointOAuth2TokenEntryModel
      Returns:
      the refresh token of this sharepoint o auth2 token entry
    • getSharepointOAuth2TokenEntryId

      public long getSharepointOAuth2TokenEntryId()
      Returns the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entry.
      Specified by:
      getSharepointOAuth2TokenEntryId in interface SharepointOAuth2TokenEntryModel
      Returns:
      the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entry
    • getUserId

      public long getUserId()
      Returns the user ID of this sharepoint o auth2 token entry.
      Specified by:
      getUserId in interface SharepointOAuth2TokenEntryModel
      Returns:
      the user ID of this sharepoint o auth2 token entry
    • getUserName

      public String getUserName()
      Returns the user name of this sharepoint o auth2 token entry.
      Specified by:
      getUserName in interface SharepointOAuth2TokenEntryModel
      Returns:
      the user name of this sharepoint o auth2 token entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this sharepoint o auth2 token entry.
      Specified by:
      getUserUuid in interface SharepointOAuth2TokenEntryModel
      Returns:
      the user uuid of this sharepoint o auth2 token entry
    • persist

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

      public void setAccessToken(String accessToken)
      Sets the access token of this sharepoint o auth2 token entry.
      Specified by:
      setAccessToken in interface SharepointOAuth2TokenEntryModel
      Parameters:
      accessToken - the access token of this sharepoint o auth2 token entry
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this sharepoint o auth2 token entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface SharepointOAuth2TokenEntryModel
      Parameters:
      companyId - the company ID of this sharepoint o auth2 token entry
    • setConfigurationPid

      public void setConfigurationPid(String configurationPid)
      Sets the configuration pid of this sharepoint o auth2 token entry.
      Specified by:
      setConfigurationPid in interface SharepointOAuth2TokenEntryModel
      Parameters:
      configurationPid - the configuration pid of this sharepoint o auth2 token entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this sharepoint o auth2 token entry.
      Specified by:
      setCreateDate in interface SharepointOAuth2TokenEntryModel
      Parameters:
      createDate - the create date of this sharepoint o auth2 token entry
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this sharepoint o auth2 token entry.
      Specified by:
      setExpirationDate in interface SharepointOAuth2TokenEntryModel
      Parameters:
      expirationDate - the expiration date of this sharepoint o auth2 token entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this sharepoint o auth2 token entry.
      Specified by:
      setPrimaryKey in interface SharepointOAuth2TokenEntryModel
      Parameters:
      primaryKey - the primary key of this sharepoint o auth2 token entry
    • setRefreshToken

      public void setRefreshToken(String refreshToken)
      Sets the refresh token of this sharepoint o auth2 token entry.
      Specified by:
      setRefreshToken in interface SharepointOAuth2TokenEntryModel
      Parameters:
      refreshToken - the refresh token of this sharepoint o auth2 token entry
    • setSharepointOAuth2TokenEntryId

      public void setSharepointOAuth2TokenEntryId(long sharepointOAuth2TokenEntryId)
      Sets the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entry.
      Specified by:
      setSharepointOAuth2TokenEntryId in interface SharepointOAuth2TokenEntryModel
      Parameters:
      sharepointOAuth2TokenEntryId - the sharepoint o auth2 token entry ID of this sharepoint o auth2 token entry
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this sharepoint o auth2 token entry.
      Specified by:
      setUserId in interface SharepointOAuth2TokenEntryModel
      Parameters:
      userId - the user ID of this sharepoint o auth2 token entry
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this sharepoint o auth2 token entry.
      Specified by:
      setUserName in interface SharepointOAuth2TokenEntryModel
      Parameters:
      userName - the user name of this sharepoint o auth2 token entry
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this sharepoint o auth2 token entry.
      Specified by:
      setUserUuid in interface SharepointOAuth2TokenEntryModel
      Parameters:
      userUuid - the user uuid of this sharepoint o auth2 token entry
    • toXmlString

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

      protected SharepointOAuth2TokenEntryWrapper wrap(SharepointOAuth2TokenEntry sharepointOAuth2TokenEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SharepointOAuth2TokenEntry>