public class OAuthApplicationWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuthApplication> implements com.liferay.portal.kernel.model.ModelWrapper<OAuthApplication>, OAuthApplication
This class is a wrapper for OAuthApplication.
OAuthApplication,
Serialized FormO_AUTH_APPLICATION_ID_ACCESSOR| Constructor and Description |
|---|
OAuthApplicationWrapper(OAuthApplication oAuthApplication) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessLevel()
Returns the access level of this o auth application.
|
java.lang.String |
getAccessLevelLabel() |
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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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 |
persist() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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.
|
protected OAuthApplicationWrapper |
wrap(OAuthApplication oAuthApplication) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic OAuthApplicationWrapper(OAuthApplication oAuthApplication)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>public int getAccessLevel()
getAccessLevel in interface OAuthApplicationModelpublic java.lang.String getAccessLevelLabel()
getAccessLevelLabel in interface OAuthApplicationpublic java.lang.String getCallbackURI()
getCallbackURI in interface OAuthApplicationModelpublic long getCompanyId()
getCompanyId in interface OAuthApplicationModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.lang.String getConsumerKey()
getConsumerKey in interface OAuthApplicationModelpublic java.lang.String getConsumerSecret()
getConsumerSecret in interface OAuthApplicationModelpublic java.util.Date getCreateDate()
getCreateDate in interface OAuthApplicationModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getDescription()
getDescription in interface OAuthApplicationModelpublic long getLogoId()
getLogoId in interface OAuthApplicationModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface OAuthApplicationModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getName()
getName in interface OAuthApplicationModelpublic long getOAuthApplicationId()
getOAuthApplicationId in interface OAuthApplicationModelpublic long getPrimaryKey()
getPrimaryKey in interface OAuthApplicationModelpublic boolean getShareableAccessToken()
getShareableAccessToken in interface OAuthApplicationModelpublic long getUserId()
getUserId in interface OAuthApplicationModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface OAuthApplicationModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface OAuthApplicationModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getWebsiteURL()
getWebsiteURL in interface OAuthApplicationModelpublic boolean isShareableAccessToken()
true if this o auth application is shareable access token.isShareableAccessToken in interface OAuthApplicationModeltrue if this o auth application is shareable access token; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAccessLevel(int accessLevel)
setAccessLevel in interface OAuthApplicationModelaccessLevel - the access level of this o auth applicationpublic void setCallbackURI(java.lang.String callbackURI)
setCallbackURI in interface OAuthApplicationModelcallbackURI - the callback uri of this o auth applicationpublic void setCompanyId(long companyId)
setCompanyId in interface OAuthApplicationModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this o auth applicationpublic void setConsumerKey(java.lang.String consumerKey)
setConsumerKey in interface OAuthApplicationModelconsumerKey - the consumer key of this o auth applicationpublic void setConsumerSecret(java.lang.String consumerSecret)
setConsumerSecret in interface OAuthApplicationModelconsumerSecret - the consumer secret of this o auth applicationpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface OAuthApplicationModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this o auth applicationpublic void setDescription(java.lang.String description)
setDescription in interface OAuthApplicationModeldescription - the description of this o auth applicationpublic void setLogoId(long logoId)
setLogoId in interface OAuthApplicationModellogoId - the logo ID of this o auth applicationpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface OAuthApplicationModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this o auth applicationpublic void setName(java.lang.String name)
setName in interface OAuthApplicationModelname - the name of this o auth applicationpublic void setOAuthApplicationId(long oAuthApplicationId)
setOAuthApplicationId in interface OAuthApplicationModeloAuthApplicationId - the o auth application ID of this o auth applicationpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface OAuthApplicationModelprimaryKey - the primary key of this o auth applicationpublic void setShareableAccessToken(boolean shareableAccessToken)
setShareableAccessToken in interface OAuthApplicationModelshareableAccessToken - the shareable access token of this o auth applicationpublic void setUserId(long userId)
setUserId in interface OAuthApplicationModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this o auth applicationpublic void setUserName(java.lang.String userName)
setUserName in interface OAuthApplicationModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this o auth applicationpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface OAuthApplicationModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this o auth applicationpublic void setWebsiteURL(java.lang.String websiteURL)
setWebsiteURL in interface OAuthApplicationModelwebsiteURL - the website url of this o auth applicationprotected OAuthApplicationWrapper wrap(OAuthApplication oAuthApplication)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuthApplication>