public class ShardModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Shard>
implements com.liferay.portal.model.ShardModel
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| Modifier and Type | Field and Description |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK |
static long |
CLASSPK_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static long |
SHARDID_COLUMN_BITMASK |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
| Constructor and Description |
|---|
ShardModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portal.model.Shard shard) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.lang.String |
getName() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
java.lang.String |
getOriginalName() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getShardId() |
int |
hashCode() |
void |
resetOriginalValues() |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setName(java.lang.String name) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setShardId(long shardId) |
com.liferay.portal.model.CacheModel<com.liferay.portal.model.Shard> |
toCacheModel() |
com.liferay.portal.model.Shard |
toEscapedModel() |
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.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
public long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.model.ShardModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.model.ShardModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portal.model.ShardModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portal.model.ShardModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Shard>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Shard>public long getShardId()
getShardId in interface com.liferay.portal.model.ShardModelpublic void setShardId(long shardId)
setShardId in interface com.liferay.portal.model.ShardModelpublic java.lang.String getClassName()
getClassName in interface com.liferay.portal.model.ShardModelgetClassName in interface com.liferay.portal.model.TypedModelpublic void setClassName(java.lang.String className)
setClassName in interface com.liferay.portal.model.ShardModelpublic long getClassNameId()
getClassNameId in interface com.liferay.portal.model.ShardModelgetClassNameId in interface com.liferay.portal.model.TypedModelpublic void setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.model.ShardModelsetClassNameId in interface com.liferay.portal.model.TypedModelpublic long getOriginalClassNameId()
public long getClassPK()
getClassPK in interface com.liferay.portal.model.AttachedModelgetClassPK in interface com.liferay.portal.model.ShardModelpublic void setClassPK(long classPK)
setClassPK in interface com.liferay.portal.model.AttachedModelsetClassPK in interface com.liferay.portal.model.ShardModelpublic long getOriginalClassPK()
public java.lang.String getName()
getName in interface com.liferay.portal.model.ShardModelpublic void setName(java.lang.String name)
setName in interface com.liferay.portal.model.ShardModelpublic java.lang.String getOriginalName()
public long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portal.model.ShardModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Shard>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>setExpandoBridgeAttributes in interface com.liferay.portal.model.ShardModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Shard>public com.liferay.portal.model.Shard toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>toEscapedModel in interface com.liferay.portal.model.ShardModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Shard>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>clone in interface com.liferay.portal.model.ShardModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Shard>public int compareTo(com.liferay.portal.model.Shard shard)
compareTo in interface com.liferay.portal.model.ShardModelcompareTo in interface java.lang.Comparable<com.liferay.portal.model.Shard>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portal.model.ShardModelhashCode in class java.lang.Objectpublic void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Shard>public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Shard> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>toCacheModel in interface com.liferay.portal.model.ShardModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Shard>public java.lang.String toString()
toString in interface com.liferay.portal.model.ShardModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Shard>toXmlString in interface com.liferay.portal.model.ShardModel