public class OAuthUserWrapper extends BaseModelWrapper<OAuthUser> implements ModelWrapper<OAuthUser>, OAuthUser
This class is a wrapper for OAuthUser.
OAuthUser,
Serialized FormmodelO_AUTH_USER_ID_ACCESSOR| Constructor and Description |
|---|
OAuthUserWrapper(OAuthUser oAuthUser) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
long |
getCompanyId()
Returns the company ID of this o auth user.
|
java.util.Date |
getCreateDate()
Returns the create date of this o auth user.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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.
|
long |
getPrimaryKey()
Returns the primary key of this o auth user.
|
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.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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 |
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 |
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.
|
protected OAuthUserWrapper |
wrap(OAuthUser oAuthUser) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic OAuthUserWrapper(OAuthUser oAuthUser)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<OAuthUser>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<OAuthUser>public java.lang.String getAccessSecret()
getAccessSecret in interface OAuthUserModelpublic java.lang.String getAccessToken()
getAccessToken in interface OAuthUserModelpublic long getCompanyId()
getCompanyId in interface OAuthUserModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface OAuthUserModelgetCreateDate in interface AuditedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface OAuthUserModelgetModifiedDate in interface AuditedModelpublic long getOAuthApplicationId()
getOAuthApplicationId in interface OAuthUserModelpublic long getOAuthUserId()
getOAuthUserId in interface OAuthUserModelpublic java.lang.String getOAuthUserUuid()
getOAuthUserUuid in interface OAuthUserModelpublic long getPrimaryKey()
getPrimaryKey in interface OAuthUserModelpublic long getUserId()
getUserId in interface OAuthUserModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface OAuthUserModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface OAuthUserModelgetUserUuid in interface AuditedModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setAccessSecret(java.lang.String accessSecret)
setAccessSecret in interface OAuthUserModelaccessSecret - the access secret of this o auth userpublic void setAccessToken(java.lang.String accessToken)
setAccessToken in interface OAuthUserModelaccessToken - the access token of this o auth userpublic void setCompanyId(long companyId)
setCompanyId in interface OAuthUserModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this o auth userpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface OAuthUserModelsetCreateDate in interface AuditedModelcreateDate - the create date of this o auth userpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface OAuthUserModelsetModifiedDate in interface AuditedModelmodifiedDate - the modified date of this o auth userpublic void setOAuthApplicationId(long oAuthApplicationId)
setOAuthApplicationId in interface OAuthUserModeloAuthApplicationId - the o auth application ID of this o auth userpublic void setOAuthUserId(long oAuthUserId)
setOAuthUserId in interface OAuthUserModeloAuthUserId - the o auth user ID of this o auth userpublic void setOAuthUserUuid(java.lang.String oAuthUserUuid)
setOAuthUserUuid in interface OAuthUserModeloAuthUserUuid - the o auth user uuid of this o auth userpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface OAuthUserModelprimaryKey - the primary key of this o auth userpublic void setUserId(long userId)
setUserId in interface OAuthUserModelsetUserId in interface AuditedModeluserId - the user ID of this o auth userpublic void setUserName(java.lang.String userName)
setUserName in interface OAuthUserModelsetUserName in interface AuditedModeluserName - the user name of this o auth userpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface OAuthUserModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this o auth userprotected OAuthUserWrapper wrap(OAuthUser oAuthUser)
wrap in class BaseModelWrapper<OAuthUser>