|
Liferay 6.0-ee | |||||||||
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 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 | |
---|---|
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 entity 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 ShardModel
public void setPrimaryKey(long pk)
ShardModel
setPrimaryKey
in interface ShardModel
pk
- the primary key of this shardpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Shard>
getPrimaryKeyObj
in interface ShardModel
public long getShardId()
ShardModel
getShardId
in interface ShardModel
public void setShardId(long shardId)
ShardModel
setShardId
in interface ShardModel
shardId
- the shard id of this shardpublic String getClassName()
ShardModel
getClassName
in interface ShardModel
public long getClassNameId()
ShardModel
getClassNameId
in interface ShardModel
public void setClassNameId(long classNameId)
ShardModel
setClassNameId
in interface ShardModel
classNameId
- the class name id of this shardpublic long getOriginalClassNameId()
public long getClassPK()
ShardModel
getClassPK
in interface ShardModel
public void setClassPK(long classPK)
ShardModel
setClassPK
in interface ShardModel
classPK
- the class p k of this shardpublic long getOriginalClassPK()
public String getName()
ShardModel
getName
in interface ShardModel
public void setName(String name)
ShardModel
setName
in interface ShardModel
name
- the name of this shardpublic String getOriginalName()
public Shard toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Shard>
toEscapedModel
in interface ShardModel
toEscapedModel
in class BaseModelImpl<Shard>
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Shard>
getExpandoBridge
in interface ShardModel
getExpandoBridge
in class BaseModelImpl<Shard>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Shard>
setExpandoBridgeAttributes
in interface ShardModel
setExpandoBridgeAttributes
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 ShardModel
clone
in class BaseModelImpl<Shard>
public int compareTo(Shard shard)
compareTo
in interface ShardModel
compareTo
in interface Comparable<Shard>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ShardModel
hashCode
in class Object
public String toString()
toString
in interface ShardModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Shard>
toXmlString
in interface ShardModel
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |