@ProviderType public class DLFileRankWrapper extends Object implements DLFileRank, ModelWrapper<DLFileRank>
This class is a wrapper for DLFileRank.
DLFileRank,
Serialized FormFILE_RANK_ID_ACCESSOR| Constructor and Description |
|---|
DLFileRankWrapper(DLFileRank dlFileRank) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLFileRank dlFileRank) |
boolean |
equals(Object obj) |
boolean |
getActive()
Returns the active of this document library file rank.
|
long |
getCompanyId()
Returns the company ID of this document library file rank.
|
Date |
getCreateDate()
Returns the create date of this document library file rank.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getFileEntryId()
Returns the file entry ID of this document library file rank.
|
long |
getFileRankId()
Returns the file rank ID of this document library file rank.
|
long |
getGroupId()
Returns the group ID of this document library file rank.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this document library file rank.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this document library file rank.
|
String |
getUserUuid()
Returns the user uuid of this document library file rank.
|
DLFileRank |
getWrappedModel() |
int |
hashCode() |
boolean |
isActive()
Returns
true if this document library file rank is active. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setActive(boolean active)
Sets whether this document library file rank is active.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Sets the company ID of this document library file rank.
|
void |
setCreateDate(Date createDate)
Sets the create date of this document library file rank.
|
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 |
setFileEntryId(long fileEntryId)
Sets the file entry ID of this document library file rank.
|
void |
setFileRankId(long fileRankId)
Sets the file rank ID of this document library file rank.
|
void |
setGroupId(long groupId)
Sets the group ID of this document library file rank.
|
void |
setModelAttributes(Map<String,Object> attributes) |
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 document library file rank.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserId(long userId)
Sets the user ID of this document library file rank.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this document library file rank.
|
CacheModel<DLFileRank> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
DLFileRank |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
DLFileRank |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public DLFileRankWrapper(DLFileRank dlFileRank)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLFileRank>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DLFileRank>public DLFileRank toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface DLFileRankModeltoEscapedModel in interface BaseModel<DLFileRank>AutoEscapeBeanHandlerpublic DLFileRank toUnescapedModel()
toUnescapedModel in interface DLFileRankModeltoUnescapedModel in interface BaseModel<DLFileRank>public boolean getActive()
getActive in interface DLFileRankModelpublic boolean isActive()
true if this document library file rank is active.isActive in interface DLFileRankModeltrue if this document library file rank is active; false otherwisepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface DLFileRankModelisCachedModel in interface BaseModel<DLFileRank>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface DLFileRankModelisEscapedModel in interface BaseModel<DLFileRank>true if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface DLFileRankModelisNew in interface BaseModel<DLFileRank>true if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface DLFileRankModelgetExpandoBridge in interface BaseModel<DLFileRank>getExpandoBridge in interface ClassedModelpublic CacheModel<DLFileRank> toCacheModel()
BaseModeltoCacheModel in interface DLFileRankModeltoCacheModel in interface BaseModel<DLFileRank>public int compareTo(DLFileRank dlFileRank)
compareTo in interface DLFileRankModelcompareTo in interface Comparable<DLFileRank>public int hashCode()
hashCode in interface DLFileRankModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface DLFileRankModelgetPrimaryKeyObj in interface BaseModel<DLFileRank>getPrimaryKeyObj in interface ClassedModelpublic Object clone()
BaseModelclone in interface DLFileRankModelclone in interface BaseModel<DLFileRank>clone in class Objectpublic String getUserUuid()
getUserUuid in interface DLFileRankModelpublic String toString()
toString in interface DLFileRankModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface DLFileRankModeltoXmlString in interface BaseModel<DLFileRank>public Date getCreateDate()
getCreateDate in interface DLFileRankModelpublic long getCompanyId()
getCompanyId in interface DLFileRankModelgetCompanyId in interface ShardedModelpublic long getFileEntryId()
getFileEntryId in interface DLFileRankModelpublic long getFileRankId()
getFileRankId in interface DLFileRankModelpublic long getGroupId()
getGroupId in interface DLFileRankModelpublic long getPrimaryKey()
getPrimaryKey in interface DLFileRankModelpublic long getUserId()
getUserId in interface DLFileRankModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setActive(boolean active)
setActive in interface DLFileRankModelactive - the active of this document library file rankpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface DLFileRankModelsetCachedModel in interface BaseModel<DLFileRank>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface DLFileRankModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this document library file rankpublic void setCreateDate(Date createDate)
setCreateDate in interface DLFileRankModelcreateDate - the create date of this document library file rankpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface DLFileRankModelsetExpandoBridgeAttributes in interface BaseModel<DLFileRank>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface DLFileRankModelsetExpandoBridgeAttributes in interface BaseModel<DLFileRank>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface DLFileRankModelsetExpandoBridgeAttributes in interface BaseModel<DLFileRank>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setFileEntryId(long fileEntryId)
setFileEntryId in interface DLFileRankModelfileEntryId - the file entry ID of this document library file rankpublic void setFileRankId(long fileRankId)
setFileRankId in interface DLFileRankModelfileRankId - the file rank ID of this document library file rankpublic void setGroupId(long groupId)
setGroupId in interface DLFileRankModelgroupId - the group ID of this document library file rankpublic void setNew(boolean n)
BaseModelsetNew in interface DLFileRankModelsetNew in interface BaseModel<DLFileRank>n - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFileRankModelprimaryKey - the primary key of this document library file rankpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface DLFileRankModelsetPrimaryKeyObj in interface BaseModel<DLFileRank>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setUserId(long userId)
setUserId in interface DLFileRankModeluserId - the user ID of this document library file rankpublic void setUserUuid(String userUuid)
setUserUuid in interface DLFileRankModeluserUuid - the user uuid of this document library file rankpublic DLFileRank getWrappedModel()
getWrappedModel in interface ModelWrapper<DLFileRank>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<DLFileRank>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<DLFileRank>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<DLFileRank>