|
Liferay 6.0-ee | |||||||||
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 FormConstructor 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 entity 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()
getPrimaryKey
in interface RatingsEntryModel
public void setPrimaryKey(long pk)
setPrimaryKey
in interface RatingsEntryModel
pk
- the primary key of this ratings entrypublic long getEntryId()
getEntryId
in interface RatingsEntryModel
public void setEntryId(long entryId)
setEntryId
in interface RatingsEntryModel
entryId
- the entry id of this ratings entrypublic long getCompanyId()
getCompanyId
in interface RatingsEntryModel
public void setCompanyId(long companyId)
setCompanyId
in interface RatingsEntryModel
companyId
- the company id of this ratings entrypublic long getUserId()
getUserId
in interface RatingsEntryModel
public void setUserId(long userId)
setUserId
in interface RatingsEntryModel
userId
- the user id of this ratings entrypublic String getUserUuid() throws SystemException
getUserUuid
in interface RatingsEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface RatingsEntryModel
userUuid
- the user uuid of this ratings entrypublic String getUserName()
getUserName
in interface RatingsEntryModel
public void setUserName(String userName)
setUserName
in interface RatingsEntryModel
userName
- the user name of this ratings entrypublic Date getCreateDate()
getCreateDate
in interface RatingsEntryModel
public void setCreateDate(Date createDate)
setCreateDate
in interface RatingsEntryModel
createDate
- the create date of this ratings entrypublic Date getModifiedDate()
getModifiedDate
in interface RatingsEntryModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface RatingsEntryModel
modifiedDate
- the modified date of this ratings entrypublic String getClassName()
getClassName
in interface RatingsEntryModel
public long getClassNameId()
getClassNameId
in interface RatingsEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface RatingsEntryModel
classNameId
- the class name id of this ratings entrypublic long getClassPK()
getClassPK
in interface RatingsEntryModel
public void setClassPK(long classPK)
setClassPK
in interface RatingsEntryModel
classPK
- the class p k of this ratings entrypublic double getScore()
getScore
in interface RatingsEntryModel
public void setScore(double score)
setScore
in interface RatingsEntryModel
score
- the score of this ratings entrypublic boolean isNew()
BaseModel
isNew
in interface BaseModel<RatingsEntry>
isNew
in interface RatingsEntryModel
true
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 RatingsEntryModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<RatingsEntry>
isCachedModel
in interface RatingsEntryModel
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<RatingsEntry>
setCachedModel
in interface RatingsEntryModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<RatingsEntry>
isEscapedModel
in interface RatingsEntryModel
true
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 RatingsEntryModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RatingsEntry>
getPrimaryKeyObj
in interface RatingsEntryModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RatingsEntry>
getExpandoBridge
in interface RatingsEntryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<RatingsEntry>
setExpandoBridgeAttributes
in interface RatingsEntryModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<RatingsEntry>
clone
in interface RatingsEntryModel
clone
in class Object
public int compareTo(RatingsEntry ratingsEntry)
compareTo
in interface RatingsEntryModel
compareTo
in interface Comparable<RatingsEntry>
public int hashCode()
hashCode
in interface RatingsEntryModel
hashCode
in class Object
public RatingsEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<RatingsEntry>
toEscapedModel
in interface RatingsEntryModel
AutoEscapeBeanHandler
public String toString()
toString
in interface RatingsEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<RatingsEntry>
toXmlString
in interface RatingsEntryModel
public RatingsEntry getWrappedRatingsEntry()
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |