Interface OAuth2ApplicationModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<OAuth2Application>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<OAuth2Application>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel
- All Known Subinterfaces:
OAuth2Application
- All Known Implementing Classes:
OAuth2ApplicationWrapper
@ProviderType
public interface OAuth2ApplicationModel
extends com.liferay.portal.kernel.model.BaseModel<OAuth2Application>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the OAuth2Application service. Represents a row in the "OAuth2Application" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.oauth2.provider.model.impl.OAuth2ApplicationModelImpl 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.OAuth2ApplicationImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the allowed grant types of this o auth2 application.Returns the client authentication method of this o auth2 application.longReturns the client credential user ID of this o auth2 application.Returns the client credential user name of this o auth2 application.Returns the client credential user uuid of this o auth2 application.Returns the client ID of this o auth2 application.intReturns the client profile of this o auth2 application.Returns the client secret of this o auth2 application.longReturns the company ID of this o auth2 application.Returns the create date of this o auth2 application.Returns the description of this o auth2 application.Returns the external reference code of this o auth2 application.Returns the features of this o auth2 application.Returns the home page url of this o auth2 application.longReturns the icon file entry ID of this o auth2 application.getJwks()Returns the jwks of this o auth2 application.Returns the modified date of this o auth2 application.getName()Returns the name of this o auth2 application.longReturns the o auth2 application ID of this o auth2 application.longReturns the o auth2 application scope aliases ID of this o auth2 application.longReturns the primary key of this o auth2 application.Returns the privacy policy url of this o auth2 application.Returns the redirect ur is of this o auth2 application.booleanReturns the remember device of this o auth2 application.booleanReturns the trusted application of this o auth2 application.longReturns the user ID of this o auth2 application.Returns the user name of this o auth2 application.Returns the user uuid of this o auth2 application.getUuid()Returns the uuid of this o auth2 application.booleanReturnstrueif this o auth2 application is remember device.booleanReturnstrueif this o auth2 application is trusted application.voidsetAllowedGrantTypes(String allowedGrantTypes) Sets the allowed grant types of this o auth2 application.voidsetClientAuthenticationMethod(String clientAuthenticationMethod) Sets the client authentication method of this o auth2 application.voidsetClientCredentialUserId(long clientCredentialUserId) Sets the client credential user ID of this o auth2 application.voidsetClientCredentialUserName(String clientCredentialUserName) Sets the client credential user name of this o auth2 application.voidsetClientCredentialUserUuid(String clientCredentialUserUuid) Sets the client credential user uuid of this o auth2 application.voidsetClientId(String clientId) Sets the client ID of this o auth2 application.voidsetClientProfile(int clientProfile) Sets the client profile of this o auth2 application.voidsetClientSecret(String clientSecret) Sets the client secret of this o auth2 application.voidsetCompanyId(long companyId) Sets the company ID of this o auth2 application.voidsetCreateDate(Date createDate) Sets the create date of this o auth2 application.voidsetDescription(String description) Sets the description of this o auth2 application.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this o auth2 application.voidsetFeatures(String features) Sets the features of this o auth2 application.voidsetHomePageURL(String homePageURL) Sets the home page url of this o auth2 application.voidsetIconFileEntryId(long iconFileEntryId) Sets the icon file entry ID of this o auth2 application.voidSets the jwks of this o auth2 application.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this o auth2 application.voidSets the name of this o auth2 application.voidsetOAuth2ApplicationId(long oAuth2ApplicationId) Sets the o auth2 application ID of this o auth2 application.voidsetOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId) Sets the o auth2 application scope aliases ID of this o auth2 application.voidsetPrimaryKey(long primaryKey) Sets the primary key of this o auth2 application.voidsetPrivacyPolicyURL(String privacyPolicyURL) Sets the privacy policy url of this o auth2 application.voidsetRedirectURIs(String redirectURIs) Sets the redirect ur is of this o auth2 application.voidsetRememberDevice(boolean rememberDevice) Sets whether this o auth2 application is remember device.voidsetTrustedApplication(boolean trustedApplication) Sets whether this o auth2 application is trusted application.voidsetUserId(long userId) Sets the user ID of this o auth2 application.voidsetUserName(String userName) Sets the user name of this o auth2 application.voidsetUserUuid(String userUuid) Sets the user uuid of this o auth2 application.voidSets the uuid of this o auth2 application.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
compareToMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this o auth2 application.- Returns:
- the primary key of this o auth2 application
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this o auth2 application.- Parameters:
primaryKey- the primary key of this o auth2 application
-
getUuid
Returns the uuid of this o auth2 application.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this o auth2 application
-
setUuid
Sets the uuid of this o auth2 application.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this o auth2 application
-
getExternalReferenceCode
Returns the external reference code of this o auth2 application.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this o auth2 application
-
setExternalReferenceCode
Sets the external reference code of this o auth2 application.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this o auth2 application
-
getOAuth2ApplicationId
long getOAuth2ApplicationId()Returns the o auth2 application ID of this o auth2 application.- Returns:
- the o auth2 application ID of this o auth2 application
-
setOAuth2ApplicationId
void setOAuth2ApplicationId(long oAuth2ApplicationId) Sets the o auth2 application ID of this o auth2 application.- Parameters:
oAuth2ApplicationId- the o auth2 application ID of this o auth2 application
-
getCompanyId
long getCompanyId()Returns the company ID of this o auth2 application.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this o auth2 application
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this o auth2 application.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this o auth2 application
-
getUserId
long getUserId()Returns the user ID of this o auth2 application.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this o auth2 application
-
setUserId
void setUserId(long userId) Sets the user ID of this o auth2 application.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this o auth2 application
-
getUserUuid
String getUserUuid()Returns the user uuid of this o auth2 application.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this o auth2 application
-
setUserUuid
Sets the user uuid of this o auth2 application.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this o auth2 application
-
getUserName
Returns the user name of this o auth2 application.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this o auth2 application
-
setUserName
Sets the user name of this o auth2 application.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this o auth2 application
-
getCreateDate
Date getCreateDate()Returns the create date of this o auth2 application.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this o auth2 application
-
setCreateDate
Sets the create date of this o auth2 application.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this o auth2 application
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this o auth2 application.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this o auth2 application
-
setModifiedDate
Sets the modified date of this o auth2 application.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this o auth2 application
-
getOAuth2ApplicationScopeAliasesId
long getOAuth2ApplicationScopeAliasesId()Returns the o auth2 application scope aliases ID of this o auth2 application.- Returns:
- the o auth2 application scope aliases ID of this o auth2 application
-
setOAuth2ApplicationScopeAliasesId
void setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId) Sets the o auth2 application scope aliases ID of this o auth2 application.- Parameters:
oAuth2ApplicationScopeAliasesId- the o auth2 application scope aliases ID of this o auth2 application
-
getAllowedGrantTypes
Returns the allowed grant types of this o auth2 application.- Returns:
- the allowed grant types of this o auth2 application
-
setAllowedGrantTypes
Sets the allowed grant types of this o auth2 application.- Parameters:
allowedGrantTypes- the allowed grant types of this o auth2 application
-
getClientAuthenticationMethod
Returns the client authentication method of this o auth2 application.- Returns:
- the client authentication method of this o auth2 application
-
setClientAuthenticationMethod
Sets the client authentication method of this o auth2 application.- Parameters:
clientAuthenticationMethod- the client authentication method of this o auth2 application
-
getClientCredentialUserId
long getClientCredentialUserId()Returns the client credential user ID of this o auth2 application.- Returns:
- the client credential user ID of this o auth2 application
-
setClientCredentialUserId
void setClientCredentialUserId(long clientCredentialUserId) Sets the client credential user ID of this o auth2 application.- Parameters:
clientCredentialUserId- the client credential user ID of this o auth2 application
-
getClientCredentialUserUuid
String getClientCredentialUserUuid()Returns the client credential user uuid of this o auth2 application.- Returns:
- the client credential user uuid of this o auth2 application
-
setClientCredentialUserUuid
Sets the client credential user uuid of this o auth2 application.- Parameters:
clientCredentialUserUuid- the client credential user uuid of this o auth2 application
-
getClientCredentialUserName
Returns the client credential user name of this o auth2 application.- Returns:
- the client credential user name of this o auth2 application
-
setClientCredentialUserName
Sets the client credential user name of this o auth2 application.- Parameters:
clientCredentialUserName- the client credential user name of this o auth2 application
-
getClientId
Returns the client ID of this o auth2 application.- Returns:
- the client ID of this o auth2 application
-
setClientId
Sets the client ID of this o auth2 application.- Parameters:
clientId- the client ID of this o auth2 application
-
getClientProfile
int getClientProfile()Returns the client profile of this o auth2 application.- Returns:
- the client profile of this o auth2 application
-
setClientProfile
void setClientProfile(int clientProfile) Sets the client profile of this o auth2 application.- Parameters:
clientProfile- the client profile of this o auth2 application
-
getClientSecret
Returns the client secret of this o auth2 application.- Returns:
- the client secret of this o auth2 application
-
setClientSecret
Sets the client secret of this o auth2 application.- Parameters:
clientSecret- the client secret of this o auth2 application
-
getDescription
Returns the description of this o auth2 application.- Returns:
- the description of this o auth2 application
-
setDescription
Sets the description of this o auth2 application.- Parameters:
description- the description of this o auth2 application
-
getFeatures
Returns the features of this o auth2 application.- Returns:
- the features of this o auth2 application
-
setFeatures
Sets the features of this o auth2 application.- Parameters:
features- the features of this o auth2 application
-
getHomePageURL
Returns the home page url of this o auth2 application.- Returns:
- the home page url of this o auth2 application
-
setHomePageURL
Sets the home page url of this o auth2 application.- Parameters:
homePageURL- the home page url of this o auth2 application
-
getIconFileEntryId
long getIconFileEntryId()Returns the icon file entry ID of this o auth2 application.- Returns:
- the icon file entry ID of this o auth2 application
-
setIconFileEntryId
void setIconFileEntryId(long iconFileEntryId) Sets the icon file entry ID of this o auth2 application.- Parameters:
iconFileEntryId- the icon file entry ID of this o auth2 application
-
getJwks
Returns the jwks of this o auth2 application.- Returns:
- the jwks of this o auth2 application
-
setJwks
Sets the jwks of this o auth2 application.- Parameters:
jwks- the jwks of this o auth2 application
-
getName
Returns the name of this o auth2 application.- Returns:
- the name of this o auth2 application
-
setName
Sets the name of this o auth2 application.- Parameters:
name- the name of this o auth2 application
-
getPrivacyPolicyURL
Returns the privacy policy url of this o auth2 application.- Returns:
- the privacy policy url of this o auth2 application
-
setPrivacyPolicyURL
Sets the privacy policy url of this o auth2 application.- Parameters:
privacyPolicyURL- the privacy policy url of this o auth2 application
-
getRedirectURIs
Returns the redirect ur is of this o auth2 application.- Returns:
- the redirect ur is of this o auth2 application
-
setRedirectURIs
Sets the redirect ur is of this o auth2 application.- Parameters:
redirectURIs- the redirect ur is of this o auth2 application
-
getRememberDevice
boolean getRememberDevice()Returns the remember device of this o auth2 application.- Returns:
- the remember device of this o auth2 application
-
isRememberDevice
boolean isRememberDevice()Returnstrueif this o auth2 application is remember device.- Returns:
trueif this o auth2 application is remember device;falseotherwise
-
setRememberDevice
void setRememberDevice(boolean rememberDevice) Sets whether this o auth2 application is remember device.- Parameters:
rememberDevice- the remember device of this o auth2 application
-
getTrustedApplication
boolean getTrustedApplication()Returns the trusted application of this o auth2 application.- Returns:
- the trusted application of this o auth2 application
-
isTrustedApplication
boolean isTrustedApplication()Returnstrueif this o auth2 application is trusted application.- Returns:
trueif this o auth2 application is trusted application;falseotherwise
-
setTrustedApplication
void setTrustedApplication(boolean trustedApplication) Sets whether this o auth2 application is trusted application.- Parameters:
trustedApplication- the trusted application of this o auth2 application
-
cloneWithOriginalValues
OAuth2Application cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<OAuth2Application>
-
toXmlString
-