|
Liferay 6.0.3 | |||||||||
| 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()
|
long |
getClassNameId()
|
long |
getClassPK()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
long |
getEntryId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Date |
getModifiedDate()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
double |
getScore()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
RatingsEntry |
getWrappedRatingsEntry()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setEntryId(long entryId)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setScore(double score)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
RatingsEntry |
toEscapedModel()
|
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()
getPrimaryKey in interface RatingsEntryModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface RatingsEntryModelpublic long getEntryId()
getEntryId in interface RatingsEntryModelpublic void setEntryId(long entryId)
setEntryId in interface RatingsEntryModelpublic long getCompanyId()
getCompanyId in interface RatingsEntryModelpublic void setCompanyId(long companyId)
setCompanyId in interface RatingsEntryModelpublic long getUserId()
getUserId in interface RatingsEntryModelpublic void setUserId(long userId)
setUserId in interface RatingsEntryModel
public String getUserUuid()
throws SystemException
getUserUuid in interface RatingsEntryModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface RatingsEntryModelpublic String getUserName()
getUserName in interface RatingsEntryModelpublic void setUserName(String userName)
setUserName in interface RatingsEntryModelpublic Date getCreateDate()
getCreateDate in interface RatingsEntryModelpublic void setCreateDate(Date createDate)
setCreateDate in interface RatingsEntryModelpublic Date getModifiedDate()
getModifiedDate in interface RatingsEntryModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface RatingsEntryModelpublic String getClassName()
getClassName in interface RatingsEntryModelpublic long getClassNameId()
getClassNameId in interface RatingsEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface RatingsEntryModelpublic long getClassPK()
getClassPK in interface RatingsEntryModelpublic void setClassPK(long classPK)
setClassPK in interface RatingsEntryModelpublic double getScore()
getScore in interface RatingsEntryModelpublic void setScore(double score)
setScore in interface RatingsEntryModelpublic RatingsEntry toEscapedModel()
toEscapedModel in interface RatingsEntryModelpublic 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 has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped 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 has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||