@JSON(strict=true)
public class OAuthApplicationModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthApplication>
implements com.liferay.oauth.model.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 Form| Modifier 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(com.liferay.oauth.model.OAuthApplication oAuthApplication) |
boolean |
equals(java.lang.Object object) |
int |
getAccessLevel() |
java.util.Map<java.lang.String,java.util.function.Function<com.liferay.oauth.model.OAuthApplication,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<com.liferay.oauth.model.OAuthApplication,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String |
getCallbackURI() |
long |
getColumnBitmask() |
long |
getCompanyId() |
java.lang.String |
getConsumerKey() |
java.lang.String |
getConsumerSecret() |
java.util.Date |
getCreateDate() |
java.lang.String |
getDescription() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getLogoId() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
java.lang.String |
getName() |
long |
getOAuthApplicationId() |
long |
getOriginalCompanyId() |
java.lang.String |
getOriginalConsumerKey() |
java.lang.String |
getOriginalName() |
long |
getOriginalUserId() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
boolean |
getShareableAccessToken() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getWebsiteURL() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isShareableAccessToken() |
void |
resetOriginalValues() |
void |
setAccessLevel(int accessLevel) |
void |
setCallbackURI(java.lang.String callbackURI) |
void |
setCompanyId(long companyId) |
void |
setConsumerKey(java.lang.String consumerKey) |
void |
setConsumerSecret(java.lang.String consumerSecret) |
void |
setCreateDate(java.util.Date createDate) |
void |
setDescription(java.lang.String description) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setLogoId(long logoId) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setName(java.lang.String name) |
void |
setOAuthApplicationId(long oAuthApplicationId) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setShareableAccessToken(boolean shareableAccessToken) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
void |
setWebsiteURL(java.lang.String websiteURL) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.oauth.model.OAuthApplication> |
toCacheModel() |
com.liferay.oauth.model.OAuthApplication |
toEscapedModel() |
static com.liferay.oauth.model.OAuthApplication |
toModel(com.liferay.oauth.model.OAuthApplicationSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.oauth.model.OAuthApplication> |
toModels(com.liferay.oauth.model.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, toUnescapedModelpublic 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 com.liferay.oauth.model.OAuthApplication toModel(com.liferay.oauth.model.OAuthApplicationSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.oauth.model.OAuthApplication> toModels(com.liferay.oauth.model.OAuthApplicationSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.oauth.model.OAuthApplicationModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.oauth.model.OAuthApplicationModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.oauth.model.OAuthApplicationModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthApplication>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthApplication>public java.util.Map<java.lang.String,java.util.function.Function<com.liferay.oauth.model.OAuthApplication,java.lang.Object>> getAttributeGetterFunctions()
public java.util.Map<java.lang.String,java.util.function.BiConsumer<com.liferay.oauth.model.OAuthApplication,java.lang.Object>> getAttributeSetterBiConsumers()
@JSON public long getOAuthApplicationId()
getOAuthApplicationId in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setOAuthApplicationId(long oAuthApplicationId)
setOAuthApplicationId in interface com.liferay.oauth.model.OAuthApplicationModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.oauth.model.OAuthApplicationModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.oauth.model.OAuthApplicationModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.oauth.model.OAuthApplicationModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserId(long userId)
setUserId in interface com.liferay.oauth.model.OAuthApplicationModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.oauth.model.OAuthApplicationModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.oauth.model.OAuthApplicationModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic long getOriginalUserId()
@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.oauth.model.OAuthApplicationModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.oauth.model.OAuthApplicationModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.oauth.model.OAuthApplicationModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.oauth.model.OAuthApplicationModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.oauth.model.OAuthApplicationModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.oauth.model.OAuthApplicationModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.lang.String getName()
getName in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setName(java.lang.String name)
setName in interface com.liferay.oauth.model.OAuthApplicationModelpublic java.lang.String getOriginalName()
@JSON public java.lang.String getDescription()
getDescription in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setDescription(java.lang.String description)
setDescription in interface com.liferay.oauth.model.OAuthApplicationModel@JSON public java.lang.String getConsumerKey()
getConsumerKey in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setConsumerKey(java.lang.String consumerKey)
setConsumerKey in interface com.liferay.oauth.model.OAuthApplicationModelpublic java.lang.String getOriginalConsumerKey()
@JSON public java.lang.String getConsumerSecret()
getConsumerSecret in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setConsumerSecret(java.lang.String consumerSecret)
setConsumerSecret in interface com.liferay.oauth.model.OAuthApplicationModel@JSON public int getAccessLevel()
getAccessLevel in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setAccessLevel(int accessLevel)
setAccessLevel in interface com.liferay.oauth.model.OAuthApplicationModel@JSON public long getLogoId()
getLogoId in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setLogoId(long logoId)
setLogoId in interface com.liferay.oauth.model.OAuthApplicationModel@JSON public boolean getShareableAccessToken()
getShareableAccessToken in interface com.liferay.oauth.model.OAuthApplicationModel@JSON public boolean isShareableAccessToken()
isShareableAccessToken in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setShareableAccessToken(boolean shareableAccessToken)
setShareableAccessToken in interface com.liferay.oauth.model.OAuthApplicationModel@JSON public java.lang.String getCallbackURI()
getCallbackURI in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setCallbackURI(java.lang.String callbackURI)
setCallbackURI in interface com.liferay.oauth.model.OAuthApplicationModel@JSON public java.lang.String getWebsiteURL()
getWebsiteURL in interface com.liferay.oauth.model.OAuthApplicationModelpublic void setWebsiteURL(java.lang.String websiteURL)
setWebsiteURL in interface com.liferay.oauth.model.OAuthApplicationModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.oauth.model.OAuthApplicationModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthApplication>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.oauth.model.OAuthApplicationModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthApplication>public com.liferay.oauth.model.OAuthApplication toEscapedModel()
toEscapedModel in interface com.liferay.oauth.model.OAuthApplicationModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthApplication>public java.lang.Object clone()
clone in interface com.liferay.oauth.model.OAuthApplicationModelclone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthApplication>public int compareTo(com.liferay.oauth.model.OAuthApplication oAuthApplication)
compareTo in interface com.liferay.oauth.model.OAuthApplicationModelcompareTo in interface java.lang.Comparable<com.liferay.oauth.model.OAuthApplication>public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.oauth.model.OAuthApplicationModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthApplication>public com.liferay.portal.kernel.model.CacheModel<com.liferay.oauth.model.OAuthApplication> toCacheModel()
toCacheModel in interface com.liferay.oauth.model.OAuthApplicationModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthApplication>public java.lang.String toString()
toString in interface com.liferay.oauth.model.OAuthApplicationModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.oauth.model.OAuthApplicationModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthApplication>