|
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.portal.model.impl.BaseModelImpl<RatingsEntry> com.liferay.portlet.ratings.model.impl.RatingsEntryModelImpl
@JSON(strict=true) 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
.
RatingsEntryImpl
,
RatingsEntry
,
RatingsEntryModel
,
Serialized FormField Summary | |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
SCORE_COLUMN_BITMASK
|
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
|
static long |
USERID_COLUMN_BITMASK
|
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()
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 |
getColumnBitmask()
|
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 |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
double |
getOriginalScore()
|
long |
getOriginalUserId()
|
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. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 . |
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()
|
RatingsEntry |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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 boolean COLUMN_BITMASK_ENABLED
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long SCORE_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
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 primaryKey)
RatingsEntryModel
setPrimaryKey
in interface RatingsEntryModel
primaryKey
- the primary key of this ratings entrypublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<RatingsEntry>
getModelAttributes
in class BaseModelImpl<RatingsEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<RatingsEntry>
setModelAttributes
in class BaseModelImpl<RatingsEntry>
@JSON 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 entry@JSON public long getCompanyId()
RatingsEntryModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface RatingsEntryModel
public void setCompanyId(long companyId)
RatingsEntryModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface RatingsEntryModel
companyId
- the company ID of this ratings entry@JSON public long getUserId()
RatingsEntryModel
getUserId
in interface AuditedModel
getUserId
in interface RatingsEntryModel
public void setUserId(long userId)
RatingsEntryModel
setUserId
in interface AuditedModel
setUserId
in interface RatingsEntryModel
userId
- the user ID of this ratings entrypublic String getUserUuid() throws SystemException
RatingsEntryModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface RatingsEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
RatingsEntryModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface RatingsEntryModel
userUuid
- the user uuid of this ratings entrypublic long getOriginalUserId()
@JSON public String getUserName()
RatingsEntryModel
getUserName
in interface AuditedModel
getUserName
in interface RatingsEntryModel
public void setUserName(String userName)
RatingsEntryModel
setUserName
in interface AuditedModel
setUserName
in interface RatingsEntryModel
userName
- the user name of this ratings entry@JSON public Date getCreateDate()
RatingsEntryModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface RatingsEntryModel
public void setCreateDate(Date createDate)
RatingsEntryModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface RatingsEntryModel
createDate
- the create date of this ratings entry@JSON public Date getModifiedDate()
RatingsEntryModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface RatingsEntryModel
public void setModifiedDate(Date modifiedDate)
RatingsEntryModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface RatingsEntryModel
modifiedDate
- the modified date of this ratings entrypublic String getClassName()
RatingsEntryModel
getClassName
in interface AttachedModel
getClassName
in interface RatingsEntryModel
public void setClassName(String className)
setClassName
in interface RatingsEntryModel
@JSON public long getClassNameId()
RatingsEntryModel
getClassNameId
in interface AttachedModel
getClassNameId
in interface RatingsEntryModel
public void setClassNameId(long classNameId)
RatingsEntryModel
setClassNameId
in interface AttachedModel
setClassNameId
in interface RatingsEntryModel
classNameId
- the class name ID of this ratings entrypublic long getOriginalClassNameId()
@JSON public long getClassPK()
RatingsEntryModel
getClassPK
in interface AttachedModel
getClassPK
in interface RatingsEntryModel
public void setClassPK(long classPK)
RatingsEntryModel
setClassPK
in interface AttachedModel
setClassPK
in interface RatingsEntryModel
classPK
- the class p k of this ratings entrypublic long getOriginalClassPK()
@JSON 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 double getOriginalScore()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RatingsEntry>
getExpandoBridge
in interface ClassedModel
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 contextServiceContext.getExpandoBridgeAttributes(
)
public RatingsEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<RatingsEntry>
toEscapedModel
in interface RatingsEntryModel
toEscapedModel
in class BaseModelImpl<RatingsEntry>
AutoEscapeBeanHandler
public RatingsEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<RatingsEntry>
toUnescapedModel
in interface RatingsEntryModel
toUnescapedModel
in class BaseModelImpl<RatingsEntry>
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 void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<RatingsEntry>
resetOriginalValues
in class BaseModelImpl<RatingsEntry>
public CacheModel<RatingsEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<RatingsEntry>
toCacheModel
in interface RatingsEntryModel
toCacheModel
in class BaseModelImpl<RatingsEntry>
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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |