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.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.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.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.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods 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:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this portlet item
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this portlet item.- Specified by:
setMvccVersionin 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:
getGroupIdin interfaceGroupedModel- Returns:
- the group ID of this portlet item
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this portlet item.- Specified by:
setGroupIdin interfaceGroupedModel- Parameters:
groupId- the group ID of this portlet item
-
getCompanyId
long getCompanyId()Returns the company ID of this portlet item.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this portlet item
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this portlet item.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this portlet item
-
getUserId
long getUserId()Returns the user ID of this portlet item.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this portlet item
-
setUserId
void setUserId(long userId) Sets the user ID of this portlet item.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this portlet item
-
getUserUuid
String getUserUuid()Returns the user uuid of this portlet item.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this portlet item
-
setUserUuid
Sets the user uuid of this portlet item.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this portlet item
-
getUserName
Returns the user name of this portlet item.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this portlet item
-
setUserName
Sets the user name of this portlet item.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this portlet item
-
getCreateDate
Date getCreateDate()Returns the create date of this portlet item.- Specified by:
getCreateDatein interfaceAuditedModel- Returns:
- the create date of this portlet item
-
setCreateDate
Sets the create date of this portlet item.- Specified by:
setCreateDatein interfaceAuditedModel- Parameters:
createDate- the create date of this portlet item
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this portlet item.- Specified by:
getModifiedDatein interfaceAuditedModel- Returns:
- the modified date of this portlet item
-
setModifiedDate
Sets the modified date of this portlet item.- Specified by:
setModifiedDatein 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:
getClassNamein 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:
getClassNameIdin 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:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this portlet item
-
cloneWithOriginalValues
PortletItem cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<PortletItem>
-
toXmlString
-