|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 ServiceComponentModel
public void setPrimaryKey(long primaryKey)
ServiceComponentModel
setPrimaryKey
in interface ServiceComponentModel
primaryKey
- the primary key of this service componentpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ServiceComponent>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ServiceComponentModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ServiceComponent>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ServiceComponentModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 ServiceComponentModel
public void setServiceComponentId(long serviceComponentId)
ServiceComponentModel
setServiceComponentId
in interface ServiceComponentModel
serviceComponentId
- the service component ID of this service componentpublic String getBuildNamespace()
ServiceComponentModel
getBuildNamespace
in interface ServiceComponentModel
public void setBuildNamespace(String buildNamespace)
ServiceComponentModel
setBuildNamespace
in interface ServiceComponentModel
buildNamespace
- the build namespace of this service componentpublic String getOriginalBuildNamespace()
public long getBuildNumber()
ServiceComponentModel
getBuildNumber
in interface ServiceComponentModel
public void setBuildNumber(long buildNumber)
ServiceComponentModel
setBuildNumber
in interface ServiceComponentModel
buildNumber
- the build number of this service componentpublic long getOriginalBuildNumber()
public long getBuildDate()
ServiceComponentModel
getBuildDate
in interface ServiceComponentModel
public void setBuildDate(long buildDate)
ServiceComponentModel
setBuildDate
in interface ServiceComponentModel
buildDate
- the build date of this service componentpublic String getData()
ServiceComponentModel
getData
in interface ServiceComponentModel
public void setData(String data)
ServiceComponentModel
setData
in interface ServiceComponentModel
data
- the data of this service componentpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ServiceComponent>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ServiceComponentModel
getExpandoBridge
in class BaseModelImpl<ServiceComponent>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ServiceComponent>
setExpandoBridgeAttributes
in interface ServiceComponentModel
setExpandoBridgeAttributes
in class BaseModelImpl<ServiceComponent>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public ServiceComponent toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ServiceComponent>
toEscapedModel
in interface ServiceComponentModel
toEscapedModel
in class BaseModelImpl<ServiceComponent>
AutoEscapeBeanHandler
public ServiceComponent toUnescapedModel()
toUnescapedModel
in interface BaseModel<ServiceComponent>
toUnescapedModel
in interface ServiceComponentModel
toUnescapedModel
in class BaseModelImpl<ServiceComponent>
public Object clone()
BaseModel
clone
in interface BaseModel<ServiceComponent>
clone
in interface ServiceComponentModel
clone
in class BaseModelImpl<ServiceComponent>
public int compareTo(ServiceComponent serviceComponent)
compareTo
in interface ServiceComponentModel
compareTo
in interface Comparable<ServiceComponent>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ServiceComponentModel
hashCode
in class Object
public 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 ServiceComponentModel
toCacheModel
in class BaseModelImpl<ServiceComponent>
public String toString()
toString
in interface ServiceComponentModel
toString
in class Object
public 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 |