Package com.liferay.view.count.model
Class ViewCountEntryWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ViewCountEntry>
com.liferay.view.count.model.ViewCountEntryWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.BaseModel<ViewCountEntry>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ModelWrapper<ViewCountEntry>
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.TypedModel
,ViewCountEntry
,ViewCountEntryModel
,Serializable
,Cloneable
,Comparable<ViewCountEntry>
public class ViewCountEntryWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ViewCountEntry>
implements com.liferay.portal.kernel.model.ModelWrapper<ViewCountEntry>, ViewCountEntry
This class is a wrapper for ViewCountEntry
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.view.count.model.ViewCountEntry
CLASS_NAME_ID_ACCESSOR, CLASS_PK_ACCESSOR, COMPANY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this view count entry.long
Returns the class name ID of this view count entry.long
Returns the class pk of this view count entry.long
Returns the company ID of this view count entry.Returns the primary key of this view count entry.long
Returns the view count of this view count entry.void
persist()
void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this view count entry.void
setClassPK
(long classPK) Sets the class pk of this view count entry.void
setCompanyId
(long companyId) Sets the company ID of this view count entry.void
setModelAttributes
(Map<String, Object> attributes) void
setPrimaryKey
(ViewCountEntryPK primaryKey) Sets the primary key of this view count entry.void
setViewCount
(long viewCount) Sets the view count of this view count entry.protected ViewCountEntryWrapper
wrap
(ViewCountEntry viewCountEntry) 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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, 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
-
Constructor Details
-
ViewCountEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ViewCountEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ViewCountEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<ViewCountEntry>
- Specified by:
cloneWithOriginalValues
in interfaceViewCountEntryModel
-
getClassName
Returns the fully qualified class name of this view count entry.- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
- Specified by:
getClassName
in interfaceViewCountEntryModel
- Returns:
- the fully qualified class name of this view count entry
-
getClassNameId
public long getClassNameId()Returns the class name ID of this view count entry.- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Specified by:
getClassNameId
in interfaceViewCountEntryModel
- Returns:
- the class name ID of this view count entry
-
getClassPK
public long getClassPK()Returns the class pk of this view count entry.- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfaceViewCountEntryModel
- Returns:
- the class pk of this view count entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this view count entry.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfaceViewCountEntryModel
- Returns:
- the company ID of this view count entry
-
getPrimaryKey
Returns the primary key of this view count entry.- Specified by:
getPrimaryKey
in interfaceViewCountEntryModel
- Returns:
- the primary key of this view count entry
-
getViewCount
public long getViewCount()Returns the view count of this view count entry.- Specified by:
getViewCount
in interfaceViewCountEntryModel
- Returns:
- the view count of this view count entry
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setClassName
- Specified by:
setClassName
in interfaceViewCountEntryModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this view count entry.- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Specified by:
setClassNameId
in interfaceViewCountEntryModel
- Parameters:
classNameId
- the class name ID of this view count entry
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this view count entry.- Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfaceViewCountEntryModel
- Parameters:
classPK
- the class pk of this view count entry
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this view count entry.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfaceViewCountEntryModel
- Parameters:
companyId
- the company ID of this view count entry
-
setPrimaryKey
Sets the primary key of this view count entry.- Specified by:
setPrimaryKey
in interfaceViewCountEntryModel
- Parameters:
primaryKey
- the primary key of this view count entry
-
setViewCount
public void setViewCount(long viewCount) Sets the view count of this view count entry.- Specified by:
setViewCount
in interfaceViewCountEntryModel
- Parameters:
viewCount
- the view count of this view count entry
-
toXmlString
- Specified by:
toXmlString
in interfaceViewCountEntryModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ViewCountEntry>
-