Interface OAuth2AuthorizationModel

All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<OAuth2Authorization>, Serializable, com.liferay.portal.kernel.model.ShardedModel
All Known Subinterfaces:
OAuth2Authorization
All Known Implementing Classes:
OAuth2AuthorizationWrapper

@ProviderType public interface OAuth2AuthorizationModel extends com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the OAuth2Authorization service. Represents a row in the "OAuth2Authorization" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.oauth2.provider.model.impl.OAuth2AuthorizationModelImpl 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.oauth2.provider.model.impl.OAuth2AuthorizationImpl.

See Also:
Generated:
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this o auth2 authorization.
      Returns:
      the primary key of this o auth2 authorization
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this o auth2 authorization.
      Parameters:
      primaryKey - the primary key of this o auth2 authorization
    • getOAuth2AuthorizationId

      long getOAuth2AuthorizationId()
      Returns the o auth2 authorization ID of this o auth2 authorization.
      Returns:
      the o auth2 authorization ID of this o auth2 authorization
    • setOAuth2AuthorizationId

      void setOAuth2AuthorizationId(long oAuth2AuthorizationId)
      Sets the o auth2 authorization ID of this o auth2 authorization.
      Parameters:
      oAuth2AuthorizationId - the o auth2 authorization ID of this o auth2 authorization
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this o auth2 authorization.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this o auth2 authorization
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this o auth2 authorization.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this o auth2 authorization
    • getUserId

      long getUserId()
      Returns the user ID of this o auth2 authorization.
      Returns:
      the user ID of this o auth2 authorization
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this o auth2 authorization.
      Parameters:
      userId - the user ID of this o auth2 authorization
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this o auth2 authorization.
      Returns:
      the user uuid of this o auth2 authorization
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this o auth2 authorization.
      Parameters:
      userUuid - the user uuid of this o auth2 authorization
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this o auth2 authorization.
      Returns:
      the user name of this o auth2 authorization
    • setUserName

      void setUserName(String userName)
      Sets the user name of this o auth2 authorization.
      Parameters:
      userName - the user name of this o auth2 authorization
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this o auth2 authorization.
      Returns:
      the create date of this o auth2 authorization
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this o auth2 authorization.
      Parameters:
      createDate - the create date of this o auth2 authorization
    • getOAuth2ApplicationId

      long getOAuth2ApplicationId()
      Returns the o auth2 application ID of this o auth2 authorization.
      Returns:
      the o auth2 application ID of this o auth2 authorization
    • setOAuth2ApplicationId

      void setOAuth2ApplicationId(long oAuth2ApplicationId)
      Sets the o auth2 application ID of this o auth2 authorization.
      Parameters:
      oAuth2ApplicationId - the o auth2 application ID of this o auth2 authorization
    • getOAuth2ApplicationScopeAliasesId

      long getOAuth2ApplicationScopeAliasesId()
      Returns the o auth2 application scope aliases ID of this o auth2 authorization.
      Returns:
      the o auth2 application scope aliases ID of this o auth2 authorization
    • setOAuth2ApplicationScopeAliasesId

      void setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId)
      Sets the o auth2 application scope aliases ID of this o auth2 authorization.
      Parameters:
      oAuth2ApplicationScopeAliasesId - the o auth2 application scope aliases ID of this o auth2 authorization
    • getAccessTokenContent

      @AutoEscape String getAccessTokenContent()
      Returns the access token content of this o auth2 authorization.
      Returns:
      the access token content of this o auth2 authorization
    • setAccessTokenContent

      void setAccessTokenContent(String accessTokenContent)
      Sets the access token content of this o auth2 authorization.
      Parameters:
      accessTokenContent - the access token content of this o auth2 authorization
    • getAccessTokenContentHash

      long getAccessTokenContentHash()
      Returns the access token content hash of this o auth2 authorization.
      Returns:
      the access token content hash of this o auth2 authorization
    • setAccessTokenContentHash

      void setAccessTokenContentHash(long accessTokenContentHash)
      Sets the access token content hash of this o auth2 authorization.
      Parameters:
      accessTokenContentHash - the access token content hash of this o auth2 authorization
    • getAccessTokenCreateDate

      Date getAccessTokenCreateDate()
      Returns the access token create date of this o auth2 authorization.
      Returns:
      the access token create date of this o auth2 authorization
    • setAccessTokenCreateDate

      void setAccessTokenCreateDate(Date accessTokenCreateDate)
      Sets the access token create date of this o auth2 authorization.
      Parameters:
      accessTokenCreateDate - the access token create date of this o auth2 authorization
    • getAccessTokenExpirationDate

      Date getAccessTokenExpirationDate()
      Returns the access token expiration date of this o auth2 authorization.
      Returns:
      the access token expiration date of this o auth2 authorization
    • setAccessTokenExpirationDate

      void setAccessTokenExpirationDate(Date accessTokenExpirationDate)
      Sets the access token expiration date of this o auth2 authorization.
      Parameters:
      accessTokenExpirationDate - the access token expiration date of this o auth2 authorization
    • getRemoteHostInfo

      @AutoEscape String getRemoteHostInfo()
      Returns the remote host info of this o auth2 authorization.
      Returns:
      the remote host info of this o auth2 authorization
    • setRemoteHostInfo

      void setRemoteHostInfo(String remoteHostInfo)
      Sets the remote host info of this o auth2 authorization.
      Parameters:
      remoteHostInfo - the remote host info of this o auth2 authorization
    • getRemoteIPInfo

      @AutoEscape String getRemoteIPInfo()
      Returns the remote ip info of this o auth2 authorization.
      Returns:
      the remote ip info of this o auth2 authorization
    • setRemoteIPInfo

      void setRemoteIPInfo(String remoteIPInfo)
      Sets the remote ip info of this o auth2 authorization.
      Parameters:
      remoteIPInfo - the remote ip info of this o auth2 authorization
    • getRefreshTokenContent

      @AutoEscape String getRefreshTokenContent()
      Returns the refresh token content of this o auth2 authorization.
      Returns:
      the refresh token content of this o auth2 authorization
    • setRefreshTokenContent

      void setRefreshTokenContent(String refreshTokenContent)
      Sets the refresh token content of this o auth2 authorization.
      Parameters:
      refreshTokenContent - the refresh token content of this o auth2 authorization
    • getRefreshTokenContentHash

      long getRefreshTokenContentHash()
      Returns the refresh token content hash of this o auth2 authorization.
      Returns:
      the refresh token content hash of this o auth2 authorization
    • setRefreshTokenContentHash

      void setRefreshTokenContentHash(long refreshTokenContentHash)
      Sets the refresh token content hash of this o auth2 authorization.
      Parameters:
      refreshTokenContentHash - the refresh token content hash of this o auth2 authorization
    • getRefreshTokenCreateDate

      Date getRefreshTokenCreateDate()
      Returns the refresh token create date of this o auth2 authorization.
      Returns:
      the refresh token create date of this o auth2 authorization
    • setRefreshTokenCreateDate

      void setRefreshTokenCreateDate(Date refreshTokenCreateDate)
      Sets the refresh token create date of this o auth2 authorization.
      Parameters:
      refreshTokenCreateDate - the refresh token create date of this o auth2 authorization
    • getRefreshTokenExpirationDate

      Date getRefreshTokenExpirationDate()
      Returns the refresh token expiration date of this o auth2 authorization.
      Returns:
      the refresh token expiration date of this o auth2 authorization
    • setRefreshTokenExpirationDate

      void setRefreshTokenExpirationDate(Date refreshTokenExpirationDate)
      Sets the refresh token expiration date of this o auth2 authorization.
      Parameters:
      refreshTokenExpirationDate - the refresh token expiration date of this o auth2 authorization
    • getRememberDeviceContent

      @AutoEscape String getRememberDeviceContent()
      Returns the remember device content of this o auth2 authorization.
      Returns:
      the remember device content of this o auth2 authorization
    • setRememberDeviceContent

      void setRememberDeviceContent(String rememberDeviceContent)
      Sets the remember device content of this o auth2 authorization.
      Parameters:
      rememberDeviceContent - the remember device content of this o auth2 authorization
    • cloneWithOriginalValues

      OAuth2Authorization cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
    • toXmlString

      default String toXmlString()