|
Liferay 6.0.4 | |||||||||
| 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.
Never modify or reference this class directly. All methods that expect a shard model instance should use the Shard interface instead.
ShardImpl,
Shard,
ShardModel,
Serialized Form| Field 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 | |
|---|---|
ShardModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Shard shard)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Gets the class name of the model instance this shard is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this shard. |
long |
getClassPK()
Gets the class p k of this shard. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
Gets the name of this shard. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
String |
getOriginalName()
|
long |
getPrimaryKey()
Gets the primary key of this shard. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getShardId()
Gets the shard id of this shard. |
int |
hashCode()
|
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 |
setName(String name)
Sets the name of this shard. |
void |
setPrimaryKey(long pk)
Sets the primary key of this shard |
void |
setShardId(long shardId)
Sets the shard id of this shard. |
Shard |
toEscapedModel()
Gets a copy of this shard 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.ShardModel |
|---|
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 ShardModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ShardModel
getPrimaryKey in interface ShardModelpublic void setPrimaryKey(long pk)
ShardModel
setPrimaryKey in interface ShardModelpk - the primary key of this shardpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Shard>getPrimaryKeyObj in interface ShardModelpublic 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 ShardModelpublic long getClassNameId()
ShardModel
getClassNameId in interface ShardModelpublic void setClassNameId(long classNameId)
ShardModel
setClassNameId in interface ShardModelclassNameId - the class name id of this shardpublic long getOriginalClassNameId()
public long getClassPK()
ShardModel
getClassPK in interface ShardModelpublic void setClassPK(long classPK)
ShardModel
setClassPK 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 Shard toEscapedModel()
ShardModelAutoEscapeBeanHandler.
toEscapedModel in interface ShardModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Shard>getExpandoBridge 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 retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public 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 String toString()
toString in interface ShardModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Shard>toXmlString in interface ShardModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||