|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 RatingsEntryModel
public void setPrimaryKey(long pk)
RatingsEntryModel
setPrimaryKey
in interface RatingsEntryModel
pk
- the primary key of this ratings entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RatingsEntry>
getPrimaryKeyObj
in interface RatingsEntryModel
public long getEntryId()
RatingsEntryModel
getEntryId
in interface RatingsEntryModel
public void setEntryId(long entryId)
RatingsEntryModel
setEntryId
in interface RatingsEntryModel
entryId
- the entry id of this ratings entrypublic long getCompanyId()
RatingsEntryModel
getCompanyId
in interface RatingsEntryModel
public void setCompanyId(long companyId)
RatingsEntryModel
setCompanyId
in interface RatingsEntryModel
companyId
- the company id of this ratings entrypublic long getUserId()
RatingsEntryModel
getUserId
in interface RatingsEntryModel
public void setUserId(long userId)
RatingsEntryModel
setUserId
in interface RatingsEntryModel
userId
- the user id of this ratings entrypublic String getUserUuid() throws SystemException
RatingsEntryModel
getUserUuid
in interface RatingsEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
RatingsEntryModel
setUserUuid
in interface RatingsEntryModel
userUuid
- the user uuid of this ratings entrypublic long getOriginalUserId()
public String getUserName()
RatingsEntryModel
getUserName
in interface RatingsEntryModel
public void setUserName(String userName)
RatingsEntryModel
setUserName
in interface RatingsEntryModel
userName
- the user name of this ratings entrypublic Date getCreateDate()
RatingsEntryModel
getCreateDate
in interface RatingsEntryModel
public void setCreateDate(Date createDate)
RatingsEntryModel
setCreateDate
in interface RatingsEntryModel
createDate
- the create date of this ratings entrypublic Date getModifiedDate()
RatingsEntryModel
getModifiedDate
in interface RatingsEntryModel
public void setModifiedDate(Date modifiedDate)
RatingsEntryModel
setModifiedDate
in interface RatingsEntryModel
modifiedDate
- the modified date of this ratings entrypublic String getClassName()
RatingsEntryModel
getClassName
in interface RatingsEntryModel
public long getClassNameId()
RatingsEntryModel
getClassNameId
in interface RatingsEntryModel
public void setClassNameId(long classNameId)
RatingsEntryModel
setClassNameId
in interface RatingsEntryModel
classNameId
- the class name id of this ratings entrypublic long getOriginalClassNameId()
public long getClassPK()
RatingsEntryModel
getClassPK
in interface RatingsEntryModel
public void setClassPK(long classPK)
RatingsEntryModel
setClassPK
in interface RatingsEntryModel
classPK
- the class p k of this ratings entrypublic long getOriginalClassPK()
public double getScore()
RatingsEntryModel
getScore
in interface RatingsEntryModel
public void setScore(double score)
RatingsEntryModel
setScore
in interface RatingsEntryModel
score
- the score of this ratings entrypublic RatingsEntry toEscapedModel()
RatingsEntryModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface RatingsEntryModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RatingsEntry>
getExpandoBridge
in interface RatingsEntryModel
getExpandoBridge
in class BaseModelImpl<RatingsEntry>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<RatingsEntry>
setExpandoBridgeAttributes
in interface RatingsEntryModel
setExpandoBridgeAttributes
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 RatingsEntryModel
clone
in class BaseModelImpl<RatingsEntry>
public int compareTo(RatingsEntry ratingsEntry)
compareTo
in interface RatingsEntryModel
compareTo
in interface Comparable<RatingsEntry>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface RatingsEntryModel
hashCode
in class Object
public String toString()
toString
in interface RatingsEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<RatingsEntry>
toXmlString
in interface RatingsEntryModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |