|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Shard>
com.liferay.portal.model.impl.ShardModelImpl
public class ShardModelImpl
The base model implementation for the Shard service. Represents a row in the "Shard" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ShardModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShardImpl.
ShardImpl,
Shard,
ShardModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static long |
SHARDID_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
ShardModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Shard shard)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this shard. |
long |
getClassNameId()
Returns the class name ID of this shard. |
long |
getClassPK()
Returns the class p k of this shard. |
long |
getColumnBitmask()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this shard. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
String |
getOriginalName()
|
long |
getPrimaryKey()
Returns the primary key of this shard. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getShardId()
Returns the shard ID of this shard. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this shard. |
void |
setClassPK(long classPK)
Sets the class p k of this shard. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this shard. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this shard. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setShardId(long shardId)
Sets the shard ID of this shard. |
CacheModel<Shard> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Shard |
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.ShardModel |
|---|
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 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 long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long SHARDID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ShardModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ShardModel
getPrimaryKey in interface ShardModelpublic void setPrimaryKey(long primaryKey)
ShardModel
setPrimaryKey in interface ShardModelprimaryKey - the primary key of this shardpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Shard>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ShardModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Shard>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ShardModelprimaryKeyObj - 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<Shard>getModelAttributes in class BaseModelImpl<Shard>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Shard>setModelAttributes in class BaseModelImpl<Shard>public long getShardId()
ShardModel
getShardId in interface ShardModelpublic void setShardId(long shardId)
ShardModel
setShardId in interface ShardModelshardId - the shard ID of this shardpublic String getClassName()
ShardModel
getClassName in interface ShardModelgetClassName in interface TypedModelpublic void setClassName(String className)
setClassName in interface ShardModelpublic long getClassNameId()
ShardModel
getClassNameId in interface ShardModelgetClassNameId in interface TypedModelpublic void setClassNameId(long classNameId)
ShardModel
setClassNameId in interface ShardModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this shardpublic long getOriginalClassNameId()
public long getClassPK()
ShardModel
getClassPK in interface AttachedModelgetClassPK in interface ShardModelpublic void setClassPK(long classPK)
ShardModel
setClassPK in interface AttachedModelsetClassPK in interface ShardModelclassPK - the class p k of this shardpublic long getOriginalClassPK()
public String getName()
ShardModel
getName in interface ShardModelpublic void setName(String name)
ShardModel
setName in interface ShardModelname - the name of this shardpublic String getOriginalName()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Shard>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ShardModelgetExpandoBridge in class BaseModelImpl<Shard>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Shard>setExpandoBridgeAttributes in interface ShardModelsetExpandoBridgeAttributes in class BaseModelImpl<Shard>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Shard toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Shard>toEscapedModel in interface ShardModeltoEscapedModel in class BaseModelImpl<Shard>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<Shard>clone in interface ShardModelclone in class BaseModelImpl<Shard>public int compareTo(Shard shard)
compareTo in interface ShardModelcompareTo in interface Comparable<Shard>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ShardModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Shard>resetOriginalValues in class BaseModelImpl<Shard>public CacheModel<Shard> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Shard>toCacheModel in interface ShardModeltoCacheModel in class BaseModelImpl<Shard>public String toString()
toString in interface ShardModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Shard>toXmlString in interface ShardModel
|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||