|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<PortletItem> com.liferay.portal.model.impl.PortletItemModelImpl
public class PortletItemModelImpl
The base model implementation for the PortletItem service. Represents a row in the "PortletItem" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface PortletItemModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PortletItemImpl
.
Never modify or reference this class directly. All methods that expect a portlet item model instance should use the PortletItem
interface instead.
PortletItemImpl
,
PortletItem
,
PortletItemModel
,
Serialized FormField Summary | |
---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
Constructor Summary | |
---|---|
PortletItemModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PortletItem portletItem)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Gets the class name of the model instance this portlet item is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this portlet item. |
long |
getCompanyId()
Gets the company id of this portlet item. |
Date |
getCreateDate()
Gets the create date of this portlet item. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this portlet item. |
Date |
getModifiedDate()
Gets the modified date of this portlet item. |
String |
getName()
Gets the name of this portlet item. |
long |
getOriginalClassNameId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
String |
getOriginalPortletId()
|
String |
getPortletId()
Gets the portlet id of this portlet item. |
long |
getPortletItemId()
Gets the portlet item id of this portlet item. |
long |
getPrimaryKey()
Gets the primary key of this portlet item. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id of this portlet item. |
String |
getUserName()
Gets the user name of this portlet item. |
String |
getUserUuid()
Gets the user uuid of this portlet item. |
int |
hashCode()
|
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 |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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 |
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 pk)
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. |
PortletItem |
toEscapedModel()
Gets a copy of this portlet item as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portal.model.PortletItemModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public PortletItemModelImpl()
Method Detail |
---|
public long getPrimaryKey()
PortletItemModel
getPrimaryKey
in interface PortletItemModel
public void setPrimaryKey(long pk)
PortletItemModel
setPrimaryKey
in interface PortletItemModel
pk
- the primary key of this portlet itempublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<PortletItem>
getPrimaryKeyObj
in interface PortletItemModel
public long getPortletItemId()
PortletItemModel
getPortletItemId
in interface PortletItemModel
public void setPortletItemId(long portletItemId)
PortletItemModel
setPortletItemId
in interface PortletItemModel
portletItemId
- the portlet item id of this portlet itempublic long getGroupId()
PortletItemModel
getGroupId
in interface PortletItemModel
public void setGroupId(long groupId)
PortletItemModel
setGroupId
in interface PortletItemModel
groupId
- the group id of this portlet itempublic long getOriginalGroupId()
public long getCompanyId()
PortletItemModel
getCompanyId
in interface PortletItemModel
public void setCompanyId(long companyId)
PortletItemModel
setCompanyId
in interface PortletItemModel
companyId
- the company id of this portlet itempublic long getUserId()
PortletItemModel
getUserId
in interface PortletItemModel
public void setUserId(long userId)
PortletItemModel
setUserId
in interface PortletItemModel
userId
- the user id of this portlet itempublic String getUserUuid() throws SystemException
PortletItemModel
getUserUuid
in interface PortletItemModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
PortletItemModel
setUserUuid
in interface PortletItemModel
userUuid
- the user uuid of this portlet itempublic String getUserName()
PortletItemModel
getUserName
in interface PortletItemModel
public void setUserName(String userName)
PortletItemModel
setUserName
in interface PortletItemModel
userName
- the user name of this portlet itempublic Date getCreateDate()
PortletItemModel
getCreateDate
in interface PortletItemModel
public void setCreateDate(Date createDate)
PortletItemModel
setCreateDate
in interface PortletItemModel
createDate
- the create date of this portlet itempublic Date getModifiedDate()
PortletItemModel
getModifiedDate
in interface PortletItemModel
public void setModifiedDate(Date modifiedDate)
PortletItemModel
setModifiedDate
in interface PortletItemModel
modifiedDate
- the modified date of this portlet itempublic String getName()
PortletItemModel
getName
in interface PortletItemModel
public void setName(String name)
PortletItemModel
setName
in interface PortletItemModel
name
- the name of this portlet itempublic String getOriginalName()
public String getPortletId()
PortletItemModel
getPortletId
in interface PortletItemModel
public void setPortletId(String portletId)
PortletItemModel
setPortletId
in interface PortletItemModel
portletId
- the portlet id of this portlet itempublic String getOriginalPortletId()
public String getClassName()
PortletItemModel
getClassName
in interface PortletItemModel
public long getClassNameId()
PortletItemModel
getClassNameId
in interface PortletItemModel
public void setClassNameId(long classNameId)
PortletItemModel
setClassNameId
in interface PortletItemModel
classNameId
- the class name id of this portlet itempublic long getOriginalClassNameId()
public PortletItem toEscapedModel()
PortletItemModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface PortletItemModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<PortletItem>
getExpandoBridge
in interface PortletItemModel
getExpandoBridge
in class BaseModelImpl<PortletItem>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<PortletItem>
setExpandoBridgeAttributes
in interface PortletItemModel
setExpandoBridgeAttributes
in class BaseModelImpl<PortletItem>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<PortletItem>
clone
in interface PortletItemModel
clone
in class BaseModelImpl<PortletItem>
public int compareTo(PortletItem portletItem)
compareTo
in interface PortletItemModel
compareTo
in interface Comparable<PortletItem>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface PortletItemModel
hashCode
in class Object
public String toString()
toString
in interface PortletItemModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<PortletItem>
toXmlString
in interface PortletItemModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |