|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.ratings.model.RatingsEntryWrapper
public class RatingsEntryWrapper
This class is a wrapper for RatingsEntry.
RatingsEntry,
Serialized Form| Constructor Summary | |
|---|---|
RatingsEntryWrapper(RatingsEntry ratingsEntry)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(RatingsEntry ratingsEntry)
|
String |
getClassName()
Gets the class name of the model instance this ratings entry is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this ratings entry. |
long |
getClassPK()
Gets the class p k of this ratings entry. |
long |
getCompanyId()
Gets the company id of this ratings entry. |
Date |
getCreateDate()
Gets the create date of this ratings entry. |
long |
getEntryId()
Gets the entry id of this ratings entry. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Date |
getModifiedDate()
Gets the modified date of this ratings entry. |
long |
getPrimaryKey()
Gets the primary key of this ratings entry. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
double |
getScore()
Gets the score of this ratings entry. |
long |
getUserId()
Gets the user id of this ratings entry. |
String |
getUserName()
Gets the user name of this ratings entry. |
String |
getUserUuid()
Gets the user uuid of this ratings entry. |
RatingsEntry |
getWrappedRatingsEntry()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassNameId(long classNameId)
Sets the class name id of this ratings entry. |
void |
setClassPK(long classPK)
Sets the class p k of this ratings entry. |
void |
setCompanyId(long companyId)
Sets the company id of this ratings entry. |
void |
setCreateDate(Date createDate)
Sets the create date of this ratings entry. |
void |
setEntryId(long entryId)
Sets the entry id of this ratings entry. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this ratings entry. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
Sets the primary key of this ratings entry |
void |
setScore(double score)
Sets the score of this ratings entry. |
void |
setUserId(long userId)
Sets the user id of this ratings entry. |
void |
setUserName(String userName)
Sets the user name of this ratings entry. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this ratings entry. |
RatingsEntry |
toEscapedModel()
Gets a copy of this ratings entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RatingsEntryWrapper(RatingsEntry ratingsEntry)
| Method Detail |
|---|
public long getPrimaryKey()
RatingsEntryModel
getPrimaryKey in interface RatingsEntryModelpublic void setPrimaryKey(long pk)
RatingsEntryModel
setPrimaryKey in interface RatingsEntryModelpk - the primary key of this ratings entrypublic long getEntryId()
RatingsEntryModel
getEntryId in interface RatingsEntryModelpublic void setEntryId(long entryId)
RatingsEntryModel
setEntryId in interface RatingsEntryModelentryId - the entry id of this ratings entrypublic long getCompanyId()
RatingsEntryModel
getCompanyId in interface RatingsEntryModelpublic void setCompanyId(long companyId)
RatingsEntryModel
setCompanyId in interface RatingsEntryModelcompanyId - the company id of this ratings entrypublic long getUserId()
RatingsEntryModel
getUserId in interface RatingsEntryModelpublic void setUserId(long userId)
RatingsEntryModel
setUserId in interface RatingsEntryModeluserId - the user id of this ratings entry
public String getUserUuid()
throws SystemException
RatingsEntryModel
getUserUuid in interface RatingsEntryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
RatingsEntryModel
setUserUuid in interface RatingsEntryModeluserUuid - the user uuid of this ratings entrypublic String getUserName()
RatingsEntryModel
getUserName in interface RatingsEntryModelpublic void setUserName(String userName)
RatingsEntryModel
setUserName in interface RatingsEntryModeluserName - the user name of this ratings entrypublic Date getCreateDate()
RatingsEntryModel
getCreateDate in interface RatingsEntryModelpublic void setCreateDate(Date createDate)
RatingsEntryModel
setCreateDate in interface RatingsEntryModelcreateDate - the create date of this ratings entrypublic Date getModifiedDate()
RatingsEntryModel
getModifiedDate in interface RatingsEntryModelpublic void setModifiedDate(Date modifiedDate)
RatingsEntryModel
setModifiedDate in interface RatingsEntryModelmodifiedDate - the modified date of this ratings entrypublic String getClassName()
RatingsEntryModel
getClassName in interface RatingsEntryModelpublic long getClassNameId()
RatingsEntryModel
getClassNameId in interface RatingsEntryModelpublic void setClassNameId(long classNameId)
RatingsEntryModel
setClassNameId in interface RatingsEntryModelclassNameId - the class name id of this ratings entrypublic long getClassPK()
RatingsEntryModel
getClassPK in interface RatingsEntryModelpublic void setClassPK(long classPK)
RatingsEntryModel
setClassPK in interface RatingsEntryModelclassPK - the class p k of this ratings entrypublic double getScore()
RatingsEntryModel
getScore in interface RatingsEntryModelpublic void setScore(double score)
RatingsEntryModel
setScore in interface RatingsEntryModelscore - the score of this ratings entrypublic RatingsEntry toEscapedModel()
RatingsEntryModelAutoEscapeBeanHandler.
toEscapedModel in interface RatingsEntryModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<RatingsEntry>isNew in interface RatingsEntryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<RatingsEntry>setNew in interface RatingsEntryModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<RatingsEntry>isCachedModel in interface RatingsEntryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<RatingsEntry>setCachedModel in interface RatingsEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<RatingsEntry>isEscapedModel in interface RatingsEntryModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<RatingsEntry>setEscapedModel in interface RatingsEntryModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<RatingsEntry>getPrimaryKeyObj in interface RatingsEntryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<RatingsEntry>getExpandoBridge in interface RatingsEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<RatingsEntry>setExpandoBridgeAttributes in interface RatingsEntryModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<RatingsEntry>clone in interface RatingsEntryModelclone in class Objectpublic int compareTo(RatingsEntry ratingsEntry)
compareTo in interface RatingsEntryModelcompareTo in interface Comparable<RatingsEntry>public int hashCode()
hashCode in interface RatingsEntryModelhashCode in class Objectpublic String toString()
toString in interface RatingsEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<RatingsEntry>toXmlString in interface RatingsEntryModelpublic RatingsEntry getWrappedRatingsEntry()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||