|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.model.DLFileRankWrapper
@ProviderType public class DLFileRankWrapper
This class is a wrapper for DLFileRank.
DLFileRank,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.documentlibrary.model.DLFileRank |
|---|
FILE_RANK_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
DLFileRankWrapper(DLFileRank dlFileRank)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DLFileRankWrapper(DLFileRank dlFileRank)
| Method Detail |
|---|
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 Object clone()
BaseModel
clone in interface BaseModel<DLFileRank>clone in interface DLFileRankModelclone in class Objectpublic int compareTo(DLFileRank dlFileRank)
compareTo in interface DLFileRankModelcompareTo in interface Comparable<DLFileRank>public boolean getActive()
getActive in interface DLFileRankModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface DLFileRankModelpublic Date getCreateDate()
getCreateDate in interface DLFileRankModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLFileRank>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLFileRankModelpublic long getUserId()
getUserId in interface DLFileRankModelpublic String getUserUuid()
getUserUuid in interface DLFileRankModelpublic int hashCode()
hashCode in interface DLFileRankModelhashCode in class 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()
PersistedModel
persist in interface PersistedModelpublic void setActive(boolean active)
setActive in interface DLFileRankModelactive - the active of this document library file rankpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel 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(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)
BaseModel
setExpandoBridgeAttributes 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)
BaseModel
setNew 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(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj 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(String userUuid)
setUserUuid in interface DLFileRankModeluserUuid - the user uuid of this document library file rankpublic CacheModel<DLFileRank> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLFileRank>toCacheModel in interface DLFileRankModelpublic DLFileRank toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLFileRank>toEscapedModel in interface DLFileRankModelAutoEscapeBeanHandlerpublic String toString()
toString in interface DLFileRankModeltoString in class Objectpublic DLFileRank toUnescapedModel()
toUnescapedModel in interface BaseModel<DLFileRank>toUnescapedModel in interface DLFileRankModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFileRank>toXmlString in interface DLFileRankModelpublic boolean equals(Object obj)
equals in class Objectpublic 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()
BaseModel
resetOriginalValues in interface BaseModel<DLFileRank>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||