public class OAuth2AuthorizationWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2Authorization> implements com.liferay.portal.kernel.model.ModelWrapper<OAuth2Authorization>, 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 |
|---|---|
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.
|
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 |
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 |
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 |
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.
|
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic 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 OAuth2Authorization cloneWithOriginalValues()
cloneWithOriginalValues in interface OAuth2AuthorizationModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public java.lang.String getAccessTokenContent()
getAccessTokenContent in interface OAuth2AuthorizationModelpublic long getAccessTokenContentHash()
getAccessTokenContentHash in interface OAuth2AuthorizationModelpublic java.util.Date getAccessTokenCreateDate()
getAccessTokenCreateDate in interface OAuth2AuthorizationModelpublic java.util.Date getAccessTokenExpirationDate()
getAccessTokenExpirationDate in interface OAuth2AuthorizationModelpublic long getCompanyId()
getCompanyId in interface OAuth2AuthorizationModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface OAuth2AuthorizationModelpublic long getOAuth2ApplicationId()
getOAuth2ApplicationId in interface OAuth2AuthorizationModelpublic long getOAuth2ApplicationScopeAliasesId()
getOAuth2ApplicationScopeAliasesId in interface OAuth2AuthorizationModelpublic long getOAuth2AuthorizationId()
getOAuth2AuthorizationId in interface OAuth2AuthorizationModelpublic long getPrimaryKey()
getPrimaryKey in interface OAuth2AuthorizationModelpublic java.lang.String getRefreshTokenContent()
getRefreshTokenContent in interface OAuth2AuthorizationModelpublic long getRefreshTokenContentHash()
getRefreshTokenContentHash in interface OAuth2AuthorizationModelpublic java.util.Date getRefreshTokenCreateDate()
getRefreshTokenCreateDate in interface OAuth2AuthorizationModelpublic java.util.Date getRefreshTokenExpirationDate()
getRefreshTokenExpirationDate in interface OAuth2AuthorizationModelpublic java.lang.String getRememberDeviceContent()
getRememberDeviceContent in interface OAuth2AuthorizationModelpublic java.lang.String getRemoteHostInfo()
getRemoteHostInfo in interface OAuth2AuthorizationModelpublic java.lang.String getRemoteIPInfo()
getRemoteIPInfo in interface OAuth2AuthorizationModelpublic long getUserId()
getUserId in interface OAuth2AuthorizationModelpublic java.lang.String getUserName()
getUserName in interface OAuth2AuthorizationModelpublic java.lang.String getUserUuid()
getUserUuid in interface OAuth2AuthorizationModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAccessTokenContent(java.lang.String accessTokenContent)
setAccessTokenContent in interface OAuth2AuthorizationModelaccessTokenContent - the access token content of this o auth2 authorizationpublic void setAccessTokenContentHash(long accessTokenContentHash)
setAccessTokenContentHash in interface OAuth2AuthorizationModelaccessTokenContentHash - the access token content hash of this o auth2 authorizationpublic void setAccessTokenCreateDate(java.util.Date accessTokenCreateDate)
setAccessTokenCreateDate in interface OAuth2AuthorizationModelaccessTokenCreateDate - the access token create date of this o auth2 authorizationpublic void setAccessTokenExpirationDate(java.util.Date accessTokenExpirationDate)
setAccessTokenExpirationDate in interface OAuth2AuthorizationModelaccessTokenExpirationDate - the access token expiration date of this o auth2 authorizationpublic void setCompanyId(long companyId)
setCompanyId in interface OAuth2AuthorizationModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this o auth2 authorizationpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface OAuth2AuthorizationModelcreateDate - the create date of this o auth2 authorizationpublic void setOAuth2ApplicationId(long oAuth2ApplicationId)
setOAuth2ApplicationId in interface OAuth2AuthorizationModeloAuth2ApplicationId - the o auth2 application ID of this o auth2 authorizationpublic void setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId)
setOAuth2ApplicationScopeAliasesId in interface OAuth2AuthorizationModeloAuth2ApplicationScopeAliasesId - the o auth2 application scope aliases ID of this o auth2 authorizationpublic void setOAuth2AuthorizationId(long oAuth2AuthorizationId)
setOAuth2AuthorizationId in interface OAuth2AuthorizationModeloAuth2AuthorizationId - the o auth2 authorization ID of this o auth2 authorizationpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface OAuth2AuthorizationModelprimaryKey - the primary key of this o auth2 authorizationpublic void setRefreshTokenContent(java.lang.String refreshTokenContent)
setRefreshTokenContent in interface OAuth2AuthorizationModelrefreshTokenContent - the refresh token content of this o auth2 authorizationpublic void setRefreshTokenContentHash(long refreshTokenContentHash)
setRefreshTokenContentHash in interface OAuth2AuthorizationModelrefreshTokenContentHash - the refresh token content hash of this o auth2 authorizationpublic void setRefreshTokenCreateDate(java.util.Date refreshTokenCreateDate)
setRefreshTokenCreateDate in interface OAuth2AuthorizationModelrefreshTokenCreateDate - the refresh token create date of this o auth2 authorizationpublic void setRefreshTokenExpirationDate(java.util.Date refreshTokenExpirationDate)
setRefreshTokenExpirationDate in interface OAuth2AuthorizationModelrefreshTokenExpirationDate - the refresh token expiration date of this o auth2 authorizationpublic void setRememberDeviceContent(java.lang.String rememberDeviceContent)
setRememberDeviceContent in interface OAuth2AuthorizationModelrememberDeviceContent - the remember device content of this o auth2 authorizationpublic void setRemoteHostInfo(java.lang.String remoteHostInfo)
setRemoteHostInfo in interface OAuth2AuthorizationModelremoteHostInfo - the remote host info of this o auth2 authorizationpublic void setRemoteIPInfo(java.lang.String remoteIPInfo)
setRemoteIPInfo in interface OAuth2AuthorizationModelremoteIPInfo - the remote ip info of this o auth2 authorizationpublic void setUserId(long userId)
setUserId in interface OAuth2AuthorizationModeluserId - the user ID of this o auth2 authorizationpublic void setUserName(java.lang.String userName)
setUserName in interface OAuth2AuthorizationModeluserName - the user name of this o auth2 authorizationpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface OAuth2AuthorizationModeluserUuid - the user uuid of this o auth2 authorizationprotected OAuth2AuthorizationWrapper wrap(OAuth2Authorization oAuth2Authorization)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2Authorization>