@ProviderType public interface OAuth2ApplicationModel extends com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<OAuth2Application>, com.liferay.portal.kernel.model.ShardedModel
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
,
com.liferay.oauth2.provider.model.impl.OAuth2ApplicationImpl
,
com.liferay.oauth2.provider.model.impl.OAuth2ApplicationModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(OAuth2Application oAuth2Application) |
java.lang.String |
getAllowedGrantTypes()
Returns the allowed grant types 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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
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.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.io.Serializable |
getPrimaryKeyObj() |
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.
|
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.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
void |
setAllowedGrantTypes(java.lang.String allowedGrantTypes)
Sets the allowed grant types of this o auth2 application.
|
void |
setCachedModel(boolean cachedModel) |
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 |
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 |
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 |
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 |
setNew(boolean n) |
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 |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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 |
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.
|
com.liferay.portal.kernel.model.CacheModel<OAuth2Application> |
toCacheModel() |
OAuth2Application |
toEscapedModel() |
java.lang.String |
toString() |
OAuth2Application |
toUnescapedModel() |
java.lang.String |
toXmlString() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key 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
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
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
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this o auth2 applicationjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
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 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 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 isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
int compareTo(OAuth2Application oAuth2Application)
compareTo
in interface java.lang.Comparable<OAuth2Application>
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<OAuth2Application> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
OAuth2Application toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
OAuth2Application toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<OAuth2Application>