public class PortletItemWrapper extends BaseModelWrapper<PortletItem> implements ModelWrapper<PortletItem>, PortletItem
This class is a wrapper for PortletItem.
PortletItem,
Serialized FormmodelPORTLET_ITEM_ID_ACCESSOR| Constructor and Description |
|---|
PortletItemWrapper(PortletItem portletItem) |
| Modifier and Type | Method and Description |
|---|---|
PortletItem |
cloneWithOriginalValues() |
String |
getClassName()
Returns the fully qualified class name of this portlet item.
|
long |
getClassNameId()
Returns the class name ID of this portlet item.
|
long |
getCompanyId()
Returns the company ID of this portlet item.
|
Date |
getCreateDate()
Returns the create date of this portlet item.
|
long |
getGroupId()
Returns the group ID of this portlet item.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this portlet item.
|
long |
getMvccVersion()
Returns the mvcc version of this portlet item.
|
String |
getName()
Returns the name of this portlet item.
|
String |
getPortletId()
Returns the portlet ID of this portlet item.
|
long |
getPortletItemId()
Returns the portlet item ID of this portlet item.
|
long |
getPrimaryKey()
Returns the primary key of this portlet item.
|
long |
getUserId()
Returns the user ID of this portlet item.
|
String |
getUserName()
Returns the user name of this portlet item.
|
String |
getUserUuid()
Returns the user uuid of this portlet item.
|
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 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 |
setModelAttributes(Map<String,Object> attributes) |
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 |
setName(String name)
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.
|
protected PortletItemWrapper |
wrap(PortletItem portletItem) |
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, toXmlStringgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic PortletItemWrapper(PortletItem portletItem)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PortletItem>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PortletItem>public PortletItem cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<PortletItem>cloneWithOriginalValues in interface PortletItemModelpublic String getClassName()
getClassName in interface PortletItemModelgetClassName in interface TypedModelpublic long getClassNameId()
getClassNameId in interface PortletItemModelgetClassNameId in interface TypedModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface PortletItemModelgetCompanyId in interface ShardedModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface PortletItemModelpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface PortletItemModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface PortletItemModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface PortletItemModelpublic String getName()
getName in interface PortletItemModelpublic String getPortletId()
getPortletId in interface PortletItemModelpublic long getPortletItemId()
getPortletItemId in interface PortletItemModelpublic long getPrimaryKey()
getPrimaryKey in interface PortletItemModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface PortletItemModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface PortletItemModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface PortletItemModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setClassName(String className)
setClassName in interface PortletItemModelpublic void setClassNameId(long classNameId)
setClassNameId in interface PortletItemModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this portlet itempublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface PortletItemModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this portlet itempublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface PortletItemModelcreateDate - the create date of this portlet itempublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface PortletItemModelgroupId - the group ID of this portlet itempublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface PortletItemModelmodifiedDate - the modified date of this portlet itempublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface PortletItemModelmvccVersion - the mvcc version of this portlet itempublic void setName(String name)
setName in interface PortletItemModelname - the name of this portlet itempublic void setPortletId(String portletId)
setPortletId in interface PortletItemModelportletId - the portlet ID of this portlet itempublic void setPortletItemId(long portletItemId)
setPortletItemId in interface PortletItemModelportletItemId - the portlet item ID of this portlet itempublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PortletItemModelprimaryKey - the primary key of this portlet itempublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface PortletItemModeluserId - the user ID of this portlet itempublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface PortletItemModeluserName - the user name of this portlet itempublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface PortletItemModeluserUuid - the user uuid of this portlet itemprotected PortletItemWrapper wrap(PortletItem portletItem)
wrap in class BaseModelWrapper<PortletItem>