Package com.liferay.portal.kernel.model
Class PortletItemWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<PortletItem>
com.liferay.portal.kernel.model.PortletItemWrapper
- All Implemented Interfaces:
AuditedModel,BaseModel<PortletItem>,ClassedModel,GroupedModel,ModelWrapper<PortletItem>,MVCCModel,PersistedModel,PortletItem,PortletItemModel,ShardedModel,TypedModel,Serializable,Cloneable,Comparable<PortletItem>
public class PortletItemWrapper
extends BaseModelWrapper<PortletItem>
implements ModelWrapper<PortletItem>, PortletItem
This class is a wrapper for PortletItem.
- 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.portal.kernel.model.PortletItem
PORTLET_ITEM_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this portlet item.longReturns the class name ID of this portlet item.longReturns the company ID of this portlet item.Returns the create date of this portlet item.longReturns the group ID of this portlet item.Returns the modified date of this portlet item.longReturns the mvcc version of this portlet item.getName()Returns the name of this portlet item.Returns the portlet ID of this portlet item.longReturns the portlet item ID of this portlet item.longReturns the primary key of this portlet item.longReturns the user ID of this portlet item.Returns the user name of this portlet item.Returns the user uuid of this portlet item.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 portlet item.voidsetCompanyId(long companyId) Sets the company ID of this portlet item.voidsetCreateDate(Date createDate) Sets the create date of this portlet item.voidsetGroupId(long groupId) Sets the group ID of this portlet item.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this portlet item.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this portlet item.voidSets the name of this portlet item.voidsetPortletId(String portletId) Sets the portlet ID of this portlet item.voidsetPortletItemId(long portletItemId) Sets the portlet item ID of this portlet item.voidsetPrimaryKey(long primaryKey) Sets the primary key of this portlet item.voidsetUserId(long userId) Sets the user ID of this portlet item.voidsetUserName(String userName) Sets the user name of this portlet item.voidsetUserUuid(String userUuid) Sets the user uuid of this portlet item.protected PortletItemWrapperwrap(PortletItem portletItem) 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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, 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
getWrappedModel
-
Constructor Details
-
PortletItemWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<PortletItem>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<PortletItem>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<PortletItem>- Specified by:
cloneWithOriginalValuesin interfacePortletItemModel
-
getClassName
Returns the fully qualified class name of this portlet item.- Specified by:
getClassNamein interfacePortletItemModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this portlet item
-
getClassNameId
public long getClassNameId()Returns the class name ID of this portlet item.- Specified by:
getClassNameIdin interfacePortletItemModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this portlet item
-
getCompanyId
public long getCompanyId()Returns the company ID of this portlet item.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfacePortletItemModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this portlet item
-
getCreateDate
Returns the create date of this portlet item.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfacePortletItemModel- Returns:
- the create date of this portlet item
-
getGroupId
public long getGroupId()Returns the group ID of this portlet item.- Specified by:
getGroupIdin interfaceGroupedModel- Specified by:
getGroupIdin interfacePortletItemModel- Returns:
- the group ID of this portlet item
-
getModifiedDate
Returns the modified date of this portlet item.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfacePortletItemModel- Returns:
- the modified date of this portlet item
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this portlet item.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfacePortletItemModel- Returns:
- the mvcc version of this portlet item
-
getName
Returns the name of this portlet item.- Specified by:
getNamein interfacePortletItemModel- Returns:
- the name of this portlet item
-
getPortletId
Returns the portlet ID of this portlet item.- Specified by:
getPortletIdin interfacePortletItemModel- Returns:
- the portlet ID of this portlet item
-
getPortletItemId
public long getPortletItemId()Returns the portlet item ID of this portlet item.- Specified by:
getPortletItemIdin interfacePortletItemModel- Returns:
- the portlet item ID of this portlet item
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this portlet item.- Specified by:
getPrimaryKeyin interfacePortletItemModel- Returns:
- the primary key of this portlet item
-
getUserId
public long getUserId()Returns the user ID of this portlet item.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfacePortletItemModel- Returns:
- the user ID of this portlet item
-
getUserName
Returns the user name of this portlet item.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfacePortletItemModel- Returns:
- the user name of this portlet item
-
getUserUuid
Returns the user uuid of this portlet item.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfacePortletItemModel- Returns:
- the user uuid of this portlet item
-
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 interfacePortletItemModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this portlet item.- Specified by:
setClassNameIdin interfacePortletItemModel- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this portlet item
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this portlet item.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfacePortletItemModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this portlet item
-
setCreateDate
Sets the create date of this portlet item.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfacePortletItemModel- Parameters:
createDate- the create date of this portlet item
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this portlet item.- Specified by:
setGroupIdin interfaceGroupedModel- Specified by:
setGroupIdin interfacePortletItemModel- Parameters:
groupId- the group ID of this portlet item
-
setModifiedDate
Sets the modified date of this portlet item.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfacePortletItemModel- Parameters:
modifiedDate- the modified date of this portlet item
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this portlet item.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfacePortletItemModel- Parameters:
mvccVersion- the mvcc version of this portlet item
-
setName
Sets the name of this portlet item.- Specified by:
setNamein interfacePortletItemModel- Parameters:
name- the name of this portlet item
-
setPortletId
Sets the portlet ID of this portlet item.- Specified by:
setPortletIdin interfacePortletItemModel- Parameters:
portletId- the portlet ID of this portlet item
-
setPortletItemId
public void setPortletItemId(long portletItemId) Sets the portlet item ID of this portlet item.- Specified by:
setPortletItemIdin interfacePortletItemModel- Parameters:
portletItemId- the portlet item ID of this portlet item
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this portlet item.- Specified by:
setPrimaryKeyin interfacePortletItemModel- Parameters:
primaryKey- the primary key of this portlet item
-
setUserId
public void setUserId(long userId) Sets the user ID of this portlet item.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfacePortletItemModel- Parameters:
userId- the user ID of this portlet item
-
setUserName
Sets the user name of this portlet item.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfacePortletItemModel- Parameters:
userName- the user name of this portlet item
-
setUserUuid
Sets the user uuid of this portlet item.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfacePortletItemModel- Parameters:
userUuid- the user uuid of this portlet item
-
toXmlString
- Specified by:
toXmlStringin interfacePortletItemModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<PortletItem>
-