@JSON(strict=true)
@ProviderType
public class ClassNameModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
implements com.liferay.portal.kernel.model.ClassNameModel
This implementation and its corresponding interface ClassNameModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ClassNameImpl
.
ClassNameImpl
,
ClassName
,
ClassNameModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
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 |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
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 |
static long |
VALUE_COLUMN_BITMASK |
Constructor and Description |
---|
ClassNameModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.ClassName className) |
boolean |
equals(Object obj) |
String |
getClassName() |
long |
getClassNameId() |
long |
getColumnBitmask() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion() |
String |
getOriginalValue() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
String |
getValue() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setValue(String value) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.ClassName> |
toCacheModel() |
com.liferay.portal.kernel.model.ClassName |
toEscapedModel() |
static com.liferay.portal.kernel.model.ClassName |
toModel(com.liferay.portal.kernel.model.ClassNameSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.ClassName> |
toModels(com.liferay.portal.kernel.model.ClassNameSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
String |
toString() |
String |
toXmlString() |
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 VALUE_COLUMN_BITMASK
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.kernel.model.ClassName toModel(com.liferay.portal.kernel.model.ClassNameSoap soapModel)
soapModel
- the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.ClassName> toModels(com.liferay.portal.kernel.model.ClassNameSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.ClassNameModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.ClassNameModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassNameModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassNameModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.ClassNameModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.ClassNameModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.ClassNameModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassName(String className)
setClassName
in interface com.liferay.portal.kernel.model.ClassNameModel
@JSON public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.ClassNameModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.ClassNameModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
@JSON public String getValue()
getValue
in interface com.liferay.portal.kernel.model.ClassNameModel
public void setValue(String value)
setValue
in interface com.liferay.portal.kernel.model.ClassNameModel
public String getOriginalValue()
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassNameModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.ClassNameModel
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
public com.liferay.portal.kernel.model.ClassName toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
toEscapedModel
in interface com.liferay.portal.kernel.model.ClassNameModel
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
clone
in interface com.liferay.portal.kernel.model.ClassNameModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
public int compareTo(com.liferay.portal.kernel.model.ClassName className)
compareTo
in interface com.liferay.portal.kernel.model.ClassNameModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.ClassName>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.ClassNameModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.ClassName> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
toCacheModel
in interface com.liferay.portal.kernel.model.ClassNameModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
public String toString()
toString
in interface com.liferay.portal.kernel.model.ClassNameModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
toXmlString
in interface com.liferay.portal.kernel.model.ClassNameModel