@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
,
com.liferay.oauth2.provider.model.impl.OAuth2AuthorizationImpl
,
com.liferay.oauth2.provider.model.impl.OAuth2AuthorizationModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(OAuth2Authorization oAuth2Authorization) |
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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
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.io.Serializable |
getPrimaryKeyObj() |
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 |
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.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
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 |
setCachedModel(boolean cachedModel) |
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 |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setNew(boolean n) |
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 |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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 |
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.
|
com.liferay.portal.kernel.model.CacheModel<OAuth2Authorization> |
toCacheModel() |
OAuth2Authorization |
toEscapedModel() |
java.lang.String |
toString() |
OAuth2Authorization |
toUnescapedModel() |
java.lang.String |
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 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 authorizationboolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
int compareTo(OAuth2Authorization oAuth2Authorization)
compareTo
in interface java.lang.Comparable<OAuth2Authorization>
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<OAuth2Authorization> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
OAuth2Authorization toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
OAuth2Authorization toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>