public class PortletItemWrapper extends BaseModelWrapper<PortletItem> implements ModelWrapper<PortletItem>, PortletItem
This class is a wrapper for PortletItem
.
PortletItem
,
Serialized Formmodel
PORTLET_ITEM_ID_ACCESSOR
Constructor and Description |
---|
PortletItemWrapper(PortletItem portletItem) |
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
java.util.Date |
getCreateDate()
Returns the create date of this portlet item.
|
long |
getGroupId()
Returns the group ID of this portlet item.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this portlet item.
|
long |
getMvccVersion()
Returns the mvcc version of this portlet item.
|
java.lang.String |
getName()
Returns the name of this portlet item.
|
java.lang.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.
|
java.lang.String |
getUserName()
Returns the user name of this portlet item.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this portlet item.
|
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setClassName(java.lang.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(java.util.Date createDate)
Sets the create date of this portlet item.
|
void |
setGroupId(long groupId)
Sets the group ID of this portlet item.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this portlet item.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this portlet item.
|
void |
setName(java.lang.String name)
Sets the name of this portlet item.
|
void |
setPortletId(java.lang.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(java.lang.String userName)
Sets the user name of this portlet item.
|
void |
setUserUuid(java.lang.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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public PortletItemWrapper(PortletItem portletItem)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface BaseModel<PortletItem>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface BaseModel<PortletItem>
public java.lang.String getClassName()
getClassName
in interface PortletItemModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface PortletItemModel
getClassNameId
in interface TypedModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface PortletItemModel
getCompanyId
in interface ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface PortletItemModel
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface PortletItemModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface PortletItemModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface PortletItemModel
public java.lang.String getName()
getName
in interface PortletItemModel
public java.lang.String getPortletId()
getPortletId
in interface PortletItemModel
public long getPortletItemId()
getPortletItemId
in interface PortletItemModel
public long getPrimaryKey()
getPrimaryKey
in interface PortletItemModel
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface PortletItemModel
public java.lang.String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface PortletItemModel
public java.lang.String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface PortletItemModel
public void persist()
PortletItem
interface instead.persist
in interface PersistedModel
public void setClassName(java.lang.String className)
setClassName
in interface PortletItemModel
public void setClassNameId(long classNameId)
setClassNameId
in interface PortletItemModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this portlet itempublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface PortletItemModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this portlet itempublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface PortletItemModel
createDate
- the create date of this portlet itempublic void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface PortletItemModel
groupId
- the group ID of this portlet itempublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface PortletItemModel
modifiedDate
- the modified date of this portlet itempublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface PortletItemModel
mvccVersion
- the mvcc version of this portlet itempublic void setName(java.lang.String name)
setName
in interface PortletItemModel
name
- the name of this portlet itempublic void setPortletId(java.lang.String portletId)
setPortletId
in interface PortletItemModel
portletId
- the portlet ID of this portlet itempublic void setPortletItemId(long portletItemId)
setPortletItemId
in interface PortletItemModel
portletItemId
- the portlet item ID of this portlet itempublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface PortletItemModel
primaryKey
- the primary key of this portlet itempublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface PortletItemModel
userId
- the user ID of this portlet itempublic void setUserName(java.lang.String userName)
setUserName
in interface AuditedModel
setUserName
in interface PortletItemModel
userName
- the user name of this portlet itempublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface PortletItemModel
userUuid
- the user uuid of this portlet itemprotected PortletItemWrapper wrap(PortletItem portletItem)
wrap
in class BaseModelWrapper<PortletItem>