com.liferay.portal.model.impl
Class ClassNameModelImpl
java.lang.Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
com.liferay.portal.model.impl.ClassNameModelImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ClassNameModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.ClassName>
- Direct Known Subclasses:
- ClassNameBaseImpl
@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
The base model implementation for the ClassName service. Represents a row in the "ClassName_" database table, with each column mapped to a property of this class.
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.
- See Also:
ClassNameImpl,
ClassName,
ClassNameModel,
Serialized Form- {$generated.description}
| Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from interface com.liferay.portal.kernel.model.ClassNameModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final Object[][] TABLE_COLUMNS
TABLE_COLUMNS_MAP
public static final Map<String,Integer> TABLE_COLUMNS_MAP
TABLE_SQL_CREATE
public static final String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
VALUE_COLUMN_BITMASK
public static final long VALUE_COLUMN_BITMASK
- See Also:
- Constant Field Values
CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSNAMEID_COLUMN_BITMASK
- See Also:
- Constant Field Values
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
ClassNameModelImpl
public ClassNameModelImpl()
toModel
public 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.
- Parameters:
soapModel - the soap model instance to convert
- Returns:
- the normal model instance
toModels
public 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.
- Parameters:
soapModels - the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portal.kernel.model.ClassNameModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portal.kernel.model.ClassNameModel
getPrimaryKeyObj
public Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassNameModel
setPrimaryKeyObj
public void setPrimaryKeyObj(Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassNameModel
getModelClass
public Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel
getModelClassName
public String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
getModelAttributes
public Map<String,Object> getModelAttributes()
- Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
setModelAttributes
public void setModelAttributes(Map<String,Object> attributes)
- Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
getMvccVersion
@JSON
public long getMvccVersion()
- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.ClassNameModel- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
public void setMvccVersion(long mvccVersion)
- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.ClassNameModel- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
getClassName
public String getClassName()
- Specified by:
getClassName in interface com.liferay.portal.kernel.model.ClassNameModel- Specified by:
getClassName in interface com.liferay.portal.kernel.model.TypedModel
setClassName
public void setClassName(String className)
- Specified by:
setClassName in interface com.liferay.portal.kernel.model.ClassNameModel
getClassNameId
@JSON
public long getClassNameId()
- Specified by:
getClassNameId in interface com.liferay.portal.kernel.model.ClassNameModel- Specified by:
getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
setClassNameId
public void setClassNameId(long classNameId)
- Specified by:
setClassNameId in interface com.liferay.portal.kernel.model.ClassNameModel- Specified by:
setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
getValue
@JSON
public String getValue()
- Specified by:
getValue in interface com.liferay.portal.kernel.model.ClassNameModel
setValue
public void setValue(String value)
- Specified by:
setValue in interface com.liferay.portal.kernel.model.ClassNameModel
getOriginalValue
public String getOriginalValue()
getColumnBitmask
public long getColumnBitmask()
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassNameModel- Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.ClassNameModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
toEscapedModel
public com.liferay.portal.kernel.model.ClassName toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.ClassNameModel- Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
clone
public Object clone()
- Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Specified by:
clone in interface com.liferay.portal.kernel.model.ClassNameModel- Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
compareTo
public int compareTo(com.liferay.portal.kernel.model.ClassName className)
- Specified by:
compareTo in interface com.liferay.portal.kernel.model.ClassNameModel- Specified by:
compareTo in interface Comparable<com.liferay.portal.kernel.model.ClassName>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portal.kernel.model.ClassNameModel- Overrides:
hashCode in class Object
isEntityCacheEnabled
public boolean isEntityCacheEnabled()
- Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
isFinderCacheEnabled
public boolean isFinderCacheEnabled()
- Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.ClassName> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.ClassNameModel- Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.ClassName>
toString
public String toString()
- Specified by:
toString in interface com.liferay.portal.kernel.model.ClassNameModel- Overrides:
toString in class Object
toXmlString
public String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.ClassName>- Specified by:
toXmlString in interface com.liferay.portal.kernel.model.ClassNameModel