|
Liferay 6.1.2-ce-ga3 | |||||||||
| 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)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this ratings entry. |
long |
getClassNameId()
Returns the class name ID of this ratings entry. |
long |
getClassPK()
Returns the class p k of this ratings entry. |
long |
getCompanyId()
Returns the company ID of this ratings entry. |
Date |
getCreateDate()
Returns the create date of this ratings entry. |
long |
getEntryId()
Returns the entry ID of this ratings entry. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this ratings entry. |
long |
getPrimaryKey()
Returns the primary key of this ratings entry. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
double |
getScore()
Returns the score of this ratings entry. |
long |
getUserId()
Returns the user ID of this ratings entry. |
String |
getUserName()
Returns the user name of this ratings entry. |
String |
getUserUuid()
Returns the user uuid of this ratings entry. |
RatingsEntry |
getWrappedModel()
|
RatingsEntry |
getWrappedRatingsEntry()
Deprecated. Renamed to 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 |
setClassName(String className)
|
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 |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
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 primaryKey)
Sets the primary key of this ratings entry. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<RatingsEntry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
RatingsEntry |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
RatingsEntry |
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 RatingsEntryWrapper(RatingsEntry ratingsEntry)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<RatingsEntry>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<RatingsEntry>public long getPrimaryKey()
getPrimaryKey in interface RatingsEntryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RatingsEntryModelprimaryKey - the primary key of this ratings entrypublic long getEntryId()
getEntryId in interface RatingsEntryModelpublic void setEntryId(long entryId)
setEntryId in interface RatingsEntryModelentryId - the entry ID of this ratings entrypublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface RatingsEntryModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface RatingsEntryModelcompanyId - the company ID of this ratings entrypublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface RatingsEntryModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface RatingsEntryModeluserId - the user ID of this ratings entry
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface RatingsEntryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface RatingsEntryModeluserUuid - the user uuid of this ratings entrypublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface RatingsEntryModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface RatingsEntryModeluserName - the user name of this ratings entrypublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface RatingsEntryModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface RatingsEntryModelcreateDate - the create date of this ratings entrypublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface RatingsEntryModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface RatingsEntryModelmodifiedDate - the modified date of this ratings entrypublic String getClassName()
getClassName in interface AttachedModelgetClassName in interface RatingsEntryModelpublic void setClassName(String className)
setClassName in interface RatingsEntryModelpublic long getClassNameId()
getClassNameId in interface AttachedModelgetClassNameId in interface RatingsEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface AttachedModelsetClassNameId in interface RatingsEntryModelclassNameId - the class name ID of this ratings entrypublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface RatingsEntryModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface RatingsEntryModelclassPK - the class p k of this ratings entrypublic double getScore()
getScore in interface RatingsEntryModelpublic void setScore(double score)
setScore in interface RatingsEntryModelscore - the score of this ratings entrypublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
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()
BaseModeltrue if this model instance was retrieved from the
entity cache.
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()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<RatingsEntry>isEscapedModel in interface RatingsEntryModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<RatingsEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RatingsEntryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<RatingsEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RatingsEntryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<RatingsEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RatingsEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<RatingsEntry>setExpandoBridgeAttributes in interface RatingsEntryModelserviceContext - the service contextServiceContext.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 CacheModel<RatingsEntry> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<RatingsEntry>toCacheModel in interface RatingsEntryModelpublic RatingsEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<RatingsEntry>toEscapedModel in interface RatingsEntryModelAutoEscapeBeanHandlerpublic RatingsEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<RatingsEntry>toUnescapedModel in interface RatingsEntryModelpublic String toString()
toString in interface RatingsEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<RatingsEntry>toXmlString in interface RatingsEntryModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(Object obj)
equals in class Objectpublic RatingsEntry getWrappedRatingsEntry()
getWrappedModel()
public RatingsEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<RatingsEntry>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<RatingsEntry>
|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||