Package com.liferay.portal.kernel.model
Interface PortletItemModel
- All Superinterfaces:
AuditedModel
,BaseModel<PortletItem>
,ClassedModel
,Cloneable
,Comparable<PortletItem>
,GroupedModel
,MVCCModel
,Serializable
,ShardedModel
,TypedModel
- All Known Subinterfaces:
PortletItem
- All Known Implementing Classes:
PortletItemWrapper
@ProviderType
public interface PortletItemModel
extends BaseModel<PortletItem>, GroupedModel, MVCCModel, ShardedModel, TypedModel
The base model interface for the PortletItem service. Represents a row in the "PortletItem" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.PortletItemModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.PortletItemImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this portlet item.long
Returns the class name ID of this portlet item.long
Returns the company ID of this portlet item.Returns the create date of this portlet item.long
Returns the group ID of this portlet item.Returns the modified date of this portlet item.long
Returns the mvcc version of this portlet item.getName()
Returns the name of this portlet item.Returns the portlet ID of this portlet item.long
Returns the portlet item ID of this portlet item.long
Returns the primary key of this portlet item.long
Returns the user ID of this portlet item.Returns the user name of this portlet item.Returns the user uuid of this portlet item.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this portlet item.void
setCompanyId
(long companyId) Sets the company ID of this portlet item.void
setCreateDate
(Date createDate) Sets the create date of this portlet item.void
setGroupId
(long groupId) Sets the group ID of this portlet item.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this portlet item.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this portlet item.void
Sets the name of this portlet item.void
setPortletId
(String portletId) Sets the portlet ID of this portlet item.void
setPortletItemId
(long portletItemId) Sets the portlet item ID of this portlet item.void
setPrimaryKey
(long primaryKey) Sets the primary key of this portlet item.void
setUserId
(long userId) Sets the user ID of this portlet item.void
setUserName
(String userName) Sets the user name of this portlet item.void
setUserUuid
(String userUuid) Sets the user uuid of this portlet item.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this portlet item.- Returns:
- the primary key of this portlet item
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this portlet item.- Parameters:
primaryKey
- the primary key of this portlet item
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this portlet item.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this portlet item
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this portlet item.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this portlet item
-
getPortletItemId
long getPortletItemId()Returns the portlet item ID of this portlet item.- Returns:
- the portlet item ID of this portlet item
-
setPortletItemId
void setPortletItemId(long portletItemId) Sets the portlet item ID of this portlet item.- Parameters:
portletItemId
- the portlet item ID of this portlet item
-
getGroupId
long getGroupId()Returns the group ID of this portlet item.- Specified by:
getGroupId
in interfaceGroupedModel
- Returns:
- the group ID of this portlet item
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this portlet item.- Specified by:
setGroupId
in interfaceGroupedModel
- Parameters:
groupId
- the group ID of this portlet item
-
getCompanyId
long getCompanyId()Returns the company ID of this portlet item.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this portlet item
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this portlet item.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this portlet item
-
getUserId
long getUserId()Returns the user ID of this portlet item.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this portlet item
-
setUserId
void setUserId(long userId) Sets the user ID of this portlet item.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this portlet item
-
getUserUuid
String getUserUuid()Returns the user uuid of this portlet item.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this portlet item
-
setUserUuid
Sets the user uuid of this portlet item.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this portlet item
-
getUserName
Returns the user name of this portlet item.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this portlet item
-
setUserName
Sets the user name of this portlet item.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this portlet item
-
getCreateDate
Date getCreateDate()Returns the create date of this portlet item.- Specified by:
getCreateDate
in interfaceAuditedModel
- Returns:
- the create date of this portlet item
-
setCreateDate
Sets the create date of this portlet item.- Specified by:
setCreateDate
in interfaceAuditedModel
- Parameters:
createDate
- the create date of this portlet item
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this portlet item.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Returns:
- the modified date of this portlet item
-
setModifiedDate
Sets the modified date of this portlet item.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Parameters:
modifiedDate
- the modified date of this portlet item
-
getName
Returns the name of this portlet item.- Returns:
- the name of this portlet item
-
setName
Sets the name of this portlet item.- Parameters:
name
- the name of this portlet item
-
getPortletId
Returns the portlet ID of this portlet item.- Returns:
- the portlet ID of this portlet item
-
setPortletId
Sets the portlet ID of this portlet item.- Parameters:
portletId
- the portlet ID of this portlet item
-
getClassName
String getClassName()Returns the fully qualified class name of this portlet item.- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this portlet item
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this portlet item.- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this portlet item
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this portlet item.- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this portlet item
-
cloneWithOriginalValues
PortletItem cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<PortletItem>
-
toXmlString
-