|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.ratings.model.RatingsEntryWrapper
@ProviderType public class RatingsEntryWrapper
This class is a wrapper for RatingsEntry.
RatingsEntry,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.ratings.model.RatingsEntry |
|---|
ENTRY_ID_ACCESSOR |
| 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. |
StagedModelType |
getStagedModelType()
|
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. |
String |
getUuid()
Returns the uuid of this ratings entry. |
RatingsEntry |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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. |
void |
setUuid(String uuid)
Sets the 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 Object clone()
BaseModel
clone in interface BaseModel<RatingsEntry>clone in interface StagedModelclone in interface RatingsEntryModelclone in class Objectpublic int compareTo(RatingsEntry ratingsEntry)
compareTo in interface RatingsEntryModelcompareTo in interface Comparable<RatingsEntry>public String getClassName()
getClassName in interface TypedModelgetClassName in interface RatingsEntryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface RatingsEntryModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface RatingsEntryModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface RatingsEntryModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface RatingsEntryModelpublic long getEntryId()
getEntryId in interface RatingsEntryModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<RatingsEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RatingsEntryModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface RatingsEntryModelpublic long getPrimaryKey()
getPrimaryKey in interface RatingsEntryModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<RatingsEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RatingsEntryModelpublic double getScore()
getScore in interface RatingsEntryModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface RatingsEntryModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface RatingsEntryModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface RatingsEntryModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface RatingsEntryModelpublic int hashCode()
hashCode in interface RatingsEntryModelhashCode in class Objectpublic 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 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 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 persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<RatingsEntry>setCachedModel in interface RatingsEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface RatingsEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface RatingsEntryModelclassNameId - the class name ID of this ratings entrypublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface RatingsEntryModelclassPK - the class p k of this ratings entrypublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface RatingsEntryModelcompanyId - the company ID of this ratings entrypublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface RatingsEntryModelcreateDate - the create date of this ratings entrypublic void setEntryId(long entryId)
setEntryId in interface RatingsEntryModelentryId - the entry ID of this ratings entrypublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<RatingsEntry>setExpandoBridgeAttributes in interface RatingsEntryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<RatingsEntry>setExpandoBridgeAttributes in interface RatingsEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<RatingsEntry>setExpandoBridgeAttributes in interface RatingsEntryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface RatingsEntryModelmodifiedDate - the modified date of this ratings entrypublic 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 void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RatingsEntryModelprimaryKey - the primary key of this ratings entrypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<RatingsEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RatingsEntryModelprimaryKeyObj - the primary key of this model instancepublic void setScore(double score)
setScore in interface RatingsEntryModelscore - the score of this ratings entrypublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface RatingsEntryModeluserId - the user ID of this ratings entrypublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface RatingsEntryModeluserName - the user name of this ratings entrypublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface RatingsEntryModeluserUuid - the user uuid of this ratings entrypublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface RatingsEntryModeluuid - the uuid of this ratings entrypublic 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 String toString()
toString in interface RatingsEntryModeltoString in class Objectpublic RatingsEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<RatingsEntry>toUnescapedModel in interface RatingsEntryModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<RatingsEntry>toXmlString in interface RatingsEntryModelpublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic RatingsEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<RatingsEntry>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<RatingsEntry>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<RatingsEntry>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<RatingsEntry>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||