@ProviderType public class DLFileRankWrapper extends java.lang.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 |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLFileRank dlFileRank) |
boolean |
equals(java.lang.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.
|
java.util.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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this document library file rank.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this document library file rank.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this document library file rank.
|
DLFileRank |
getWrappedDLFileRank()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
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(java.util.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(java.util.Map<java.lang.String,java.lang.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(java.io.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(java.lang.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. |
java.lang.String |
toString() |
DLFileRank |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public DLFileRankWrapper(DLFileRank dlFileRank)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLFileRank>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<DLFileRank>public java.lang.Object clone()
BaseModelclone in interface BaseModel<DLFileRank>clone in interface DLFileRankModelclone in class java.lang.Objectpublic int compareTo(DLFileRank dlFileRank)
compareTo in interface DLFileRankModelcompareTo in interface java.lang.Comparable<DLFileRank>public boolean getActive()
getActive in interface DLFileRankModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface DLFileRankModelpublic java.util.Date getCreateDate()
getCreateDate in interface DLFileRankModelpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<DLFileRank>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFileRankModelpublic long getFileEntryId()
getFileEntryId in interface DLFileRankModelpublic long getFileRankId()
getFileRankId in interface DLFileRankModelpublic long getGroupId()
getGroupId in interface DLFileRankModelpublic long getPrimaryKey()
getPrimaryKey in interface DLFileRankModelpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<DLFileRank>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLFileRankModelpublic long getUserId()
getUserId in interface DLFileRankModelpublic java.lang.String getUserUuid()
getUserUuid in interface DLFileRankModelpublic int hashCode()
hashCode in interface DLFileRankModelhashCode in class java.lang.Objectpublic 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 BaseModel<DLFileRank>isCachedModel in interface DLFileRankModeltrue 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 BaseModel<DLFileRank>isEscapedModel in interface DLFileRankModeltrue 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 BaseModel<DLFileRank>isNew in interface DLFileRankModeltrue if this model instance does not yet exist in
the database; false otherwisepublic 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 BaseModel<DLFileRank>setCachedModel in interface DLFileRankModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface DLFileRankModelcompanyId - the company ID of this document library file rankpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface DLFileRankModelcreateDate - the create date of this document library file rankpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DLFileRank>setExpandoBridgeAttributes in interface DLFileRankModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DLFileRank>setExpandoBridgeAttributes in interface DLFileRankModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<DLFileRank>setExpandoBridgeAttributes in interface DLFileRankModelserviceContext - 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 BaseModel<DLFileRank>setNew in interface DLFileRankModeln - 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(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<DLFileRank>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLFileRankModelprimaryKeyObj - 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(java.lang.String userUuid)
setUserUuid in interface DLFileRankModeluserUuid - the user uuid of this document library file rankpublic CacheModel<DLFileRank> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<DLFileRank>toCacheModel in interface DLFileRankModelpublic DLFileRank toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<DLFileRank>toEscapedModel in interface DLFileRankModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface DLFileRankModeltoString in class java.lang.Objectpublic DLFileRank toUnescapedModel()
toUnescapedModel in interface BaseModel<DLFileRank>toUnescapedModel in interface DLFileRankModelpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<DLFileRank>toXmlString in interface DLFileRankModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Deprecated public DLFileRank getWrappedDLFileRank()
getWrappedModel()public 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>