@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
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
.
OAuth2Application
Modifier and Type | Method and Description |
---|---|
OAuth2Application |
cloneWithOriginalValues() |
java.lang.String |
getAllowedGrantTypes()
Returns the allowed grant types of this o auth2 application.
|
java.lang.String |
getClientAuthenticationMethod()
Returns the client authentication method of this o auth2 application.
|
long |
getClientCredentialUserId()
Returns the client credential user ID of this o auth2 application.
|
java.lang.String |
getClientCredentialUserName()
Returns the client credential user name of this o auth2 application.
|
java.lang.String |
getClientCredentialUserUuid()
Returns the client credential user uuid of this o auth2 application.
|
java.lang.String |
getClientId()
Returns the client ID of this o auth2 application.
|
int |
getClientProfile()
Returns the client profile of this o auth2 application.
|
java.lang.String |
getClientSecret()
Returns the client secret of this o auth2 application.
|
long |
getCompanyId()
Returns the company ID of this o auth2 application.
|
java.util.Date |
getCreateDate()
Returns the create date of this o auth2 application.
|
java.lang.String |
getDescription()
Returns the description of this o auth2 application.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this o auth2 application.
|
java.lang.String |
getFeatures()
Returns the features of this o auth2 application.
|
java.lang.String |
getHomePageURL()
Returns the home page url of this o auth2 application.
|
long |
getIconFileEntryId()
Returns the icon file entry ID of this o auth2 application.
|
java.lang.String |
getJwks()
Returns the jwks of this o auth2 application.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this o auth2 application.
|
java.lang.String |
getName()
Returns the name of this o auth2 application.
|
long |
getOAuth2ApplicationId()
Returns the o auth2 application ID of this o auth2 application.
|
long |
getOAuth2ApplicationScopeAliasesId()
Returns the o auth2 application scope aliases ID of this o auth2 application.
|
long |
getPrimaryKey()
Returns the primary key of this o auth2 application.
|
java.lang.String |
getPrivacyPolicyURL()
Returns the privacy policy url of this o auth2 application.
|
java.lang.String |
getRedirectURIs()
Returns the redirect ur is of this o auth2 application.
|
boolean |
getRememberDevice()
Returns the remember device of this o auth2 application.
|
boolean |
getTrustedApplication()
Returns the trusted application of this o auth2 application.
|
long |
getUserId()
Returns the user ID of this o auth2 application.
|
java.lang.String |
getUserName()
Returns the user name of this o auth2 application.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this o auth2 application.
|
java.lang.String |
getUuid()
Returns the uuid of this o auth2 application.
|
boolean |
isRememberDevice()
Returns
true if this o auth2 application is remember device. |
boolean |
isTrustedApplication()
Returns
true if this o auth2 application is trusted application. |
void |
setAllowedGrantTypes(java.lang.String allowedGrantTypes)
Sets the allowed grant types of this o auth2 application.
|
void |
setClientAuthenticationMethod(java.lang.String clientAuthenticationMethod)
Sets the client authentication method of this o auth2 application.
|
void |
setClientCredentialUserId(long clientCredentialUserId)
Sets the client credential user ID of this o auth2 application.
|
void |
setClientCredentialUserName(java.lang.String clientCredentialUserName)
Sets the client credential user name of this o auth2 application.
|
void |
setClientCredentialUserUuid(java.lang.String clientCredentialUserUuid)
Sets the client credential user uuid of this o auth2 application.
|
void |
setClientId(java.lang.String clientId)
Sets the client ID of this o auth2 application.
|
void |
setClientProfile(int clientProfile)
Sets the client profile of this o auth2 application.
|
void |
setClientSecret(java.lang.String clientSecret)
Sets the client secret of this o auth2 application.
|
void |
setCompanyId(long companyId)
Sets the company ID of this o auth2 application.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this o auth2 application.
|
void |
setDescription(java.lang.String description)
Sets the description of this o auth2 application.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this o auth2 application.
|
void |
setFeatures(java.lang.String features)
Sets the features of this o auth2 application.
|
void |
setHomePageURL(java.lang.String homePageURL)
Sets the home page url of this o auth2 application.
|
void |
setIconFileEntryId(long iconFileEntryId)
Sets the icon file entry ID of this o auth2 application.
|
void |
setJwks(java.lang.String jwks)
Sets the jwks of this o auth2 application.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this o auth2 application.
|
void |
setName(java.lang.String name)
Sets the name of this o auth2 application.
|
void |
setOAuth2ApplicationId(long oAuth2ApplicationId)
Sets the o auth2 application ID of this o auth2 application.
|
void |
setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId)
Sets the o auth2 application scope aliases ID of this o auth2 application.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this o auth2 application.
|
void |
setPrivacyPolicyURL(java.lang.String privacyPolicyURL)
Sets the privacy policy url of this o auth2 application.
|
void |
setRedirectURIs(java.lang.String redirectURIs)
Sets the redirect ur is of this o auth2 application.
|
void |
setRememberDevice(boolean rememberDevice)
Sets whether this o auth2 application is remember device.
|
void |
setTrustedApplication(boolean trustedApplication)
Sets whether this o auth2 application is trusted application.
|
void |
setUserId(long userId)
Sets the user ID of this o auth2 application.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this o auth2 application.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this o auth2 application.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this o auth2 application.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this o auth2 application@AutoEscape java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this o auth2 application@AutoEscape java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
externalReferenceCode
- the external reference code of this o auth2 applicationlong getOAuth2ApplicationId()
void setOAuth2ApplicationId(long oAuth2ApplicationId)
oAuth2ApplicationId
- the o auth2 application ID of this o auth2 applicationlong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this o auth2 applicationlong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this o auth2 applicationjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this o auth2 application@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this o auth2 applicationjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this o auth2 applicationjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this o auth2 applicationlong getOAuth2ApplicationScopeAliasesId()
void setOAuth2ApplicationScopeAliasesId(long oAuth2ApplicationScopeAliasesId)
oAuth2ApplicationScopeAliasesId
- the o auth2 application scope aliases ID of this o auth2 application@AutoEscape java.lang.String getAllowedGrantTypes()
void setAllowedGrantTypes(java.lang.String allowedGrantTypes)
allowedGrantTypes
- the allowed grant types of this o auth2 application@AutoEscape java.lang.String getClientAuthenticationMethod()
void setClientAuthenticationMethod(java.lang.String clientAuthenticationMethod)
clientAuthenticationMethod
- the client authentication method of this o auth2 applicationlong getClientCredentialUserId()
void setClientCredentialUserId(long clientCredentialUserId)
clientCredentialUserId
- the client credential user ID of this o auth2 applicationjava.lang.String getClientCredentialUserUuid()
void setClientCredentialUserUuid(java.lang.String clientCredentialUserUuid)
clientCredentialUserUuid
- the client credential user uuid of this o auth2 application@AutoEscape java.lang.String getClientCredentialUserName()
void setClientCredentialUserName(java.lang.String clientCredentialUserName)
clientCredentialUserName
- the client credential user name of this o auth2 application@AutoEscape java.lang.String getClientId()
void setClientId(java.lang.String clientId)
clientId
- the client ID of this o auth2 applicationint getClientProfile()
void setClientProfile(int clientProfile)
clientProfile
- the client profile of this o auth2 application@AutoEscape java.lang.String getClientSecret()
void setClientSecret(java.lang.String clientSecret)
clientSecret
- the client secret of this o auth2 application@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description
- the description of this o auth2 application@AutoEscape java.lang.String getFeatures()
void setFeatures(java.lang.String features)
features
- the features of this o auth2 application@AutoEscape java.lang.String getHomePageURL()
void setHomePageURL(java.lang.String homePageURL)
homePageURL
- the home page url of this o auth2 applicationlong getIconFileEntryId()
void setIconFileEntryId(long iconFileEntryId)
iconFileEntryId
- the icon file entry ID of this o auth2 application@AutoEscape java.lang.String getJwks()
void setJwks(java.lang.String jwks)
jwks
- the jwks of this o auth2 application@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name
- the name of this o auth2 application@AutoEscape java.lang.String getPrivacyPolicyURL()
void setPrivacyPolicyURL(java.lang.String privacyPolicyURL)
privacyPolicyURL
- the privacy policy url of this o auth2 application@AutoEscape java.lang.String getRedirectURIs()
void setRedirectURIs(java.lang.String redirectURIs)
redirectURIs
- the redirect ur is of this o auth2 applicationboolean getRememberDevice()
boolean isRememberDevice()
true
if this o auth2 application is remember device.true
if this o auth2 application is remember device; false
otherwisevoid setRememberDevice(boolean rememberDevice)
rememberDevice
- the remember device of this o auth2 applicationboolean getTrustedApplication()
boolean isTrustedApplication()
true
if this o auth2 application is trusted application.true
if this o auth2 application is trusted application; false
otherwisevoid setTrustedApplication(boolean trustedApplication)
trustedApplication
- the trusted application of this o auth2 applicationOAuth2Application cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
default java.lang.String toXmlString()