@ProviderType public interface OAuth2AuthorizationModel extends com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>, com.liferay.portal.kernel.model.ShardedModel
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
.
OAuth2Authorization
Modifier and Type | Method and Description |
---|---|
OAuth2Authorization |
cloneWithOriginalValues() |
java.lang.String |
getAccessTokenContent()
Returns the access token content of this o auth2 authorization.
|
long |
getAccessTokenContentHash()
Returns the access token content hash of this o auth2 authorization.
|
java.util.Date |
getAccessTokenCreateDate()
Returns the access token create date of this o auth2 authorization.
|
java.util.Date |
getAccessTokenExpirationDate()
Returns the access token expiration date of this o auth2 authorization.
|
long |
getCompanyId()
Returns the company ID of this o auth2 authorization.
|
java.util.Date |
getCreateDate()
Returns the create date of this o auth2 authorization.
|
long |
getOAuth2ApplicationId()
Returns the o auth2 application ID of this o auth2 authorization.
|
long |
getOAuth2ApplicationScopeAliasesId()
Returns the o auth2 application scope aliases ID of this o auth2 authorization.
|
long |
getOAuth2AuthorizationId()
Returns the o auth2 authorization ID of this o auth2 authorization.
|
long |
getPrimaryKey()
Returns the primary key of this o auth2 authorization.
|
java.lang.String |
getRefreshTokenContent()
Returns the refresh token content of this o auth2 authorization.
|
long |
getRefreshTokenContentHash()
Returns the refresh token content hash of this o auth2 authorization.
|
java.util.Date |
getRefreshTokenCreateDate()
Returns the refresh token create date of this o auth2 authorization.
|
java.util.Date |
getRefreshTokenExpirationDate()
Returns the refresh token expiration date of this o auth2 authorization.
|
java.lang.String |
getRememberDeviceContent()
Returns the remember device content of this o auth2 authorization.
|
java.lang.String |
getRemoteHostInfo()
Returns the remote host info of this o auth2 authorization.
|
java.lang.String |
getRemoteIPInfo()
Returns the remote ip info of this o auth2 authorization.
|
long |
getUserId()
Returns the user ID of this o auth2 authorization.
|
java.lang.String |
getUserName()
Returns the user name of this o auth2 authorization.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this o auth2 authorization.
|
void |
setAccessTokenContent(java.lang.String accessTokenContent)
Sets the access token content of this o auth2 authorization.
|
void |
setAccessTokenContentHash(long accessTokenContentHash)
Sets the access token content hash of this o auth2 authorization.
|
void |
setAccessTokenCreateDate(java.util.Date accessTokenCreateDate)
Sets the access token create date of this o auth2 authorization.
|
void |
setAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate)
Sets the access token expiration date of this o auth2 authorization.
|
void |
setCompanyId(long companyId)
Sets the company ID of this o auth2 authorization.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this o auth2 authorization.
|
void |
setOAuth2ApplicationId(long oAuth2ApplicationId)
Sets the o auth2 application ID of this o auth2 authorization.
|
void |
setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId)
Sets the o auth2 application scope aliases ID of this o auth2 authorization.
|
void |
setOAuth2AuthorizationId(long oAuth2AuthorizationId)
Sets the o auth2 authorization ID of this o auth2 authorization.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this o auth2 authorization.
|
void |
setRefreshTokenContent(java.lang.String refreshTokenContent)
Sets the refresh token content of this o auth2 authorization.
|
void |
setRefreshTokenContentHash(long refreshTokenContentHash)
Sets the refresh token content hash of this o auth2 authorization.
|
void |
setRefreshTokenCreateDate(java.util.Date refreshTokenCreateDate)
Sets the refresh token create date of this o auth2 authorization.
|
void |
setRefreshTokenExpirationDate(java.util.Date refreshTokenExpirationDate)
Sets the refresh token expiration date of this o auth2 authorization.
|
void |
setRememberDeviceContent(java.lang.String rememberDeviceContent)
Sets the remember device content of this o auth2 authorization.
|
void |
setRemoteHostInfo(java.lang.String remoteHostInfo)
Sets the remote host info of this o auth2 authorization.
|
void |
setRemoteIPInfo(java.lang.String remoteIPInfo)
Sets the remote ip info of this o auth2 authorization.
|
void |
setUserId(long userId)
Sets the user ID of this o auth2 authorization.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this o auth2 authorization.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this o auth2 authorization.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this o auth2 authorizationlong getOAuth2AuthorizationId()
void setOAuth2AuthorizationId(long oAuth2AuthorizationId)
oAuth2AuthorizationId
- the o auth2 authorization ID of this o auth2 authorizationlong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this o auth2 authorizationlong getUserId()
void setUserId(long userId)
userId
- the user ID of this o auth2 authorizationjava.lang.String getUserUuid()
void setUserUuid(java.lang.String userUuid)
userUuid
- the user uuid of this o auth2 authorization@AutoEscape java.lang.String getUserName()
void setUserName(java.lang.String userName)
userName
- the user name of this o auth2 authorizationjava.util.Date getCreateDate()
void setCreateDate(java.util.Date createDate)
createDate
- the create date of this o auth2 authorizationlong getOAuth2ApplicationId()
void setOAuth2ApplicationId(long oAuth2ApplicationId)
oAuth2ApplicationId
- the o auth2 application ID of this o auth2 authorizationlong getOAuth2ApplicationScopeAliasesId()
void setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId)
oAuth2ApplicationScopeAliasesId
- the o auth2 application scope aliases ID of this o auth2 authorization@AutoEscape java.lang.String getAccessTokenContent()
void setAccessTokenContent(java.lang.String accessTokenContent)
accessTokenContent
- the access token content of this o auth2 authorizationlong getAccessTokenContentHash()
void setAccessTokenContentHash(long accessTokenContentHash)
accessTokenContentHash
- the access token content hash of this o auth2 authorizationjava.util.Date getAccessTokenCreateDate()
void setAccessTokenCreateDate(java.util.Date accessTokenCreateDate)
accessTokenCreateDate
- the access token create date of this o auth2 authorizationjava.util.Date getAccessTokenExpirationDate()
void setAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate)
accessTokenExpirationDate
- the access token expiration date of this o auth2 authorization@AutoEscape java.lang.String getRemoteHostInfo()
void setRemoteHostInfo(java.lang.String remoteHostInfo)
remoteHostInfo
- the remote host info of this o auth2 authorization@AutoEscape java.lang.String getRemoteIPInfo()
void setRemoteIPInfo(java.lang.String remoteIPInfo)
remoteIPInfo
- the remote ip info of this o auth2 authorization@AutoEscape java.lang.String getRefreshTokenContent()
void setRefreshTokenContent(java.lang.String refreshTokenContent)
refreshTokenContent
- the refresh token content of this o auth2 authorizationlong getRefreshTokenContentHash()
void setRefreshTokenContentHash(long refreshTokenContentHash)
refreshTokenContentHash
- the refresh token content hash of this o auth2 authorizationjava.util.Date getRefreshTokenCreateDate()
void setRefreshTokenCreateDate(java.util.Date refreshTokenCreateDate)
refreshTokenCreateDate
- the refresh token create date of this o auth2 authorizationjava.util.Date getRefreshTokenExpirationDate()
void setRefreshTokenExpirationDate(java.util.Date refreshTokenExpirationDate)
refreshTokenExpirationDate
- the refresh token expiration date of this o auth2 authorization@AutoEscape java.lang.String getRememberDeviceContent()
void setRememberDeviceContent(java.lang.String rememberDeviceContent)
rememberDeviceContent
- the remember device content of this o auth2 authorizationOAuth2Authorization cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>