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
model
Fields 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.long
Returns the class name ID of this ratings entry.long
Returns the class pk of this ratings entry.long
Returns the company ID of this ratings entry.Returns the create date of this ratings entry.long
Returns the ct collection ID of this ratings entry.long
Returns the entry ID of this ratings entry.Returns the modified date of this ratings entry.long
Returns the mvcc version of this ratings entry.long
Returns the primary key of this ratings entry.double
getScore()
Returns the score of this ratings entry.long
Returns 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.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this ratings entry.void
setClassPK
(long classPK) Sets the class pk 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
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this ratings entry.void
setEntryId
(long entryId) Sets the entry ID of this ratings entry.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this ratings entry.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this ratings entry.void
setPrimaryKey
(long primaryKey) 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.void
Sets the uuid of this ratings entry.protected RatingsEntryWrapper
wrap
(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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
RatingsEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<RatingsEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<RatingsEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<RatingsEntry>
- Specified by:
cloneWithOriginalValues
in interfaceRatingsEntryModel
-
getClassName
Returns the fully qualified class name of this ratings entry.- Specified by:
getClassName
in interfaceRatingsEntryModel
- Specified by:
getClassName
in 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:
getClassNameId
in interfaceRatingsEntryModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this ratings entry
-
getClassPK
public long getClassPK()Returns the class pk of this ratings entry.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceRatingsEntryModel
- Returns:
- the class pk of this ratings entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this ratings entry.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceRatingsEntryModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this ratings entry
-
getCreateDate
Returns the create date of this ratings entry.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceRatingsEntryModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this ratings entry
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this ratings entry.- Specified by:
getCtCollectionId
in interfaceCTModel<RatingsEntry>
- Specified by:
getCtCollectionId
in interfaceRatingsEntryModel
- Returns:
- the ct collection ID of this ratings entry
-
getEntryId
public long getEntryId()Returns the entry ID of this ratings entry.- Specified by:
getEntryId
in interfaceRatingsEntryModel
- Returns:
- the entry ID of this ratings entry
-
getModifiedDate
Returns the modified date of this ratings entry.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceRatingsEntryModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this ratings entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this ratings entry.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceRatingsEntryModel
- Returns:
- the mvcc version of this ratings entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this ratings entry.- Specified by:
getPrimaryKey
in interfaceCTModel<RatingsEntry>
- Specified by:
getPrimaryKey
in interfaceRatingsEntryModel
- Returns:
- the primary key of this ratings entry
-
getScore
public double getScore()Returns the score of this ratings entry.- Specified by:
getScore
in interfaceRatingsEntryModel
- Returns:
- the score of this ratings entry
-
getUserId
public long getUserId()Returns the user ID of this ratings entry.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceRatingsEntryModel
- Returns:
- the user ID of this ratings entry
-
getUserName
Returns the user name of this ratings entry.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceRatingsEntryModel
- Returns:
- the user name of this ratings entry
-
getUserUuid
Returns the user uuid of this ratings entry.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceRatingsEntryModel
- Returns:
- the user uuid of this ratings entry
-
getUuid
Returns the uuid of this ratings entry.- Specified by:
getUuid
in interfaceRatingsEntryModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this ratings entry
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setClassName
- Specified by:
setClassName
in interfaceRatingsEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this ratings entry.- Specified by:
setClassNameId
in interfaceRatingsEntryModel
- Specified by:
setClassNameId
in 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:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in 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:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceRatingsEntryModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this ratings entry
-
setCreateDate
Sets the create date of this ratings entry.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceRatingsEntryModel
- Specified by:
setCreateDate
in 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:
setCtCollectionId
in interfaceCTModel<RatingsEntry>
- Specified by:
setCtCollectionId
in 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:
setEntryId
in interfaceRatingsEntryModel
- Parameters:
entryId
- the entry ID of this ratings entry
-
setModifiedDate
Sets the modified date of this ratings entry.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceRatingsEntryModel
- Specified by:
setModifiedDate
in 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:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in interfaceCTModel<RatingsEntry>
- Specified by:
setPrimaryKey
in 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:
setScore
in 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:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceRatingsEntryModel
- Parameters:
userId
- the user ID of this ratings entry
-
setUserName
Sets the user name of this ratings entry.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceRatingsEntryModel
- Parameters:
userName
- the user name of this ratings entry
-
setUserUuid
Sets the user uuid of this ratings entry.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceRatingsEntryModel
- Parameters:
userUuid
- the user uuid of this ratings entry
-
setUuid
Sets the uuid of this ratings entry.- Specified by:
setUuid
in interfaceRatingsEntryModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this ratings entry
-
toXmlString
- Specified by:
toXmlString
in interfaceRatingsEntryModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<RatingsEntry>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<RatingsEntry>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<RatingsEntry>
-