|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<DDMTemplateLink>
com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateLinkModelImpl
@ProviderType public class DDMTemplateLinkModelImpl
The base model implementation for the DDMTemplateLink service. Represents a row in the "DDMTemplateLink" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DDMTemplateLinkModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DDMTemplateLinkImpl.
DDMTemplateLinkImpl,
DDMTemplateLink,
DDMTemplateLinkModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_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 String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
TEMPLATEID_COLUMN_BITMASK
|
static long |
TEMPLATELINKID_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
DDMTemplateLinkModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDMTemplateLink ddmTemplateLink)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this d d m template link. |
long |
getClassNameId()
Returns the class name ID of this d d m template link. |
long |
getClassPK()
Returns the class p k of this d d m template link. |
long |
getColumnBitmask()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalTemplateId()
|
long |
getPrimaryKey()
Returns the primary key of this d d m template link. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTemplateId()
Returns the template ID of this d d m template link. |
long |
getTemplateLinkId()
Returns the template link ID of this d d m template link. |
int |
hashCode()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this d d m template link. |
void |
setClassPK(long classPK)
Sets the class p k of this d d m template link. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d d m template link. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTemplateId(long templateId)
Sets the template ID of this d d m template link. |
void |
setTemplateLinkId(long templateLinkId)
Sets the template link ID of this d d m template link. |
CacheModel<DDMTemplateLink> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DDMTemplateLink |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.dynamicdatamapping.model.DDMTemplateLinkModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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 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 CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long TEMPLATEID_COLUMN_BITMASK
public static final long TEMPLATELINKID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public DDMTemplateLinkModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
DDMTemplateLinkModel
getPrimaryKey in interface DDMTemplateLinkModelpublic void setPrimaryKey(long primaryKey)
DDMTemplateLinkModel
setPrimaryKey in interface DDMTemplateLinkModelprimaryKey - the primary key of this d d m template linkpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDMTemplateLink>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMTemplateLinkModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDMTemplateLink>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMTemplateLinkModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DDMTemplateLink>getModelAttributes in class BaseModelImpl<DDMTemplateLink>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DDMTemplateLink>setModelAttributes in class BaseModelImpl<DDMTemplateLink>public long getTemplateLinkId()
DDMTemplateLinkModel
getTemplateLinkId in interface DDMTemplateLinkModelpublic void setTemplateLinkId(long templateLinkId)
DDMTemplateLinkModel
setTemplateLinkId in interface DDMTemplateLinkModeltemplateLinkId - the template link ID of this d d m template linkpublic String getClassName()
DDMTemplateLinkModel
getClassName in interface TypedModelgetClassName in interface DDMTemplateLinkModelpublic void setClassName(String className)
setClassName in interface DDMTemplateLinkModelpublic long getClassNameId()
DDMTemplateLinkModel
getClassNameId in interface TypedModelgetClassNameId in interface DDMTemplateLinkModelpublic void setClassNameId(long classNameId)
DDMTemplateLinkModel
setClassNameId in interface TypedModelsetClassNameId in interface DDMTemplateLinkModelclassNameId - the class name ID of this d d m template linkpublic long getOriginalClassNameId()
public long getClassPK()
DDMTemplateLinkModel
getClassPK in interface AttachedModelgetClassPK in interface DDMTemplateLinkModelpublic void setClassPK(long classPK)
DDMTemplateLinkModel
setClassPK in interface AttachedModelsetClassPK in interface DDMTemplateLinkModelclassPK - the class p k of this d d m template linkpublic long getOriginalClassPK()
public long getTemplateId()
DDMTemplateLinkModel
getTemplateId in interface DDMTemplateLinkModelpublic void setTemplateId(long templateId)
DDMTemplateLinkModel
setTemplateId in interface DDMTemplateLinkModeltemplateId - the template ID of this d d m template linkpublic long getOriginalTemplateId()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMTemplateLink>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMTemplateLinkModelgetExpandoBridge in class BaseModelImpl<DDMTemplateLink>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMTemplateLink>setExpandoBridgeAttributes in interface DDMTemplateLinkModelsetExpandoBridgeAttributes in class BaseModelImpl<DDMTemplateLink>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public DDMTemplateLink toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDMTemplateLink>toEscapedModel in interface DDMTemplateLinkModeltoEscapedModel in class BaseModelImpl<DDMTemplateLink>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<DDMTemplateLink>clone in interface DDMTemplateLinkModelclone in class BaseModelImpl<DDMTemplateLink>public int compareTo(DDMTemplateLink ddmTemplateLink)
compareTo in interface DDMTemplateLinkModelcompareTo in interface Comparable<DDMTemplateLink>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface DDMTemplateLinkModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<DDMTemplateLink>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<DDMTemplateLink>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMTemplateLink>resetOriginalValues in class BaseModelImpl<DDMTemplateLink>public CacheModel<DDMTemplateLink> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDMTemplateLink>toCacheModel in interface DDMTemplateLinkModeltoCacheModel in class BaseModelImpl<DDMTemplateLink>public String toString()
toString in interface DDMTemplateLinkModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMTemplateLink>toXmlString in interface DDMTemplateLinkModel
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||