|
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.portal.model.impl.BaseModelImpl<RatingsEntry>
com.liferay.portlet.ratings.model.impl.RatingsEntryModelImpl
@JSON(strict=true) @ProviderType 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 Form| Field Summary | |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static long |
ENTRYID_COLUMN_BITMASK
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
SCORE_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
USERID_COLUMN_BITMASK
|
static long |
UUID_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()
|
long |
getOriginalCompanyId()
|
double |
getOriginalScore()
|
long |
getOriginalUserId()
|
String |
getOriginalUuid()
|
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. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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. |
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. |
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()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long SCORE_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long ENTRYID_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 RatingsEntryModelpublic void setPrimaryKey(long primaryKey)
RatingsEntryModel
setPrimaryKey in interface RatingsEntryModelprimaryKey - the primary key of this ratings entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<RatingsEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RatingsEntryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<RatingsEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RatingsEntryModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 String getUuid()
RatingsEntryModel
getUuid in interface StagedModelgetUuid in interface RatingsEntryModelpublic void setUuid(String uuid)
RatingsEntryModel
setUuid in interface StagedModelsetUuid in interface RatingsEntryModeluuid - the uuid of this ratings entrypublic String getOriginalUuid()
@JSON public long getEntryId()
RatingsEntryModel
getEntryId in interface RatingsEntryModelpublic void setEntryId(long entryId)
RatingsEntryModel
setEntryId in interface RatingsEntryModelentryId - the entry ID of this ratings entry@JSON public long getCompanyId()
RatingsEntryModel
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface RatingsEntryModelpublic void setCompanyId(long companyId)
RatingsEntryModel
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface RatingsEntryModelcompanyId - the company ID of this ratings entrypublic long getOriginalCompanyId()
@JSON public long getUserId()
RatingsEntryModel
getUserId in interface AuditedModelgetUserId in interface RatingsEntryModelpublic void setUserId(long userId)
RatingsEntryModel
setUserId in interface AuditedModelsetUserId in interface RatingsEntryModeluserId - the user ID of this ratings entrypublic String getUserUuid()
RatingsEntryModel
getUserUuid in interface AuditedModelgetUserUuid in interface RatingsEntryModelpublic void setUserUuid(String userUuid)
RatingsEntryModel
setUserUuid in interface AuditedModelsetUserUuid in interface RatingsEntryModeluserUuid - the user uuid of this ratings entrypublic long getOriginalUserId()
@JSON public String getUserName()
RatingsEntryModel
getUserName in interface AuditedModelgetUserName in interface RatingsEntryModelpublic void setUserName(String userName)
RatingsEntryModel
setUserName in interface AuditedModelsetUserName in interface RatingsEntryModeluserName - the user name of this ratings entry@JSON public Date getCreateDate()
RatingsEntryModel
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface RatingsEntryModelpublic void setCreateDate(Date createDate)
RatingsEntryModel
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface RatingsEntryModelcreateDate - the create date of this ratings entry@JSON public Date getModifiedDate()
RatingsEntryModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface RatingsEntryModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
RatingsEntryModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface RatingsEntryModelmodifiedDate - the modified date of this ratings entrypublic String getClassName()
RatingsEntryModel
getClassName in interface TypedModelgetClassName in interface RatingsEntryModelpublic void setClassName(String className)
setClassName in interface RatingsEntryModel@JSON public long getClassNameId()
RatingsEntryModel
getClassNameId in interface TypedModelgetClassNameId in interface RatingsEntryModelpublic void setClassNameId(long classNameId)
RatingsEntryModel
setClassNameId in interface TypedModelsetClassNameId in interface RatingsEntryModelclassNameId - the class name ID of this ratings entrypublic long getOriginalClassNameId()
@JSON public long getClassPK()
RatingsEntryModel
getClassPK in interface AttachedModelgetClassPK in interface RatingsEntryModelpublic void setClassPK(long classPK)
RatingsEntryModel
setClassPK in interface AttachedModelsetClassPK in interface RatingsEntryModelclassPK - the class p k of this ratings entrypublic long getOriginalClassPK()
@JSON public double getScore()
RatingsEntryModel
getScore in interface RatingsEntryModelpublic void setScore(double score)
RatingsEntryModel
setScore in interface RatingsEntryModelscore - the score of this ratings entrypublic double getOriginalScore()
public StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<RatingsEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge 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 be appliedServiceContext.getExpandoBridgeAttributes()public RatingsEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<RatingsEntry>toEscapedModel in interface RatingsEntryModeltoEscapedModel in class BaseModelImpl<RatingsEntry>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<RatingsEntry>clone in interface StagedModelclone 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 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>resetOriginalValues in class BaseModelImpl<RatingsEntry>public CacheModel<RatingsEntry> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<RatingsEntry>toCacheModel in interface RatingsEntryModeltoCacheModel in class BaseModelImpl<RatingsEntry>public String toString()
toString in interface RatingsEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<RatingsEntry>toXmlString in interface RatingsEntryModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||