|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<PortletItem>
com.liferay.portal.model.impl.PortletItemModelImpl
@ProviderType 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.
PortletItemImpl,
PortletItem,
PortletItemModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PORTLETID_COLUMN_BITMASK
|
static long |
PORTLETITEMID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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()
Returns the fully qualified class name of this portlet item. |
long |
getClassNameId()
Returns the class name ID of this portlet item. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this portlet item. |
Date |
getCreateDate()
Returns the create date of this portlet item. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this portlet item. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
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. |
long |
getOriginalClassNameId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
String |
getOriginalPortletId()
|
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. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
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. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 |
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 |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<PortletItem> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
PortletItem |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 boolean COLUMN_BITMASK_ENABLED
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long PORTLETID_COLUMN_BITMASK
public static final long PORTLETITEMID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public PortletItemModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
PortletItemModel
getPrimaryKey in interface PortletItemModelpublic void setPrimaryKey(long primaryKey)
PortletItemModel
setPrimaryKey in interface PortletItemModelprimaryKey - the primary key of this portlet itempublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PortletItem>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface PortletItemModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<PortletItem>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface PortletItemModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PortletItem>getModelAttributes in class BaseModelImpl<PortletItem>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PortletItem>setModelAttributes in class BaseModelImpl<PortletItem>public long getMvccVersion()
PortletItemModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface PortletItemModelpublic void setMvccVersion(long mvccVersion)
PortletItemModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface PortletItemModelmvccVersion - the mvcc version of this portlet itempublic long getPortletItemId()
PortletItemModel
getPortletItemId in interface PortletItemModelpublic void setPortletItemId(long portletItemId)
PortletItemModel
setPortletItemId in interface PortletItemModelportletItemId - the portlet item ID of this portlet itempublic long getGroupId()
PortletItemModel
getGroupId in interface GroupedModelgetGroupId in interface PortletItemModelpublic void setGroupId(long groupId)
PortletItemModel
setGroupId in interface GroupedModelsetGroupId in interface PortletItemModelgroupId - the group ID of this portlet itempublic long getOriginalGroupId()
public long getCompanyId()
PortletItemModel
getCompanyId in interface AuditedModelgetCompanyId in interface PortletItemModelgetCompanyId in interface ShardedModelpublic void setCompanyId(long companyId)
PortletItemModel
setCompanyId in interface AuditedModelsetCompanyId in interface PortletItemModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this portlet itempublic long getUserId()
PortletItemModel
getUserId in interface AuditedModelgetUserId in interface PortletItemModelpublic void setUserId(long userId)
PortletItemModel
setUserId in interface AuditedModelsetUserId in interface PortletItemModeluserId - the user ID of this portlet itempublic String getUserUuid()
PortletItemModel
getUserUuid in interface AuditedModelgetUserUuid in interface PortletItemModelpublic void setUserUuid(String userUuid)
PortletItemModel
setUserUuid in interface AuditedModelsetUserUuid in interface PortletItemModeluserUuid - the user uuid of this portlet itempublic String getUserName()
PortletItemModel
getUserName in interface AuditedModelgetUserName in interface PortletItemModelpublic void setUserName(String userName)
PortletItemModel
setUserName in interface AuditedModelsetUserName in interface PortletItemModeluserName - the user name of this portlet itempublic Date getCreateDate()
PortletItemModel
getCreateDate in interface AuditedModelgetCreateDate in interface PortletItemModelpublic void setCreateDate(Date createDate)
PortletItemModel
setCreateDate in interface AuditedModelsetCreateDate in interface PortletItemModelcreateDate - the create date of this portlet itempublic Date getModifiedDate()
PortletItemModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface PortletItemModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
PortletItemModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface PortletItemModelmodifiedDate - the modified date of this portlet itempublic String getName()
PortletItemModel
getName in interface PortletItemModelpublic void setName(String name)
PortletItemModel
setName in interface PortletItemModelname - the name of this portlet itempublic String getOriginalName()
public String getPortletId()
PortletItemModel
getPortletId in interface PortletItemModelpublic void setPortletId(String portletId)
PortletItemModel
setPortletId in interface PortletItemModelportletId - the portlet ID of this portlet itempublic String getOriginalPortletId()
public String getClassName()
PortletItemModel
getClassName in interface PortletItemModelgetClassName in interface TypedModelpublic void setClassName(String className)
setClassName in interface PortletItemModelpublic long getClassNameId()
PortletItemModel
getClassNameId in interface PortletItemModelgetClassNameId in interface TypedModelpublic void setClassNameId(long classNameId)
PortletItemModel
setClassNameId in interface PortletItemModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this portlet itempublic long getOriginalClassNameId()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PortletItem>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface PortletItemModelgetExpandoBridge in class BaseModelImpl<PortletItem>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PortletItem>setExpandoBridgeAttributes in interface PortletItemModelsetExpandoBridgeAttributes in class BaseModelImpl<PortletItem>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public PortletItem toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<PortletItem>toEscapedModel in interface PortletItemModeltoEscapedModel in class BaseModelImpl<PortletItem>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<PortletItem>clone in interface PortletItemModelclone in class BaseModelImpl<PortletItem>public int compareTo(PortletItem portletItem)
compareTo in interface PortletItemModelcompareTo in interface Comparable<PortletItem>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface PortletItemModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<PortletItem>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<PortletItem>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<PortletItem>resetOriginalValues in class BaseModelImpl<PortletItem>public CacheModel<PortletItem> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<PortletItem>toCacheModel in interface PortletItemModeltoCacheModel in class BaseModelImpl<PortletItem>public String toString()
toString in interface PortletItemModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PortletItem>toXmlString in interface PortletItemModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||