@JSON(strict=true) @ProviderType public class OAuthUserModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<OAuthUser> implements 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 FormModifier 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(OAuthUser oAuthUser) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAccessSecret()
Returns the access secret of this o auth user.
|
java.lang.String |
getAccessToken()
Returns the access token of this o auth user.
|
java.util.Map<java.lang.String,java.util.function.Function<OAuthUser,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<OAuthUser,java.lang.Object>> |
getAttributeSetterBiConsumers() |
long |
getColumnBitmask() |
long |
getCompanyId()
Returns the company ID of this o auth user.
|
java.util.Date |
getCreateDate()
Returns the create date of this o auth user.
|
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()
Returns the modified date of this o auth user.
|
long |
getOAuthApplicationId()
Returns the o auth application ID of this o auth user.
|
long |
getOAuthUserId()
Returns the o auth user ID of this o auth user.
|
java.lang.String |
getOAuthUserUuid()
Returns the o auth user uuid of this o auth user.
|
java.lang.String |
getOriginalAccessToken() |
long |
getOriginalOAuthApplicationId() |
long |
getOriginalUserId() |
long |
getPrimaryKey()
Returns the primary key of this o auth user.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getUserId()
Returns the user ID of this o auth user.
|
java.lang.String |
getUserName()
Returns the user name of this o auth user.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this o auth user.
|
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setAccessSecret(java.lang.String accessSecret)
Sets the access secret of this o auth user.
|
void |
setAccessToken(java.lang.String accessToken)
Sets the access token of this o auth user.
|
void |
setCompanyId(long companyId)
Sets the company ID of this o auth user.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this o auth user.
|
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)
Sets the modified date of this o auth user.
|
void |
setOAuthApplicationId(long oAuthApplicationId)
Sets the o auth application ID of this o auth user.
|
void |
setOAuthUserId(long oAuthUserId)
Sets the o auth user ID of this o auth user.
|
void |
setOAuthUserUuid(java.lang.String oAuthUserUuid)
Sets the o auth user uuid of this o auth user.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this o auth user.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId)
Sets the user ID of this o auth user.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this o auth user.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this o auth user.
|
com.liferay.portal.kernel.model.CacheModel<OAuthUser> |
toCacheModel() |
OAuthUser |
toEscapedModel() |
static OAuthUser |
toModel(OAuthUserSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<OAuthUser> |
toModels(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, 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 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 OAuthUser toModel(OAuthUserSoap soapModel)
soapModel
- the soap model instance to convertpublic static java.util.List<OAuthUser> toModels(OAuthUserSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
OAuthUserModel
getPrimaryKey
in interface OAuthUserModel
public void setPrimaryKey(long primaryKey)
OAuthUserModel
setPrimaryKey
in interface OAuthUserModel
primaryKey
- the primary key of this o auth userpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<OAuthUser>
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<OAuthUser>
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()
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
public java.util.Map<java.lang.String,java.util.function.Function<OAuthUser,java.lang.Object>> getAttributeGetterFunctions()
public java.util.Map<java.lang.String,java.util.function.BiConsumer<OAuthUser,java.lang.Object>> getAttributeSetterBiConsumers()
@JSON public long getOAuthUserId()
OAuthUserModel
getOAuthUserId
in interface OAuthUserModel
public void setOAuthUserId(long oAuthUserId)
OAuthUserModel
setOAuthUserId
in interface OAuthUserModel
oAuthUserId
- the o auth user ID of this o auth userpublic java.lang.String getOAuthUserUuid()
OAuthUserModel
getOAuthUserUuid
in interface OAuthUserModel
public void setOAuthUserUuid(java.lang.String oAuthUserUuid)
OAuthUserModel
setOAuthUserUuid
in interface OAuthUserModel
oAuthUserUuid
- the o auth user uuid of this o auth user@JSON public long getCompanyId()
OAuthUserModel
getCompanyId
in interface OAuthUserModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public void setCompanyId(long companyId)
OAuthUserModel
setCompanyId
in interface OAuthUserModel
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 user@JSON public long getUserId()
OAuthUserModel
getUserId
in interface OAuthUserModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserId(long userId)
OAuthUserModel
setUserId
in interface OAuthUserModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this o auth userpublic java.lang.String getUserUuid()
OAuthUserModel
getUserUuid
in interface OAuthUserModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserUuid(java.lang.String userUuid)
OAuthUserModel
setUserUuid
in interface OAuthUserModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this o auth userpublic long getOriginalUserId()
@JSON public java.lang.String getUserName()
OAuthUserModel
getUserName
in interface OAuthUserModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserName(java.lang.String userName)
OAuthUserModel
setUserName
in interface OAuthUserModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this o auth user@JSON public java.util.Date getCreateDate()
OAuthUserModel
getCreateDate
in interface OAuthUserModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public void setCreateDate(java.util.Date createDate)
OAuthUserModel
setCreateDate
in interface OAuthUserModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this o auth user@JSON public java.util.Date getModifiedDate()
OAuthUserModel
getModifiedDate
in interface OAuthUserModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
OAuthUserModel
setModifiedDate
in interface OAuthUserModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this o auth user@JSON public long getOAuthApplicationId()
OAuthUserModel
getOAuthApplicationId
in interface OAuthUserModel
public void setOAuthApplicationId(long oAuthApplicationId)
OAuthUserModel
setOAuthApplicationId
in interface OAuthUserModel
oAuthApplicationId
- the o auth application ID of this o auth userpublic long getOriginalOAuthApplicationId()
@JSON public java.lang.String getAccessToken()
OAuthUserModel
getAccessToken
in interface OAuthUserModel
public void setAccessToken(java.lang.String accessToken)
OAuthUserModel
setAccessToken
in interface OAuthUserModel
accessToken
- the access token of this o auth userpublic java.lang.String getOriginalAccessToken()
@JSON public java.lang.String getAccessSecret()
OAuthUserModel
getAccessSecret
in interface OAuthUserModel
public void setAccessSecret(java.lang.String accessSecret)
OAuthUserModel
setAccessSecret
in interface OAuthUserModel
accessSecret
- the access secret of this o auth userpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
public OAuthUser toEscapedModel()
public java.lang.Object clone()
public int compareTo(OAuthUser oAuthUser)
compareTo
in interface java.lang.Comparable<OAuthUser>
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<OAuthUser>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<OAuthUser>
public void resetOriginalValues()
public com.liferay.portal.kernel.model.CacheModel<OAuthUser> toCacheModel()
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<OAuthUser>