|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<RatingsEntry>
com.liferay.portlet.ratings.model.impl.RatingsEntryModelImpl
public class RatingsEntryModelImpl
The base model implementation for the RatingsEntry service. Represents a row in the "RatingsEntry" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface RatingsEntryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RatingsEntryImpl.
Never modify or reference this class directly. All methods that expect a ratings entry model instance should use the RatingsEntry interface instead.
RatingsEntryImpl,
RatingsEntry,
RatingsEntryModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
RatingsEntryModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(RatingsEntry ratingsEntry)
|
boolean |
equals(Object obj)
|
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 |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalUserId()
|
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. |
int |
hashCode()
|
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 |
setModifiedDate(Date modifiedDate)
Sets the modified date of this ratings entry. |
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 ratings entry as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static RatingsEntry |
toModel(RatingsEntrySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<RatingsEntry> |
toModels(RatingsEntrySoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.ratings.model.RatingsEntryModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public RatingsEntryModelImpl()
| Method Detail |
|---|
public static RatingsEntry toModel(RatingsEntrySoap soapModel)
soapModel - the soap model instance to convert
public static List<RatingsEntry> toModels(RatingsEntrySoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
RatingsEntryModel
getPrimaryKey in interface RatingsEntryModelpublic void setPrimaryKey(long pk)
RatingsEntryModel
setPrimaryKey in interface RatingsEntryModelpk - the primary key of this ratings entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<RatingsEntry>getPrimaryKeyObj in interface RatingsEntryModelpublic long getEntryId()
RatingsEntryModel
getEntryId in interface RatingsEntryModelpublic void setEntryId(long entryId)
RatingsEntryModel
setEntryId in interface RatingsEntryModelentryId - the entry id of this ratings entrypublic long getCompanyId()
RatingsEntryModel
getCompanyId in interface RatingsEntryModelpublic void setCompanyId(long companyId)
RatingsEntryModel
setCompanyId in interface RatingsEntryModelcompanyId - the company id of this ratings entrypublic long getUserId()
RatingsEntryModel
getUserId in interface RatingsEntryModelpublic void setUserId(long userId)
RatingsEntryModel
setUserId in interface RatingsEntryModeluserId - the user id of this ratings entry
public String getUserUuid()
throws SystemException
RatingsEntryModel
getUserUuid in interface RatingsEntryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
RatingsEntryModel
setUserUuid in interface RatingsEntryModeluserUuid - the user uuid of this ratings entrypublic long getOriginalUserId()
public String getUserName()
RatingsEntryModel
getUserName in interface RatingsEntryModelpublic void setUserName(String userName)
RatingsEntryModel
setUserName in interface RatingsEntryModeluserName - the user name of this ratings entrypublic Date getCreateDate()
RatingsEntryModel
getCreateDate in interface RatingsEntryModelpublic void setCreateDate(Date createDate)
RatingsEntryModel
setCreateDate in interface RatingsEntryModelcreateDate - the create date of this ratings entrypublic Date getModifiedDate()
RatingsEntryModel
getModifiedDate in interface RatingsEntryModelpublic void setModifiedDate(Date modifiedDate)
RatingsEntryModel
setModifiedDate in interface RatingsEntryModelmodifiedDate - the modified date of this ratings entrypublic String getClassName()
RatingsEntryModel
getClassName in interface RatingsEntryModelpublic long getClassNameId()
RatingsEntryModel
getClassNameId in interface RatingsEntryModelpublic void setClassNameId(long classNameId)
RatingsEntryModel
setClassNameId in interface RatingsEntryModelclassNameId - the class name id of this ratings entrypublic long getOriginalClassNameId()
public long getClassPK()
RatingsEntryModel
getClassPK in interface RatingsEntryModelpublic void setClassPK(long classPK)
RatingsEntryModel
setClassPK in interface RatingsEntryModelclassPK - the class p k of this ratings entrypublic long getOriginalClassPK()
public double getScore()
RatingsEntryModel
getScore in interface RatingsEntryModelpublic void setScore(double score)
RatingsEntryModel
setScore in interface RatingsEntryModelscore - the score of this ratings entrypublic RatingsEntry toEscapedModel()
RatingsEntryModelAutoEscapeBeanHandler.
toEscapedModel in interface RatingsEntryModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<RatingsEntry>getExpandoBridge in interface RatingsEntryModelgetExpandoBridge in class BaseModelImpl<RatingsEntry>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<RatingsEntry>setExpandoBridgeAttributes in interface RatingsEntryModelsetExpandoBridgeAttributes in class BaseModelImpl<RatingsEntry>serviceContext - 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 BaseModelImpl<RatingsEntry>public int compareTo(RatingsEntry ratingsEntry)
compareTo in interface RatingsEntryModelcompareTo in interface Comparable<RatingsEntry>public boolean equals(Object obj)
equals in class Objectpublic 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 RatingsEntryModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||