@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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DLFileRank>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DLFileRank>
public Object clone()
BaseModel
clone
in interface DLFileRankModel
clone
in interface BaseModel<DLFileRank>
clone
in class Object
public int compareTo(DLFileRank dlFileRank)
compareTo
in interface DLFileRankModel
compareTo
in interface Comparable<DLFileRank>
public boolean getActive()
getActive
in interface DLFileRankModel
public long getCompanyId()
getCompanyId
in interface DLFileRankModel
getCompanyId
in interface ShardedModel
public Date getCreateDate()
getCreateDate
in interface DLFileRankModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface DLFileRankModel
getExpandoBridge
in interface BaseModel<DLFileRank>
getExpandoBridge
in interface ClassedModel
public long getFileEntryId()
getFileEntryId
in interface DLFileRankModel
public long getFileRankId()
getFileRankId
in interface DLFileRankModel
public long getGroupId()
getGroupId
in interface DLFileRankModel
public long getPrimaryKey()
getPrimaryKey
in interface DLFileRankModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface DLFileRankModel
getPrimaryKeyObj
in interface BaseModel<DLFileRank>
getPrimaryKeyObj
in interface ClassedModel
public long getUserId()
getUserId
in interface DLFileRankModel
public String getUserUuid()
getUserUuid
in interface DLFileRankModel
public int hashCode()
hashCode
in interface DLFileRankModel
hashCode
in class Object
public boolean isActive()
true
if this document library file rank is active.isActive
in interface DLFileRankModel
true
if this document library file rank is active; false
otherwisepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface DLFileRankModel
isCachedModel
in interface BaseModel<DLFileRank>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface DLFileRankModel
isEscapedModel
in interface BaseModel<DLFileRank>
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface DLFileRankModel
isNew
in interface BaseModel<DLFileRank>
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setActive(boolean active)
setActive
in interface DLFileRankModel
active
- the active of this document library file rankpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface DLFileRankModel
setCachedModel
in interface BaseModel<DLFileRank>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface DLFileRankModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this document library file rankpublic void setCreateDate(Date createDate)
setCreateDate
in interface DLFileRankModel
createDate
- the create date of this document library file rankpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface DLFileRankModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileRank>
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface DLFileRankModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileRank>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface DLFileRankModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileRank>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setFileEntryId(long fileEntryId)
setFileEntryId
in interface DLFileRankModel
fileEntryId
- the file entry ID of this document library file rankpublic void setFileRankId(long fileRankId)
setFileRankId
in interface DLFileRankModel
fileRankId
- the file rank ID of this document library file rankpublic void setGroupId(long groupId)
setGroupId
in interface DLFileRankModel
groupId
- the group ID of this document library file rankpublic void setNew(boolean n)
BaseModel
setNew
in interface DLFileRankModel
setNew
in interface BaseModel<DLFileRank>
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DLFileRankModel
primaryKey
- the primary key of this document library file rankpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface DLFileRankModel
setPrimaryKeyObj
in interface BaseModel<DLFileRank>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instancepublic void setUserId(long userId)
setUserId
in interface DLFileRankModel
userId
- the user ID of this document library file rankpublic void setUserUuid(String userUuid)
setUserUuid
in interface DLFileRankModel
userUuid
- the user uuid of this document library file rankpublic CacheModel<DLFileRank> toCacheModel()
BaseModel
toCacheModel
in interface DLFileRankModel
toCacheModel
in interface BaseModel<DLFileRank>
public DLFileRank toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface DLFileRankModel
toEscapedModel
in interface BaseModel<DLFileRank>
AutoEscapeBeanHandler
public String toString()
toString
in interface DLFileRankModel
toString
in class Object
public DLFileRank toUnescapedModel()
toUnescapedModel
in interface DLFileRankModel
toUnescapedModel
in interface BaseModel<DLFileRank>
public String toXmlString()
BaseModel
toXmlString
in interface DLFileRankModel
toXmlString
in interface BaseModel<DLFileRank>
public boolean equals(Object obj)
equals
in class Object
public DLFileRank getWrappedModel()
getWrappedModel
in interface ModelWrapper<DLFileRank>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<DLFileRank>