|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
|
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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 RatingsEntryModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface RatingsEntryModel
primaryKey
- 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 AuditedModel
getCompanyId
in interface RatingsEntryModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface RatingsEntryModel
companyId
- the company ID of this ratings entrypublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface RatingsEntryModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface RatingsEntryModel
userId
- the user ID of this ratings entrypublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface RatingsEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface RatingsEntryModel
userUuid
- the user uuid of this ratings entrypublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface RatingsEntryModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface RatingsEntryModel
userName
- the user name of this ratings entrypublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface RatingsEntryModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface RatingsEntryModel
createDate
- the create date of this ratings entrypublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface RatingsEntryModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface RatingsEntryModel
modifiedDate
- the modified date of this ratings entrypublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface RatingsEntryModel
public void setClassName(String className)
setClassName
in interface RatingsEntryModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface RatingsEntryModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface RatingsEntryModel
classNameId
- the class name ID of this ratings entrypublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface RatingsEntryModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
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
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<RatingsEntry>
isEscapedModel
in interface RatingsEntryModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RatingsEntry>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface RatingsEntryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<RatingsEntry>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface RatingsEntryModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RatingsEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface RatingsEntryModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<RatingsEntry>
setExpandoBridgeAttributes
in interface RatingsEntryModel
serviceContext
- the service contextServiceContext.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 CacheModel<RatingsEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<RatingsEntry>
toCacheModel
in interface RatingsEntryModel
public RatingsEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<RatingsEntry>
toEscapedModel
in interface RatingsEntryModel
AutoEscapeBeanHandler
public RatingsEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<RatingsEntry>
toUnescapedModel
in interface RatingsEntryModel
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 void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public 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 |