|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.model.DLFileRankWrapper
public class DLFileRankWrapper
This class is a wrapper for DLFileRank
.
DLFileRank
,
Serialized FormConstructor Summary | |
---|---|
DLFileRankWrapper(DLFileRank dlFileRank)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileRank dlFileRank)
|
boolean |
equals(Object obj)
|
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 |
getWrappedDLFileRank()
Deprecated. Renamed to getWrappedModel() |
DLFileRank |
getWrappedModel()
|
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 |
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 |
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(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 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 long getPrimaryKey()
getPrimaryKey
in interface DLFileRankModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DLFileRankModel
primaryKey
- the primary key of this document library file rankpublic long getFileRankId()
getFileRankId
in interface DLFileRankModel
public void setFileRankId(long fileRankId)
setFileRankId
in interface DLFileRankModel
fileRankId
- the file rank ID of this document library file rankpublic long getGroupId()
getGroupId
in interface DLFileRankModel
public void setGroupId(long groupId)
setGroupId
in interface DLFileRankModel
groupId
- the group ID of this document library file rankpublic long getCompanyId()
getCompanyId
in interface DLFileRankModel
public void setCompanyId(long companyId)
setCompanyId
in interface DLFileRankModel
companyId
- the company ID of this document library file rankpublic long getUserId()
getUserId
in interface DLFileRankModel
public void setUserId(long userId)
setUserId
in interface DLFileRankModel
userId
- the user ID of this document library file rankpublic String getUserUuid() throws SystemException
getUserUuid
in interface DLFileRankModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface DLFileRankModel
userUuid
- the user uuid of this document library file rankpublic Date getCreateDate()
getCreateDate
in interface DLFileRankModel
public void setCreateDate(Date createDate)
setCreateDate
in interface DLFileRankModel
createDate
- the create date of this document library file rankpublic long getFileEntryId()
getFileEntryId
in interface DLFileRankModel
public void setFileEntryId(long fileEntryId)
setFileEntryId
in interface DLFileRankModel
fileEntryId
- the file entry ID of this document library file rankpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<DLFileRank>
isNew
in interface DLFileRankModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<DLFileRank>
setNew
in interface DLFileRankModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<DLFileRank>
isCachedModel
in interface DLFileRankModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<DLFileRank>
setCachedModel
in interface DLFileRankModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<DLFileRank>
isEscapedModel
in interface DLFileRankModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFileRank>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DLFileRankModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLFileRank>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DLFileRankModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFileRank>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DLFileRankModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileRank>
setExpandoBridgeAttributes
in interface DLFileRankModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DLFileRank>
clone
in interface DLFileRankModel
clone
in class Object
public int compareTo(DLFileRank dlFileRank)
compareTo
in interface DLFileRankModel
compareTo
in interface Comparable<DLFileRank>
public int hashCode()
hashCode
in interface DLFileRankModel
hashCode
in class Object
public CacheModel<DLFileRank> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DLFileRank>
toCacheModel
in interface DLFileRankModel
public DLFileRank toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLFileRank>
toEscapedModel
in interface DLFileRankModel
AutoEscapeBeanHandler
public DLFileRank toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLFileRank>
toUnescapedModel
in interface DLFileRankModel
public String toString()
toString
in interface DLFileRankModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFileRank>
toXmlString
in interface DLFileRankModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public DLFileRank getWrappedDLFileRank()
getWrappedModel()
public DLFileRank getWrappedModel()
getWrappedModel
in interface ModelWrapper<DLFileRank>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DLFileRank>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |