Interface OAuth2AuthorizationModel
- All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<OAuth2Authorization>,Serializable,com.liferay.portal.kernel.model.ShardedModel
- All Known Subinterfaces:
OAuth2Authorization
- All Known Implementing Classes:
OAuth2AuthorizationWrapper
@ProviderType
public interface OAuth2AuthorizationModel
extends com.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the OAuth2Authorization service. Represents a row in the "OAuth2Authorization" database table, with each column mapped to a property of this class.
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.
- See Also:
- Generated:
-
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.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.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.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this o auth2 authorization.- Returns:
- the primary key of this o auth2 authorization
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this o auth2 authorization.- Parameters:
primaryKey- the primary key of this o auth2 authorization
-
getOAuth2AuthorizationId
long getOAuth2AuthorizationId()Returns the o auth2 authorization ID of this o auth2 authorization.- Returns:
- the o auth2 authorization ID of this o auth2 authorization
-
setOAuth2AuthorizationId
void setOAuth2AuthorizationId(long oAuth2AuthorizationId) Sets the o auth2 authorization ID of this o auth2 authorization.- Parameters:
oAuth2AuthorizationId- the o auth2 authorization ID of this o auth2 authorization
-
getCompanyId
long getCompanyId()Returns the company ID of this o auth2 authorization.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this o auth2 authorization
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this o auth2 authorization.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this o auth2 authorization
-
getUserId
long getUserId()Returns the user ID of this o auth2 authorization.- Returns:
- the user ID of this o auth2 authorization
-
setUserId
void setUserId(long userId) Sets the user ID of this o auth2 authorization.- Parameters:
userId- the user ID of this o auth2 authorization
-
getUserUuid
String getUserUuid()Returns the user uuid of this o auth2 authorization.- Returns:
- the user uuid of this o auth2 authorization
-
setUserUuid
Sets the user uuid of this o auth2 authorization.- Parameters:
userUuid- the user uuid of this o auth2 authorization
-
getUserName
Returns the user name of this o auth2 authorization.- Returns:
- the user name of this o auth2 authorization
-
setUserName
Sets the user name of this o auth2 authorization.- Parameters:
userName- the user name of this o auth2 authorization
-
getCreateDate
Date getCreateDate()Returns the create date of this o auth2 authorization.- Returns:
- the create date of this o auth2 authorization
-
setCreateDate
Sets the create date of this o auth2 authorization.- Parameters:
createDate- the create date of this o auth2 authorization
-
getOAuth2ApplicationId
long getOAuth2ApplicationId()Returns the o auth2 application ID of this o auth2 authorization.- Returns:
- the o auth2 application ID of this o auth2 authorization
-
setOAuth2ApplicationId
void setOAuth2ApplicationId(long oAuth2ApplicationId) Sets the o auth2 application ID of this o auth2 authorization.- Parameters:
oAuth2ApplicationId- the o auth2 application ID of this o auth2 authorization
-
getOAuth2ApplicationScopeAliasesId
long getOAuth2ApplicationScopeAliasesId()Returns the o auth2 application scope aliases ID of this o auth2 authorization.- Returns:
- the o auth2 application scope aliases ID of this o auth2 authorization
-
setOAuth2ApplicationScopeAliasesId
void setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId) Sets the o auth2 application scope aliases ID of this o auth2 authorization.- Parameters:
oAuth2ApplicationScopeAliasesId- the o auth2 application scope aliases ID of this o auth2 authorization
-
getAccessTokenContent
Returns the access token content of this o auth2 authorization.- Returns:
- the access token content of this o auth2 authorization
-
setAccessTokenContent
Sets the access token content of this o auth2 authorization.- Parameters:
accessTokenContent- the access token content of this o auth2 authorization
-
getAccessTokenContentHash
long getAccessTokenContentHash()Returns the access token content hash of this o auth2 authorization.- Returns:
- the access token content hash of this o auth2 authorization
-
setAccessTokenContentHash
void setAccessTokenContentHash(long accessTokenContentHash) Sets the access token content hash of this o auth2 authorization.- Parameters:
accessTokenContentHash- the access token content hash of this o auth2 authorization
-
getAccessTokenCreateDate
Date getAccessTokenCreateDate()Returns the access token create date of this o auth2 authorization.- Returns:
- the access token create date of this o auth2 authorization
-
setAccessTokenCreateDate
Sets the access token create date of this o auth2 authorization.- Parameters:
accessTokenCreateDate- the access token create date of this o auth2 authorization
-
getAccessTokenExpirationDate
Date getAccessTokenExpirationDate()Returns the access token expiration date of this o auth2 authorization.- Returns:
- the access token expiration date of this o auth2 authorization
-
setAccessTokenExpirationDate
Sets the access token expiration date of this o auth2 authorization.- Parameters:
accessTokenExpirationDate- the access token expiration date of this o auth2 authorization
-
getRemoteHostInfo
Returns the remote host info of this o auth2 authorization.- Returns:
- the remote host info of this o auth2 authorization
-
setRemoteHostInfo
Sets the remote host info of this o auth2 authorization.- Parameters:
remoteHostInfo- the remote host info of this o auth2 authorization
-
getRemoteIPInfo
Returns the remote ip info of this o auth2 authorization.- Returns:
- the remote ip info of this o auth2 authorization
-
setRemoteIPInfo
Sets the remote ip info of this o auth2 authorization.- Parameters:
remoteIPInfo- the remote ip info of this o auth2 authorization
-
getRefreshTokenContent
Returns the refresh token content of this o auth2 authorization.- Returns:
- the refresh token content of this o auth2 authorization
-
setRefreshTokenContent
Sets the refresh token content of this o auth2 authorization.- Parameters:
refreshTokenContent- the refresh token content of this o auth2 authorization
-
getRefreshTokenContentHash
long getRefreshTokenContentHash()Returns the refresh token content hash of this o auth2 authorization.- Returns:
- the refresh token content hash of this o auth2 authorization
-
setRefreshTokenContentHash
void setRefreshTokenContentHash(long refreshTokenContentHash) Sets the refresh token content hash of this o auth2 authorization.- Parameters:
refreshTokenContentHash- the refresh token content hash of this o auth2 authorization
-
getRefreshTokenCreateDate
Date getRefreshTokenCreateDate()Returns the refresh token create date of this o auth2 authorization.- Returns:
- the refresh token create date of this o auth2 authorization
-
setRefreshTokenCreateDate
Sets the refresh token create date of this o auth2 authorization.- Parameters:
refreshTokenCreateDate- the refresh token create date of this o auth2 authorization
-
getRefreshTokenExpirationDate
Date getRefreshTokenExpirationDate()Returns the refresh token expiration date of this o auth2 authorization.- Returns:
- the refresh token expiration date of this o auth2 authorization
-
setRefreshTokenExpirationDate
Sets the refresh token expiration date of this o auth2 authorization.- Parameters:
refreshTokenExpirationDate- the refresh token expiration date of this o auth2 authorization
-
getRememberDeviceContent
Returns the remember device content of this o auth2 authorization.- Returns:
- the remember device content of this o auth2 authorization
-
setRememberDeviceContent
Sets the remember device content of this o auth2 authorization.- Parameters:
rememberDeviceContent- the remember device content of this o auth2 authorization
-
cloneWithOriginalValues
OAuth2Authorization cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<OAuth2Authorization>
-
toXmlString
-