@ProviderType public interface WeDeployAuthTokenModel extends AuditedModel, BaseModel<WeDeployAuthToken>, ShardedModel
This interface and its corresponding implementation com.liferay.portal.security.wedeploy.auth.model.impl.WeDeployAuthTokenModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.security.wedeploy.auth.model.impl.WeDeployAuthTokenImpl
.
WeDeployAuthToken
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(WeDeployAuthToken weDeployAuthToken) |
java.lang.String |
getClientId()
Returns the client ID of this we deploy auth token.
|
long |
getCompanyId()
Returns the company ID of this we deploy auth token.
|
java.util.Date |
getCreateDate()
Returns the create date of this we deploy auth token.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this we deploy auth token.
|
long |
getPrimaryKey()
Returns the primary key of this we deploy auth token.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
java.lang.String |
getToken()
Returns the token of this we deploy auth token.
|
int |
getType()
Returns the type of this we deploy auth token.
|
long |
getUserId()
Returns the user ID of this we deploy auth token.
|
java.lang.String |
getUserName()
Returns the user name of this we deploy auth token.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this we deploy auth token.
|
long |
getWeDeployAuthTokenId()
Returns the we deploy auth token ID of this we deploy auth token.
|
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClientId(java.lang.String clientId)
Sets the client ID of this we deploy auth token.
|
void |
setCompanyId(long companyId)
Sets the company ID of this we deploy auth token.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this we deploy auth token.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this we deploy auth token.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this we deploy auth token.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setToken(java.lang.String token)
Sets the token of this we deploy auth token.
|
void |
setType(int type)
Sets the type of this we deploy auth token.
|
void |
setUserId(long userId)
Sets the user ID of this we deploy auth token.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this we deploy auth token.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this we deploy auth token.
|
void |
setWeDeployAuthTokenId(long weDeployAuthTokenId)
Sets the we deploy auth token ID of this we deploy auth token.
|
CacheModel<WeDeployAuthToken> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
WeDeployAuthToken |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
java.lang.String |
toString() |
WeDeployAuthToken |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this we deploy auth tokenlong getWeDeployAuthTokenId()
void setWeDeployAuthTokenId(long weDeployAuthTokenId)
weDeployAuthTokenId
- the we deploy auth token ID of this we deploy auth tokenlong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this we deploy auth tokenlong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this we deploy auth tokenjava.lang.String getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this we deploy auth token@AutoEscape java.lang.String getUserName()
getUserName
in interface AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface AuditedModel
userName
- the user name of this we deploy auth tokenjava.util.Date getCreateDate()
getCreateDate
in interface AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AuditedModel
createDate
- the create date of this we deploy auth tokenjava.util.Date getModifiedDate()
getModifiedDate
in interface AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AuditedModel
modifiedDate
- the modified date of this we deploy auth token@AutoEscape java.lang.String getClientId()
void setClientId(java.lang.String clientId)
clientId
- the client ID of this we deploy auth token@AutoEscape java.lang.String getToken()
void setToken(java.lang.String token)
token
- the token of this we deploy auth tokenint getType()
void setType(int type)
type
- the type of this we deploy auth tokenboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<WeDeployAuthToken>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<WeDeployAuthToken>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<WeDeployAuthToken>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<WeDeployAuthToken>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<WeDeployAuthToken>
true
if this model instance is escaped;
false
otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WeDeployAuthToken>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<WeDeployAuthToken>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WeDeployAuthToken>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<WeDeployAuthToken>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<WeDeployAuthToken>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WeDeployAuthToken>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
java.lang.Object clone()
BaseModel
clone
in interface BaseModel<WeDeployAuthToken>
int compareTo(WeDeployAuthToken weDeployAuthToken)
compareTo
in interface java.lang.Comparable<WeDeployAuthToken>
int hashCode()
hashCode
in class java.lang.Object
CacheModel<WeDeployAuthToken> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<WeDeployAuthToken>
WeDeployAuthToken toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<WeDeployAuthToken>
AutoEscapeBeanHandler
WeDeployAuthToken toUnescapedModel()
toUnescapedModel
in interface BaseModel<WeDeployAuthToken>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WeDeployAuthToken>