|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ServiceComponent>
com.liferay.portal.model.impl.ServiceComponentModelImpl
public class ServiceComponentModelImpl
The base model implementation for the ServiceComponent service. Represents a row in the "ServiceComponent" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ServiceComponentModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ServiceComponentImpl.
ServiceComponentImpl,
ServiceComponent,
ServiceComponentModel,
Serialized Form| Field Summary | |
|---|---|
static long |
BUILDNAMESPACE_COLUMN_BITMASK
|
static long |
BUILDNUMBER_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 String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
ServiceComponentModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ServiceComponent serviceComponent)
|
boolean |
equals(Object obj)
|
long |
getBuildDate()
Returns the build date of this service component. |
String |
getBuildNamespace()
Returns the build namespace of this service component. |
long |
getBuildNumber()
Returns the build number of this service component. |
long |
getColumnBitmask()
|
String |
getData()
Returns the data of this service component. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getOriginalBuildNamespace()
|
long |
getOriginalBuildNumber()
|
long |
getPrimaryKey()
Returns the primary key of this service component. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getServiceComponentId()
Returns the service component ID of this service component. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setBuildDate(long buildDate)
Sets the build date of this service component. |
void |
setBuildNamespace(String buildNamespace)
Sets the build namespace of this service component. |
void |
setBuildNumber(long buildNumber)
Sets the build number of this service component. |
void |
setData(String data)
Sets the data of this service component. |
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 service component. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setServiceComponentId(long serviceComponentId)
Sets the service component ID of this service component. |
CacheModel<ServiceComponent> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ServiceComponent |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
ServiceComponent |
toUnescapedModel()
|
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, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.ServiceComponentModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, 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 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 long BUILDNAMESPACE_COLUMN_BITMASK
public static long BUILDNUMBER_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ServiceComponentModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ServiceComponentModel
getPrimaryKey in interface ServiceComponentModelpublic void setPrimaryKey(long primaryKey)
ServiceComponentModel
setPrimaryKey in interface ServiceComponentModelprimaryKey - the primary key of this service componentpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ServiceComponent>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ServiceComponentModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ServiceComponent>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ServiceComponentModelprimaryKeyObj - 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<ServiceComponent>getModelAttributes in class BaseModelImpl<ServiceComponent>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ServiceComponent>setModelAttributes in class BaseModelImpl<ServiceComponent>public long getServiceComponentId()
ServiceComponentModel
getServiceComponentId in interface ServiceComponentModelpublic void setServiceComponentId(long serviceComponentId)
ServiceComponentModel
setServiceComponentId in interface ServiceComponentModelserviceComponentId - the service component ID of this service componentpublic String getBuildNamespace()
ServiceComponentModel
getBuildNamespace in interface ServiceComponentModelpublic void setBuildNamespace(String buildNamespace)
ServiceComponentModel
setBuildNamespace in interface ServiceComponentModelbuildNamespace - the build namespace of this service componentpublic String getOriginalBuildNamespace()
public long getBuildNumber()
ServiceComponentModel
getBuildNumber in interface ServiceComponentModelpublic void setBuildNumber(long buildNumber)
ServiceComponentModel
setBuildNumber in interface ServiceComponentModelbuildNumber - the build number of this service componentpublic long getOriginalBuildNumber()
public long getBuildDate()
ServiceComponentModel
getBuildDate in interface ServiceComponentModelpublic void setBuildDate(long buildDate)
ServiceComponentModel
setBuildDate in interface ServiceComponentModelbuildDate - the build date of this service componentpublic String getData()
ServiceComponentModel
getData in interface ServiceComponentModelpublic void setData(String data)
ServiceComponentModel
setData in interface ServiceComponentModeldata - the data of this service componentpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ServiceComponent>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ServiceComponentModelgetExpandoBridge in class BaseModelImpl<ServiceComponent>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ServiceComponent>setExpandoBridgeAttributes in interface ServiceComponentModelsetExpandoBridgeAttributes in class BaseModelImpl<ServiceComponent>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public ServiceComponent toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ServiceComponent>toEscapedModel in interface ServiceComponentModeltoEscapedModel in class BaseModelImpl<ServiceComponent>AutoEscapeBeanHandlerpublic ServiceComponent toUnescapedModel()
toUnescapedModel in interface BaseModel<ServiceComponent>toUnescapedModel in interface ServiceComponentModeltoUnescapedModel in class BaseModelImpl<ServiceComponent>public Object clone()
BaseModel
clone in interface BaseModel<ServiceComponent>clone in interface ServiceComponentModelclone in class BaseModelImpl<ServiceComponent>public int compareTo(ServiceComponent serviceComponent)
compareTo in interface ServiceComponentModelcompareTo in interface Comparable<ServiceComponent>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ServiceComponentModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ServiceComponent>resetOriginalValues in class BaseModelImpl<ServiceComponent>public CacheModel<ServiceComponent> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ServiceComponent>toCacheModel in interface ServiceComponentModeltoCacheModel in class BaseModelImpl<ServiceComponent>public String toString()
toString in interface ServiceComponentModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ServiceComponent>toXmlString in interface ServiceComponentModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||