@ProviderType public class OAuthApplicationWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuthApplication> implements OAuthApplication, com.liferay.portal.kernel.model.ModelWrapper<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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 OAuthApplicationModel
public java.lang.String getAccessLevelLabel()
getAccessLevelLabel
in interface OAuthApplication
public java.lang.String getCallbackURI()
getCallbackURI
in interface OAuthApplicationModel
public long getCompanyId()
getCompanyId
in interface OAuthApplicationModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.lang.String getConsumerKey()
getConsumerKey
in interface OAuthApplicationModel
public java.lang.String getConsumerSecret()
getConsumerSecret
in interface OAuthApplicationModel
public java.util.Date getCreateDate()
getCreateDate
in interface OAuthApplicationModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getDescription()
getDescription
in interface OAuthApplicationModel
public long getLogoId()
getLogoId
in interface OAuthApplicationModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface OAuthApplicationModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getName()
getName
in interface OAuthApplicationModel
public long getOAuthApplicationId()
getOAuthApplicationId
in interface OAuthApplicationModel
public long getPrimaryKey()
getPrimaryKey
in interface OAuthApplicationModel
public boolean getShareableAccessToken()
getShareableAccessToken
in interface OAuthApplicationModel
public long getUserId()
getUserId
in interface OAuthApplicationModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface OAuthApplicationModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface OAuthApplicationModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getWebsiteURL()
getWebsiteURL
in interface OAuthApplicationModel
public boolean isShareableAccessToken()
true
if this o auth application is shareable access token.isShareableAccessToken
in interface OAuthApplicationModel
true
if this o auth application is shareable access token; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAccessLevel(int accessLevel)
setAccessLevel
in interface OAuthApplicationModel
accessLevel
- the access level of this o auth applicationpublic void setCallbackURI(java.lang.String callbackURI)
setCallbackURI
in interface OAuthApplicationModel
callbackURI
- the callback uri of this o auth applicationpublic void setCompanyId(long companyId)
setCompanyId
in interface OAuthApplicationModel
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 auth applicationpublic void setConsumerKey(java.lang.String consumerKey)
setConsumerKey
in interface OAuthApplicationModel
consumerKey
- the consumer key of this o auth applicationpublic void setConsumerSecret(java.lang.String consumerSecret)
setConsumerSecret
in interface OAuthApplicationModel
consumerSecret
- the consumer secret of this o auth applicationpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface OAuthApplicationModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this o auth applicationpublic void setDescription(java.lang.String description)
setDescription
in interface OAuthApplicationModel
description
- the description of this o auth applicationpublic void setLogoId(long logoId)
setLogoId
in interface OAuthApplicationModel
logoId
- the logo ID of this o auth applicationpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface OAuthApplicationModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this o auth applicationpublic void setName(java.lang.String name)
setName
in interface OAuthApplicationModel
name
- the name of this o auth applicationpublic void setOAuthApplicationId(long oAuthApplicationId)
setOAuthApplicationId
in interface OAuthApplicationModel
oAuthApplicationId
- the o auth application ID of this o auth applicationpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface OAuthApplicationModel
primaryKey
- the primary key of this o auth applicationpublic void setShareableAccessToken(boolean shareableAccessToken)
setShareableAccessToken
in interface OAuthApplicationModel
shareableAccessToken
- the shareable access token of this o auth applicationpublic void setUserId(long userId)
setUserId
in interface OAuthApplicationModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this o auth applicationpublic void setUserName(java.lang.String userName)
setUserName
in interface OAuthApplicationModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this o auth applicationpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface OAuthApplicationModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this o auth applicationpublic void setWebsiteURL(java.lang.String websiteURL)
setWebsiteURL
in interface OAuthApplicationModel
websiteURL
- the website url of this o auth applicationprotected OAuthApplicationWrapper wrap(OAuthApplication oAuthApplication)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<OAuthApplication>