@JSON(strict=true) @ProviderType public class OAuthApplicationModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<OAuthApplication> implements OAuthApplicationModel
This implementation and its corresponding interface OAuthApplicationModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in OAuthApplicationImpl
.
OAuthApplicationImpl
,
Serialized FormModifier and Type | Field and Description |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static long |
CONSUMERKEY_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK |
static long |
OAUTHAPPLICATIONID_COLUMN_BITMASK |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
USERID_COLUMN_BITMASK |
Constructor and Description |
---|
OAuthApplicationModelImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(OAuthApplication oAuthApplication) |
boolean |
equals(java.lang.Object obj) |
int |
getAccessLevel()
Returns the access level of this o auth application.
|
java.util.Map<java.lang.String,java.util.function.Function<OAuthApplication,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<OAuthApplication,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String |
getCallbackURI()
Returns the callback uri of this o auth application.
|
long |
getColumnBitmask() |
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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getLogoId()
Returns the logo ID of this o auth application.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
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 |
getOriginalCompanyId() |
java.lang.String |
getOriginalConsumerKey() |
java.lang.String |
getOriginalName() |
long |
getOriginalUserId() |
long |
getPrimaryKey()
Returns the primary key of this o auth application.
|
java.io.Serializable |
getPrimaryKeyObj() |
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.
|
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isShareableAccessToken()
Returns
true if this o auth application is shareable access token. |
void |
resetOriginalValues() |
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 |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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 |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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.
|
com.liferay.portal.kernel.model.CacheModel<OAuthApplication> |
toCacheModel() |
OAuthApplication |
toEscapedModel() |
static OAuthApplication |
toModel(OAuthApplicationSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<OAuthApplication> |
toModels(OAuthApplicationSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
public static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long COMPANYID_COLUMN_BITMASK
public static final long CONSUMERKEY_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long OAUTHAPPLICATIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static OAuthApplication toModel(OAuthApplicationSoap soapModel)
soapModel
- the soap model instance to convertpublic static java.util.List<OAuthApplication> toModels(OAuthApplicationSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
OAuthApplicationModel
getPrimaryKey
in interface OAuthApplicationModel
public void setPrimaryKey(long primaryKey)
OAuthApplicationModel
setPrimaryKey
in interface OAuthApplicationModel
primaryKey
- the primary key of this o auth applicationpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<OAuthApplication>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<OAuthApplication>
public java.util.Map<java.lang.String,java.util.function.Function<OAuthApplication,java.lang.Object>> getAttributeGetterFunctions()
public java.util.Map<java.lang.String,java.util.function.BiConsumer<OAuthApplication,java.lang.Object>> getAttributeSetterBiConsumers()
@JSON public long getOAuthApplicationId()
OAuthApplicationModel
getOAuthApplicationId
in interface OAuthApplicationModel
public void setOAuthApplicationId(long oAuthApplicationId)
OAuthApplicationModel
setOAuthApplicationId
in interface OAuthApplicationModel
oAuthApplicationId
- the o auth application ID of this o auth application@JSON public long getCompanyId()
OAuthApplicationModel
getCompanyId
in interface OAuthApplicationModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public void setCompanyId(long companyId)
OAuthApplicationModel
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 long getOriginalCompanyId()
@JSON public long getUserId()
OAuthApplicationModel
getUserId
in interface OAuthApplicationModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserId(long userId)
OAuthApplicationModel
setUserId
in interface OAuthApplicationModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this o auth applicationpublic java.lang.String getUserUuid()
OAuthApplicationModel
getUserUuid
in interface OAuthApplicationModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserUuid(java.lang.String userUuid)
OAuthApplicationModel
setUserUuid
in interface OAuthApplicationModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this o auth applicationpublic long getOriginalUserId()
@JSON public java.lang.String getUserName()
OAuthApplicationModel
getUserName
in interface OAuthApplicationModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserName(java.lang.String userName)
OAuthApplicationModel
setUserName
in interface OAuthApplicationModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this o auth application@JSON public java.util.Date getCreateDate()
OAuthApplicationModel
getCreateDate
in interface OAuthApplicationModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public void setCreateDate(java.util.Date createDate)
OAuthApplicationModel
setCreateDate
in interface OAuthApplicationModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this o auth application@JSON public java.util.Date getModifiedDate()
OAuthApplicationModel
getModifiedDate
in interface OAuthApplicationModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
OAuthApplicationModel
setModifiedDate
in interface OAuthApplicationModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this o auth application@JSON public java.lang.String getName()
OAuthApplicationModel
getName
in interface OAuthApplicationModel
public void setName(java.lang.String name)
OAuthApplicationModel
setName
in interface OAuthApplicationModel
name
- the name of this o auth applicationpublic java.lang.String getOriginalName()
@JSON public java.lang.String getDescription()
OAuthApplicationModel
getDescription
in interface OAuthApplicationModel
public void setDescription(java.lang.String description)
OAuthApplicationModel
setDescription
in interface OAuthApplicationModel
description
- the description of this o auth application@JSON public java.lang.String getConsumerKey()
OAuthApplicationModel
getConsumerKey
in interface OAuthApplicationModel
public void setConsumerKey(java.lang.String consumerKey)
OAuthApplicationModel
setConsumerKey
in interface OAuthApplicationModel
consumerKey
- the consumer key of this o auth applicationpublic java.lang.String getOriginalConsumerKey()
@JSON public java.lang.String getConsumerSecret()
OAuthApplicationModel
getConsumerSecret
in interface OAuthApplicationModel
public void setConsumerSecret(java.lang.String consumerSecret)
OAuthApplicationModel
setConsumerSecret
in interface OAuthApplicationModel
consumerSecret
- the consumer secret of this o auth application@JSON public int getAccessLevel()
OAuthApplicationModel
getAccessLevel
in interface OAuthApplicationModel
public void setAccessLevel(int accessLevel)
OAuthApplicationModel
setAccessLevel
in interface OAuthApplicationModel
accessLevel
- the access level of this o auth application@JSON public long getLogoId()
OAuthApplicationModel
getLogoId
in interface OAuthApplicationModel
public void setLogoId(long logoId)
OAuthApplicationModel
setLogoId
in interface OAuthApplicationModel
logoId
- the logo ID of this o auth application@JSON public boolean getShareableAccessToken()
OAuthApplicationModel
getShareableAccessToken
in interface OAuthApplicationModel
@JSON public boolean isShareableAccessToken()
OAuthApplicationModel
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 setShareableAccessToken(boolean shareableAccessToken)
OAuthApplicationModel
setShareableAccessToken
in interface OAuthApplicationModel
shareableAccessToken
- the shareable access token of this o auth application@JSON public java.lang.String getCallbackURI()
OAuthApplicationModel
getCallbackURI
in interface OAuthApplicationModel
public void setCallbackURI(java.lang.String callbackURI)
OAuthApplicationModel
setCallbackURI
in interface OAuthApplicationModel
callbackURI
- the callback uri of this o auth application@JSON public java.lang.String getWebsiteURL()
OAuthApplicationModel
getWebsiteURL
in interface OAuthApplicationModel
public void setWebsiteURL(java.lang.String websiteURL)
OAuthApplicationModel
setWebsiteURL
in interface OAuthApplicationModel
websiteURL
- the website url of this o auth applicationpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<OAuthApplication>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<OAuthApplication>
public OAuthApplication toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<OAuthApplication>
public java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<OAuthApplication>
public int compareTo(OAuthApplication oAuthApplication)
compareTo
in interface java.lang.Comparable<OAuthApplication>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<OAuthApplication>
public com.liferay.portal.kernel.model.CacheModel<OAuthApplication> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<OAuthApplication>
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<OAuthApplication>