@JSON(strict=true)
public class OAuthUserModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthUser>
implements com.liferay.oauth.model.OAuthUserModel
This implementation and its corresponding interface OAuthUserModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in OAuthUserImpl.
OAuthUserImpl,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
ACCESSTOKEN_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static long |
OAUTHAPPLICATIONID_COLUMN_BITMASK |
static long |
OAUTHUSERID_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 |
|---|
OAuthUserModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.oauth.model.OAuthUser oAuthUser) |
boolean |
equals(java.lang.Object object) |
java.lang.String |
getAccessSecret() |
java.lang.String |
getAccessToken() |
java.util.Map<java.lang.String,java.util.function.Function<com.liferay.oauth.model.OAuthUser,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<com.liferay.oauth.model.OAuthUser,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnBitmask() |
long |
getCompanyId() |
java.util.Date |
getCreateDate() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
long |
getOAuthApplicationId() |
long |
getOAuthUserId() |
java.lang.String |
getOAuthUserUuid() |
java.lang.String |
getOriginalAccessToken() |
long |
getOriginalOAuthApplicationId() |
long |
getOriginalUserId() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setAccessSecret(java.lang.String accessSecret) |
void |
setAccessToken(java.lang.String accessToken) |
void |
setCompanyId(long companyId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setOAuthApplicationId(long oAuthApplicationId) |
void |
setOAuthUserId(long oAuthUserId) |
void |
setOAuthUserUuid(java.lang.String oAuthUserUuid) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.oauth.model.OAuthUser> |
toCacheModel() |
com.liferay.oauth.model.OAuthUser |
toEscapedModel() |
static com.liferay.oauth.model.OAuthUser |
toModel(com.liferay.oauth.model.OAuthUserSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.oauth.model.OAuthUser> |
toModels(com.liferay.oauth.model.OAuthUserSoap[] 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 ACCESSTOKEN_COLUMN_BITMASK
public static final long OAUTHAPPLICATIONID_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long OAUTHUSERID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.oauth.model.OAuthUser toModel(com.liferay.oauth.model.OAuthUserSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.oauth.model.OAuthUser> toModels(com.liferay.oauth.model.OAuthUserSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.oauth.model.OAuthUserModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.oauth.model.OAuthUserModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.oauth.model.OAuthUserModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.oauth.model.OAuthUserModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>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.OAuthUser>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthUser>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.OAuthUser>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthUser>public java.util.Map<java.lang.String,java.util.function.Function<com.liferay.oauth.model.OAuthUser,java.lang.Object>> getAttributeGetterFunctions()
public java.util.Map<java.lang.String,java.util.function.BiConsumer<com.liferay.oauth.model.OAuthUser,java.lang.Object>> getAttributeSetterBiConsumers()
@JSON public long getOAuthUserId()
getOAuthUserId in interface com.liferay.oauth.model.OAuthUserModelpublic void setOAuthUserId(long oAuthUserId)
setOAuthUserId in interface com.liferay.oauth.model.OAuthUserModelpublic java.lang.String getOAuthUserUuid()
getOAuthUserUuid in interface com.liferay.oauth.model.OAuthUserModelpublic void setOAuthUserUuid(java.lang.String oAuthUserUuid)
setOAuthUserUuid in interface com.liferay.oauth.model.OAuthUserModel@JSON public long getCompanyId()
getCompanyId in interface com.liferay.oauth.model.OAuthUserModelgetCompanyId 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.OAuthUserModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModel@JSON public long getUserId()
getUserId in interface com.liferay.oauth.model.OAuthUserModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserId(long userId)
setUserId in interface com.liferay.oauth.model.OAuthUserModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.oauth.model.OAuthUserModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.oauth.model.OAuthUserModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic long getOriginalUserId()
@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.oauth.model.OAuthUserModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.oauth.model.OAuthUserModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.oauth.model.OAuthUserModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.oauth.model.OAuthUserModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.oauth.model.OAuthUserModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.oauth.model.OAuthUserModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel@JSON public long getOAuthApplicationId()
getOAuthApplicationId in interface com.liferay.oauth.model.OAuthUserModelpublic void setOAuthApplicationId(long oAuthApplicationId)
setOAuthApplicationId in interface com.liferay.oauth.model.OAuthUserModelpublic long getOriginalOAuthApplicationId()
@JSON public java.lang.String getAccessToken()
getAccessToken in interface com.liferay.oauth.model.OAuthUserModelpublic void setAccessToken(java.lang.String accessToken)
setAccessToken in interface com.liferay.oauth.model.OAuthUserModelpublic java.lang.String getOriginalAccessToken()
@JSON public java.lang.String getAccessSecret()
getAccessSecret in interface com.liferay.oauth.model.OAuthUserModelpublic void setAccessSecret(java.lang.String accessSecret)
setAccessSecret in interface com.liferay.oauth.model.OAuthUserModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.oauth.model.OAuthUserModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthUser>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.oauth.model.OAuthUserModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthUser>public com.liferay.oauth.model.OAuthUser toEscapedModel()
toEscapedModel in interface com.liferay.oauth.model.OAuthUserModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthUser>public java.lang.Object clone()
clone in interface com.liferay.oauth.model.OAuthUserModelclone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthUser>public int compareTo(com.liferay.oauth.model.OAuthUser oAuthUser)
compareTo in interface com.liferay.oauth.model.OAuthUserModelcompareTo in interface java.lang.Comparable<com.liferay.oauth.model.OAuthUser>public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.oauth.model.OAuthUserModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthUser>public com.liferay.portal.kernel.model.CacheModel<com.liferay.oauth.model.OAuthUser> toCacheModel()
toCacheModel in interface com.liferay.oauth.model.OAuthUserModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.oauth.model.OAuthUser>public java.lang.String toString()
toString in interface com.liferay.oauth.model.OAuthUserModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.oauth.model.OAuthUserModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.oauth.model.OAuthUser>