@ProviderType public class OAuth2AuthorizationWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2Authorization> implements OAuth2Authorization, com.liferay.portal.kernel.model.ModelWrapper<OAuth2Authorization>
This class is a wrapper for OAuth2Authorization
.
OAuth2Authorization
,
Serialized FormO_AUTH2_AUTHORIZATION_ID_ACCESSOR
Constructor and Description |
---|
OAuth2AuthorizationWrapper(OAuth2Authorization oAuth2Authorization) |
Modifier and Type | Method and Description |
---|---|
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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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 |
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 |
persist() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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 |
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.
|
protected OAuth2AuthorizationWrapper |
wrap(OAuth2Authorization oAuth2Authorization) |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public OAuth2AuthorizationWrapper(OAuth2Authorization oAuth2Authorization)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
public java.lang.String getAccessTokenContent()
getAccessTokenContent
in interface OAuth2AuthorizationModel
public long getAccessTokenContentHash()
getAccessTokenContentHash
in interface OAuth2AuthorizationModel
public java.util.Date getAccessTokenCreateDate()
getAccessTokenCreateDate
in interface OAuth2AuthorizationModel
public java.util.Date getAccessTokenExpirationDate()
getAccessTokenExpirationDate
in interface OAuth2AuthorizationModel
public long getCompanyId()
getCompanyId
in interface OAuth2AuthorizationModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface OAuth2AuthorizationModel
public long getOAuth2ApplicationId()
getOAuth2ApplicationId
in interface OAuth2AuthorizationModel
public long getOAuth2ApplicationScopeAliasesId()
getOAuth2ApplicationScopeAliasesId
in interface OAuth2AuthorizationModel
public long getOAuth2AuthorizationId()
getOAuth2AuthorizationId
in interface OAuth2AuthorizationModel
public long getPrimaryKey()
getPrimaryKey
in interface OAuth2AuthorizationModel
public java.lang.String getRefreshTokenContent()
getRefreshTokenContent
in interface OAuth2AuthorizationModel
public long getRefreshTokenContentHash()
getRefreshTokenContentHash
in interface OAuth2AuthorizationModel
public java.util.Date getRefreshTokenCreateDate()
getRefreshTokenCreateDate
in interface OAuth2AuthorizationModel
public java.util.Date getRefreshTokenExpirationDate()
getRefreshTokenExpirationDate
in interface OAuth2AuthorizationModel
public java.lang.String getRemoteHostInfo()
getRemoteHostInfo
in interface OAuth2AuthorizationModel
public java.lang.String getRemoteIPInfo()
getRemoteIPInfo
in interface OAuth2AuthorizationModel
public long getUserId()
getUserId
in interface OAuth2AuthorizationModel
public java.lang.String getUserName()
getUserName
in interface OAuth2AuthorizationModel
public java.lang.String getUserUuid()
getUserUuid
in interface OAuth2AuthorizationModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAccessTokenContent(java.lang.String accessTokenContent)
setAccessTokenContent
in interface OAuth2AuthorizationModel
accessTokenContent
- the access token content of this o auth2 authorizationpublic void setAccessTokenContentHash(long accessTokenContentHash)
setAccessTokenContentHash
in interface OAuth2AuthorizationModel
accessTokenContentHash
- the access token content hash of this o auth2 authorizationpublic void setAccessTokenCreateDate(java.util.Date accessTokenCreateDate)
setAccessTokenCreateDate
in interface OAuth2AuthorizationModel
accessTokenCreateDate
- the access token create date of this o auth2 authorizationpublic void setAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate)
setAccessTokenExpirationDate
in interface OAuth2AuthorizationModel
accessTokenExpirationDate
- the access token expiration date of this o auth2 authorizationpublic void setCompanyId(long companyId)
setCompanyId
in interface OAuth2AuthorizationModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this o auth2 authorizationpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface OAuth2AuthorizationModel
createDate
- the create date of this o auth2 authorizationpublic void setOAuth2ApplicationId(long oAuth2ApplicationId)
setOAuth2ApplicationId
in interface OAuth2AuthorizationModel
oAuth2ApplicationId
- the o auth2 application ID of this o auth2 authorizationpublic void setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId)
setOAuth2ApplicationScopeAliasesId
in interface OAuth2AuthorizationModel
oAuth2ApplicationScopeAliasesId
- the o auth2 application scope aliases ID of this o auth2 authorizationpublic void setOAuth2AuthorizationId(long oAuth2AuthorizationId)
setOAuth2AuthorizationId
in interface OAuth2AuthorizationModel
oAuth2AuthorizationId
- the o auth2 authorization ID of this o auth2 authorizationpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface OAuth2AuthorizationModel
primaryKey
- the primary key of this o auth2 authorizationpublic void setRefreshTokenContent(java.lang.String refreshTokenContent)
setRefreshTokenContent
in interface OAuth2AuthorizationModel
refreshTokenContent
- the refresh token content of this o auth2 authorizationpublic void setRefreshTokenContentHash(long refreshTokenContentHash)
setRefreshTokenContentHash
in interface OAuth2AuthorizationModel
refreshTokenContentHash
- the refresh token content hash of this o auth2 authorizationpublic void setRefreshTokenCreateDate(java.util.Date refreshTokenCreateDate)
setRefreshTokenCreateDate
in interface OAuth2AuthorizationModel
refreshTokenCreateDate
- the refresh token create date of this o auth2 authorizationpublic void setRefreshTokenExpirationDate(java.util.Date refreshTokenExpirationDate)
setRefreshTokenExpirationDate
in interface OAuth2AuthorizationModel
refreshTokenExpirationDate
- the refresh token expiration date of this o auth2 authorizationpublic void setRemoteHostInfo(java.lang.String remoteHostInfo)
setRemoteHostInfo
in interface OAuth2AuthorizationModel
remoteHostInfo
- the remote host info of this o auth2 authorizationpublic void setRemoteIPInfo(java.lang.String remoteIPInfo)
setRemoteIPInfo
in interface OAuth2AuthorizationModel
remoteIPInfo
- the remote ip info of this o auth2 authorizationpublic void setUserId(long userId)
setUserId
in interface OAuth2AuthorizationModel
userId
- the user ID of this o auth2 authorizationpublic void setUserName(java.lang.String userName)
setUserName
in interface OAuth2AuthorizationModel
userName
- the user name of this o auth2 authorizationpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface OAuth2AuthorizationModel
userUuid
- the user uuid of this o auth2 authorizationprotected OAuth2AuthorizationWrapper wrap(OAuth2Authorization oAuth2Authorization)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2Authorization>