public class OAuth2AuthorizationWrapper extends java.lang.Object 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 |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(OAuth2Authorization oAuth2Authorization) |
boolean |
equals(java.lang.Object object) |
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() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
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.
|
OAuth2Authorization |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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() |
public OAuth2AuthorizationWrapper(OAuth2Authorization oAuth2Authorization)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic 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.Object clone()
clone in interface OAuth2AuthorizationModelclone in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>clone in class java.lang.Objectpublic int compareTo(OAuth2Authorization oAuth2Authorization)
compareTo in interface OAuth2AuthorizationModelcompareTo in interface java.lang.Comparable<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 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface OAuth2AuthorizationModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic 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.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface OAuth2AuthorizationModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 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 int hashCode()
hashCode in interface OAuth2AuthorizationModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface OAuth2AuthorizationModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public boolean isEscapedModel()
isEscapedModel in interface OAuth2AuthorizationModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public boolean isNew()
isNew in interface OAuth2AuthorizationModelisNew in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public 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 setCachedModel(boolean cachedModel)
setCachedModel in interface OAuth2AuthorizationModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public 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 setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface OAuth2AuthorizationModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface OAuth2AuthorizationModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface OAuth2AuthorizationModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public void setNew(boolean n)
setNew in interface OAuth2AuthorizationModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public 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 setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface OAuth2AuthorizationModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 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 authorizationpublic com.liferay.portal.kernel.model.CacheModel<OAuth2Authorization> toCacheModel()
toCacheModel in interface OAuth2AuthorizationModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public OAuth2Authorization toEscapedModel()
toEscapedModel in interface OAuth2AuthorizationModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public java.lang.String toString()
toString in interface OAuth2AuthorizationModeltoString in class java.lang.Objectpublic OAuth2Authorization toUnescapedModel()
toUnescapedModel in interface OAuth2AuthorizationModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public java.lang.String toXmlString()
toXmlString in interface OAuth2AuthorizationModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic OAuth2Authorization getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<OAuth2Authorization>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>