Package com.liferay.ratings.kernel.model
Class RatingsEntryWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<RatingsEntry>
com.liferay.ratings.kernel.model.RatingsEntryWrapper
- All Implemented Interfaces:
AttachedModel,AuditedModel,BaseModel<RatingsEntry>,CTModel<RatingsEntry>,ClassedModel,ModelWrapper<RatingsEntry>,MVCCModel,PersistedModel,ShardedModel,StagedAuditedModel,StagedModel,TypedModel,RatingsEntry,RatingsEntryModel,Serializable,Cloneable,Comparable<RatingsEntry>
public class RatingsEntryWrapper
extends BaseModelWrapper<RatingsEntry>
implements ModelWrapper<RatingsEntry>, RatingsEntry
This class is a wrapper for RatingsEntry.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.ratings.kernel.model.RatingsEntry
ENTRY_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this ratings entry.longReturns the class name ID of this ratings entry.longReturns the class pk of this ratings entry.longReturns the company ID of this ratings entry.Returns the create date of this ratings entry.longReturns the ct collection ID of this ratings entry.longReturns the entry ID of this ratings entry.Returns the modified date of this ratings entry.longReturns the mvcc version of this ratings entry.longReturns the primary key of this ratings entry.doublegetScore()Returns the score of this ratings entry.longReturns the user ID of this ratings entry.Returns the user name of this ratings entry.Returns the user uuid of this ratings entry.getUuid()Returns the uuid of this ratings entry.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this ratings entry.voidsetClassPK(long classPK) Sets the class pk of this ratings entry.voidsetCompanyId(long companyId) Sets the company ID of this ratings entry.voidsetCreateDate(Date createDate) Sets the create date of this ratings entry.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this ratings entry.voidsetEntryId(long entryId) Sets the entry ID of this ratings entry.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this ratings entry.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this ratings entry.voidsetPrimaryKey(long primaryKey) Sets the primary key of this ratings entry.voidsetScore(double score) Sets the score of this ratings entry.voidsetUserId(long userId) Sets the user ID of this ratings entry.voidsetUserName(String userName) Sets the user name of this ratings entry.voidsetUserUuid(String userUuid) Sets the user uuid of this ratings entry.voidSets the uuid of this ratings entry.protected RatingsEntryWrapperwrap(RatingsEntry ratingsEntry) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
RatingsEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<RatingsEntry>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<RatingsEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<RatingsEntry>- Specified by:
cloneWithOriginalValuesin interfaceRatingsEntryModel
-
getClassName
Returns the fully qualified class name of this ratings entry.- Specified by:
getClassNamein interfaceRatingsEntryModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this ratings entry
-
getClassNameId
public long getClassNameId()Returns the class name ID of this ratings entry.- Specified by:
getClassNameIdin interfaceRatingsEntryModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this ratings entry
-
getClassPK
public long getClassPK()Returns the class pk of this ratings entry.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceRatingsEntryModel- Returns:
- the class pk of this ratings entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this ratings entry.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceRatingsEntryModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this ratings entry
-
getCreateDate
Returns the create date of this ratings entry.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceRatingsEntryModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this ratings entry
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this ratings entry.- Specified by:
getCtCollectionIdin interfaceCTModel<RatingsEntry>- Specified by:
getCtCollectionIdin interfaceRatingsEntryModel- Returns:
- the ct collection ID of this ratings entry
-
getEntryId
public long getEntryId()Returns the entry ID of this ratings entry.- Specified by:
getEntryIdin interfaceRatingsEntryModel- Returns:
- the entry ID of this ratings entry
-
getModifiedDate
Returns the modified date of this ratings entry.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceRatingsEntryModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this ratings entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this ratings entry.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceRatingsEntryModel- Returns:
- the mvcc version of this ratings entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this ratings entry.- Specified by:
getPrimaryKeyin interfaceCTModel<RatingsEntry>- Specified by:
getPrimaryKeyin interfaceRatingsEntryModel- Returns:
- the primary key of this ratings entry
-
getScore
public double getScore()Returns the score of this ratings entry.- Specified by:
getScorein interfaceRatingsEntryModel- Returns:
- the score of this ratings entry
-
getUserId
public long getUserId()Returns the user ID of this ratings entry.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceRatingsEntryModel- Returns:
- the user ID of this ratings entry
-
getUserName
Returns the user name of this ratings entry.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceRatingsEntryModel- Returns:
- the user name of this ratings entry
-
getUserUuid
Returns the user uuid of this ratings entry.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceRatingsEntryModel- Returns:
- the user uuid of this ratings entry
-
getUuid
Returns the uuid of this ratings entry.- Specified by:
getUuidin interfaceRatingsEntryModel- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this ratings entry
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setClassName
- Specified by:
setClassNamein interfaceRatingsEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this ratings entry.- Specified by:
setClassNameIdin interfaceRatingsEntryModel- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this ratings entry
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this ratings entry.- Specified by:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin interfaceRatingsEntryModel- Parameters:
classPK- the class pk of this ratings entry
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this ratings entry.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceRatingsEntryModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this ratings entry
-
setCreateDate
Sets the create date of this ratings entry.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceRatingsEntryModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this ratings entry
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this ratings entry.- Specified by:
setCtCollectionIdin interfaceCTModel<RatingsEntry>- Specified by:
setCtCollectionIdin interfaceRatingsEntryModel- Parameters:
ctCollectionId- the ct collection ID of this ratings entry
-
setEntryId
public void setEntryId(long entryId) Sets the entry ID of this ratings entry.- Specified by:
setEntryIdin interfaceRatingsEntryModel- Parameters:
entryId- the entry ID of this ratings entry
-
setModifiedDate
Sets the modified date of this ratings entry.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceRatingsEntryModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this ratings entry
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this ratings entry.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceRatingsEntryModel- Parameters:
mvccVersion- the mvcc version of this ratings entry
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this ratings entry.- Specified by:
setPrimaryKeyin interfaceCTModel<RatingsEntry>- Specified by:
setPrimaryKeyin interfaceRatingsEntryModel- Parameters:
primaryKey- the primary key of this ratings entry
-
setScore
public void setScore(double score) Sets the score of this ratings entry.- Specified by:
setScorein interfaceRatingsEntryModel- Parameters:
score- the score of this ratings entry
-
setUserId
public void setUserId(long userId) Sets the user ID of this ratings entry.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceRatingsEntryModel- Parameters:
userId- the user ID of this ratings entry
-
setUserName
Sets the user name of this ratings entry.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceRatingsEntryModel- Parameters:
userName- the user name of this ratings entry
-
setUserUuid
Sets the user uuid of this ratings entry.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceRatingsEntryModel- Parameters:
userUuid- the user uuid of this ratings entry
-
setUuid
Sets the uuid of this ratings entry.- Specified by:
setUuidin interfaceRatingsEntryModel- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this ratings entry
-
toXmlString
- Specified by:
toXmlStringin interfaceRatingsEntryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<RatingsEntry>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<RatingsEntry>
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<RatingsEntry>
-