Class OAuth2AuthorizationWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2Authorization>
com.liferay.oauth2.provider.model.OAuth2AuthorizationWrapper
- All Implemented Interfaces:
OAuth2Authorization,OAuth2AuthorizationModel,com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ModelWrapper<OAuth2Authorization>,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,Serializable,Cloneable,Comparable<OAuth2Authorization>
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.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.oauth2.provider.model.OAuth2Authorization
O_AUTH2_AUTHORIZATION_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the access token content of this o auth2 authorization.longReturns the access token content hash of this o auth2 authorization.Returns the access token create date of this o auth2 authorization.Returns the access token expiration date of this o auth2 authorization.longReturns the company ID of this o auth2 authorization.Returns the create date of this o auth2 authorization.longReturns the o auth2 application ID of this o auth2 authorization.longReturns the o auth2 application scope aliases ID of this o auth2 authorization.longReturns the o auth2 authorization ID of this o auth2 authorization.longReturns the primary key of this o auth2 authorization.Returns the refresh token content of this o auth2 authorization.longReturns the refresh token content hash of this o auth2 authorization.Returns the refresh token create date of this o auth2 authorization.Returns the refresh token expiration date of this o auth2 authorization.Returns the remember device content of this o auth2 authorization.Returns the remote host info of this o auth2 authorization.Returns the remote ip info of this o auth2 authorization.longReturns the user ID of this o auth2 authorization.Returns the user name of this o auth2 authorization.Returns the user uuid of this o auth2 authorization.voidpersist()voidsetAccessTokenContent(String accessTokenContent) Sets the access token content of this o auth2 authorization.voidsetAccessTokenContentHash(long accessTokenContentHash) Sets the access token content hash of this o auth2 authorization.voidsetAccessTokenCreateDate(Date accessTokenCreateDate) Sets the access token create date of this o auth2 authorization.voidsetAccessTokenExpirationDate(Date accessTokenExpirationDate) Sets the access token expiration date of this o auth2 authorization.voidsetCompanyId(long companyId) Sets the company ID of this o auth2 authorization.voidsetCreateDate(Date createDate) Sets the create date of this o auth2 authorization.voidsetModelAttributes(Map<String, Object> attributes) voidsetOAuth2ApplicationId(long oAuth2ApplicationId) Sets the o auth2 application ID of this o auth2 authorization.voidsetOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId) Sets the o auth2 application scope aliases ID of this o auth2 authorization.voidsetOAuth2AuthorizationId(long oAuth2AuthorizationId) Sets the o auth2 authorization ID of this o auth2 authorization.voidsetPrimaryKey(long primaryKey) Sets the primary key of this o auth2 authorization.voidsetRefreshTokenContent(String refreshTokenContent) Sets the refresh token content of this o auth2 authorization.voidsetRefreshTokenContentHash(long refreshTokenContentHash) Sets the refresh token content hash of this o auth2 authorization.voidsetRefreshTokenCreateDate(Date refreshTokenCreateDate) Sets the refresh token create date of this o auth2 authorization.voidsetRefreshTokenExpirationDate(Date refreshTokenExpirationDate) Sets the refresh token expiration date of this o auth2 authorization.voidsetRememberDeviceContent(String rememberDeviceContent) Sets the remember device content of this o auth2 authorization.voidsetRemoteHostInfo(String remoteHostInfo) Sets the remote host info of this o auth2 authorization.voidsetRemoteIPInfo(String remoteIPInfo) Sets the remote ip info of this o auth2 authorization.voidsetUserId(long userId) Sets the user ID of this o auth2 authorization.voidsetUserName(String userName) Sets the user name of this o auth2 authorization.voidsetUserUuid(String userUuid) Sets the user uuid of this o auth2 authorization.protected OAuth2AuthorizationWrapperwrap(OAuth2Authorization oAuth2Authorization) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
OAuth2AuthorizationWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>- Specified by:
cloneWithOriginalValuesin interfaceOAuth2AuthorizationModel
-
getAccessTokenContent
Returns the access token content of this o auth2 authorization.- Specified by:
getAccessTokenContentin interfaceOAuth2AuthorizationModel- Returns:
- the access token content of this o auth2 authorization
-
getAccessTokenContentHash
public long getAccessTokenContentHash()Returns the access token content hash of this o auth2 authorization.- Specified by:
getAccessTokenContentHashin interfaceOAuth2AuthorizationModel- Returns:
- the access token content hash of this o auth2 authorization
-
getAccessTokenCreateDate
Returns the access token create date of this o auth2 authorization.- Specified by:
getAccessTokenCreateDatein interfaceOAuth2AuthorizationModel- Returns:
- the access token create date of this o auth2 authorization
-
getAccessTokenExpirationDate
Returns the access token expiration date of this o auth2 authorization.- Specified by:
getAccessTokenExpirationDatein interfaceOAuth2AuthorizationModel- Returns:
- the access token expiration date of this o auth2 authorization
-
getCompanyId
public long getCompanyId()Returns the company ID of this o auth2 authorization.- Specified by:
getCompanyIdin interfaceOAuth2AuthorizationModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this o auth2 authorization
-
getCreateDate
Returns the create date of this o auth2 authorization.- Specified by:
getCreateDatein interfaceOAuth2AuthorizationModel- Returns:
- the create date of this o auth2 authorization
-
getOAuth2ApplicationId
public long getOAuth2ApplicationId()Returns the o auth2 application ID of this o auth2 authorization.- Specified by:
getOAuth2ApplicationIdin interfaceOAuth2AuthorizationModel- Returns:
- the o auth2 application ID of this o auth2 authorization
-
getOAuth2ApplicationScopeAliasesId
public long getOAuth2ApplicationScopeAliasesId()Returns the o auth2 application scope aliases ID of this o auth2 authorization.- Specified by:
getOAuth2ApplicationScopeAliasesIdin interfaceOAuth2AuthorizationModel- Returns:
- the o auth2 application scope aliases ID of this o auth2 authorization
-
getOAuth2AuthorizationId
public long getOAuth2AuthorizationId()Returns the o auth2 authorization ID of this o auth2 authorization.- Specified by:
getOAuth2AuthorizationIdin interfaceOAuth2AuthorizationModel- Returns:
- the o auth2 authorization ID of this o auth2 authorization
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this o auth2 authorization.- Specified by:
getPrimaryKeyin interfaceOAuth2AuthorizationModel- Returns:
- the primary key of this o auth2 authorization
-
getRefreshTokenContent
Returns the refresh token content of this o auth2 authorization.- Specified by:
getRefreshTokenContentin interfaceOAuth2AuthorizationModel- Returns:
- the refresh token content of this o auth2 authorization
-
getRefreshTokenContentHash
public long getRefreshTokenContentHash()Returns the refresh token content hash of this o auth2 authorization.- Specified by:
getRefreshTokenContentHashin interfaceOAuth2AuthorizationModel- Returns:
- the refresh token content hash of this o auth2 authorization
-
getRefreshTokenCreateDate
Returns the refresh token create date of this o auth2 authorization.- Specified by:
getRefreshTokenCreateDatein interfaceOAuth2AuthorizationModel- Returns:
- the refresh token create date of this o auth2 authorization
-
getRefreshTokenExpirationDate
Returns the refresh token expiration date of this o auth2 authorization.- Specified by:
getRefreshTokenExpirationDatein interfaceOAuth2AuthorizationModel- Returns:
- the refresh token expiration date of this o auth2 authorization
-
getRememberDeviceContent
Returns the remember device content of this o auth2 authorization.- Specified by:
getRememberDeviceContentin interfaceOAuth2AuthorizationModel- Returns:
- the remember device content of this o auth2 authorization
-
getRemoteHostInfo
Returns the remote host info of this o auth2 authorization.- Specified by:
getRemoteHostInfoin interfaceOAuth2AuthorizationModel- Returns:
- the remote host info of this o auth2 authorization
-
getRemoteIPInfo
Returns the remote ip info of this o auth2 authorization.- Specified by:
getRemoteIPInfoin interfaceOAuth2AuthorizationModel- Returns:
- the remote ip info of this o auth2 authorization
-
getUserId
public long getUserId()Returns the user ID of this o auth2 authorization.- Specified by:
getUserIdin interfaceOAuth2AuthorizationModel- Returns:
- the user ID of this o auth2 authorization
-
getUserName
Returns the user name of this o auth2 authorization.- Specified by:
getUserNamein interfaceOAuth2AuthorizationModel- Returns:
- the user name of this o auth2 authorization
-
getUserUuid
Returns the user uuid of this o auth2 authorization.- Specified by:
getUserUuidin interfaceOAuth2AuthorizationModel- Returns:
- the user uuid of this o auth2 authorization
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAccessTokenContent
Sets the access token content of this o auth2 authorization.- Specified by:
setAccessTokenContentin interfaceOAuth2AuthorizationModel- Parameters:
accessTokenContent- the access token content of this o auth2 authorization
-
setAccessTokenContentHash
public void setAccessTokenContentHash(long accessTokenContentHash) Sets the access token content hash of this o auth2 authorization.- Specified by:
setAccessTokenContentHashin interfaceOAuth2AuthorizationModel- Parameters:
accessTokenContentHash- the access token content hash of this o auth2 authorization
-
setAccessTokenCreateDate
Sets the access token create date of this o auth2 authorization.- Specified by:
setAccessTokenCreateDatein interfaceOAuth2AuthorizationModel- Parameters:
accessTokenCreateDate- the access token create date of this o auth2 authorization
-
setAccessTokenExpirationDate
Sets the access token expiration date of this o auth2 authorization.- Specified by:
setAccessTokenExpirationDatein interfaceOAuth2AuthorizationModel- Parameters:
accessTokenExpirationDate- the access token expiration date of this o auth2 authorization
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this o auth2 authorization.- Specified by:
setCompanyIdin interfaceOAuth2AuthorizationModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this o auth2 authorization
-
setCreateDate
Sets the create date of this o auth2 authorization.- Specified by:
setCreateDatein interfaceOAuth2AuthorizationModel- Parameters:
createDate- the create date of this o auth2 authorization
-
setOAuth2ApplicationId
public void setOAuth2ApplicationId(long oAuth2ApplicationId) Sets the o auth2 application ID of this o auth2 authorization.- Specified by:
setOAuth2ApplicationIdin interfaceOAuth2AuthorizationModel- Parameters:
oAuth2ApplicationId- the o auth2 application ID of this o auth2 authorization
-
setOAuth2ApplicationScopeAliasesId
public void setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId) Sets the o auth2 application scope aliases ID of this o auth2 authorization.- Specified by:
setOAuth2ApplicationScopeAliasesIdin interfaceOAuth2AuthorizationModel- Parameters:
oAuth2ApplicationScopeAliasesId- the o auth2 application scope aliases ID of this o auth2 authorization
-
setOAuth2AuthorizationId
public void setOAuth2AuthorizationId(long oAuth2AuthorizationId) Sets the o auth2 authorization ID of this o auth2 authorization.- Specified by:
setOAuth2AuthorizationIdin interfaceOAuth2AuthorizationModel- Parameters:
oAuth2AuthorizationId- the o auth2 authorization ID of this o auth2 authorization
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this o auth2 authorization.- Specified by:
setPrimaryKeyin interfaceOAuth2AuthorizationModel- Parameters:
primaryKey- the primary key of this o auth2 authorization
-
setRefreshTokenContent
Sets the refresh token content of this o auth2 authorization.- Specified by:
setRefreshTokenContentin interfaceOAuth2AuthorizationModel- Parameters:
refreshTokenContent- the refresh token content of this o auth2 authorization
-
setRefreshTokenContentHash
public void setRefreshTokenContentHash(long refreshTokenContentHash) Sets the refresh token content hash of this o auth2 authorization.- Specified by:
setRefreshTokenContentHashin interfaceOAuth2AuthorizationModel- Parameters:
refreshTokenContentHash- the refresh token content hash of this o auth2 authorization
-
setRefreshTokenCreateDate
Sets the refresh token create date of this o auth2 authorization.- Specified by:
setRefreshTokenCreateDatein interfaceOAuth2AuthorizationModel- Parameters:
refreshTokenCreateDate- the refresh token create date of this o auth2 authorization
-
setRefreshTokenExpirationDate
Sets the refresh token expiration date of this o auth2 authorization.- Specified by:
setRefreshTokenExpirationDatein interfaceOAuth2AuthorizationModel- Parameters:
refreshTokenExpirationDate- the refresh token expiration date of this o auth2 authorization
-
setRememberDeviceContent
Sets the remember device content of this o auth2 authorization.- Specified by:
setRememberDeviceContentin interfaceOAuth2AuthorizationModel- Parameters:
rememberDeviceContent- the remember device content of this o auth2 authorization
-
setRemoteHostInfo
Sets the remote host info of this o auth2 authorization.- Specified by:
setRemoteHostInfoin interfaceOAuth2AuthorizationModel- Parameters:
remoteHostInfo- the remote host info of this o auth2 authorization
-
setRemoteIPInfo
Sets the remote ip info of this o auth2 authorization.- Specified by:
setRemoteIPInfoin interfaceOAuth2AuthorizationModel- Parameters:
remoteIPInfo- the remote ip info of this o auth2 authorization
-
setUserId
public void setUserId(long userId) Sets the user ID of this o auth2 authorization.- Specified by:
setUserIdin interfaceOAuth2AuthorizationModel- Parameters:
userId- the user ID of this o auth2 authorization
-
setUserName
Sets the user name of this o auth2 authorization.- Specified by:
setUserNamein interfaceOAuth2AuthorizationModel- Parameters:
userName- the user name of this o auth2 authorization
-
setUserUuid
Sets the user uuid of this o auth2 authorization.- Specified by:
setUserUuidin interfaceOAuth2AuthorizationModel- Parameters:
userUuid- the user uuid of this o auth2 authorization
-
toXmlString
- Specified by:
toXmlStringin interfaceOAuth2AuthorizationModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuth2Authorization>
-