@ProviderType public interface OAuthApplicationModel extends com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<OAuthApplication>, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.oauth.model.impl.OAuthApplicationModelImpl 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.oauth.model.impl.OAuthApplicationImpl.
OAuthApplication| Modifier and Type | Method and Description |
|---|---|
int |
getAccessLevel()
Returns the access level of this o auth application.
|
java.lang.String |
getCallbackURI()
Returns the callback uri of this o auth application.
|
long |
getCompanyId()
Returns the company ID of this o auth application.
|
java.lang.String |
getConsumerKey()
Returns the consumer key of this o auth application.
|
java.lang.String |
getConsumerSecret()
Returns the consumer secret of this o auth application.
|
java.util.Date |
getCreateDate()
Returns the create date of this o auth application.
|
java.lang.String |
getDescription()
Returns the description of this o auth application.
|
long |
getLogoId()
Returns the logo ID of this o auth application.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this o auth application.
|
java.lang.String |
getName()
Returns the name of this o auth application.
|
long |
getOAuthApplicationId()
Returns the o auth application ID of this o auth application.
|
long |
getPrimaryKey()
Returns the primary key of this o auth application.
|
boolean |
getShareableAccessToken()
Returns the shareable access token of this o auth application.
|
long |
getUserId()
Returns the user ID of this o auth application.
|
java.lang.String |
getUserName()
Returns the user name of this o auth application.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this o auth application.
|
java.lang.String |
getWebsiteURL()
Returns the website url of this o auth application.
|
boolean |
isShareableAccessToken()
Returns
true if this o auth application is shareable access token. |
void |
setAccessLevel(int accessLevel)
Sets the access level of this o auth application.
|
void |
setCallbackURI(java.lang.String callbackURI)
Sets the callback uri of this o auth application.
|
void |
setCompanyId(long companyId)
Sets the company ID of this o auth application.
|
void |
setConsumerKey(java.lang.String consumerKey)
Sets the consumer key of this o auth application.
|
void |
setConsumerSecret(java.lang.String consumerSecret)
Sets the consumer secret of this o auth application.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this o auth application.
|
void |
setDescription(java.lang.String description)
Sets the description of this o auth application.
|
void |
setLogoId(long logoId)
Sets the logo ID of this o auth application.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this o auth application.
|
void |
setName(java.lang.String name)
Sets the name of this o auth application.
|
void |
setOAuthApplicationId(long oAuthApplicationId)
Sets the o auth application ID of this o auth application.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this o auth application.
|
void |
setShareableAccessToken(boolean shareableAccessToken)
Sets whether this o auth application is shareable access token.
|
void |
setUserId(long userId)
Sets the user ID of this o auth application.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this o auth application.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this o auth application.
|
void |
setWebsiteURL(java.lang.String websiteURL)
Sets the website url of this o auth application.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringlong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this o auth applicationlong getOAuthApplicationId()
void setOAuthApplicationId(long oAuthApplicationId)
oAuthApplicationId - the o auth application ID of this o auth applicationlong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this o auth applicationlong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this o auth applicationjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this o auth application@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this o auth applicationjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this o auth applicationjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this o auth application@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this o auth application@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this o auth application@AutoEscape java.lang.String getConsumerKey()
void setConsumerKey(java.lang.String consumerKey)
consumerKey - the consumer key of this o auth application@AutoEscape java.lang.String getConsumerSecret()
void setConsumerSecret(java.lang.String consumerSecret)
consumerSecret - the consumer secret of this o auth applicationint getAccessLevel()
void setAccessLevel(int accessLevel)
accessLevel - the access level of this o auth applicationlong getLogoId()
void setLogoId(long logoId)
logoId - the logo ID of this o auth applicationboolean getShareableAccessToken()
boolean isShareableAccessToken()
true if this o auth application is shareable access token.true if this o auth application is shareable access token; false otherwisevoid setShareableAccessToken(boolean shareableAccessToken)
shareableAccessToken - the shareable access token of this o auth application@AutoEscape java.lang.String getCallbackURI()
void setCallbackURI(java.lang.String callbackURI)
callbackURI - the callback uri of this o auth application@AutoEscape java.lang.String getWebsiteURL()
void setWebsiteURL(java.lang.String websiteURL)
websiteURL - the website url of this o auth application