|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.ServiceComponentWrapper
@ProviderType public class ServiceComponentWrapper
This class is a wrapper for ServiceComponent.
ServiceComponent,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.ServiceComponent |
|---|
SERVICE_COMPONENT_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
ServiceComponentWrapper(ServiceComponent serviceComponent)
|
|
| 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. |
String |
getData()
Returns the data of this service component. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getIndexesSQL()
|
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this service component. |
long |
getPrimaryKey()
Returns the primary key of this service component. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getSequencesSQL()
|
long |
getServiceComponentId()
Returns the service component ID of this service component. |
String |
getTablesSQL()
|
ServiceComponent |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setData(String data)
Sets the data of this service component. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this service component. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceComponentWrapper(ServiceComponent serviceComponent)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ServiceComponent>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ServiceComponent>public Object clone()
BaseModel
clone in interface BaseModel<ServiceComponent>clone in interface ServiceComponentModelclone in class Objectpublic int compareTo(ServiceComponent serviceComponent)
compareTo in interface ServiceComponentModelcompareTo in interface Comparable<ServiceComponent>public long getBuildDate()
getBuildDate in interface ServiceComponentModelpublic String getBuildNamespace()
getBuildNamespace in interface ServiceComponentModelpublic long getBuildNumber()
getBuildNumber in interface ServiceComponentModelpublic String getData()
getData in interface ServiceComponentModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ServiceComponent>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ServiceComponentModelpublic String getIndexesSQL()
getIndexesSQL in interface ServiceComponentpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface ServiceComponentModelpublic long getPrimaryKey()
getPrimaryKey in interface ServiceComponentModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ServiceComponent>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ServiceComponentModelpublic String getSequencesSQL()
getSequencesSQL in interface ServiceComponentpublic long getServiceComponentId()
getServiceComponentId in interface ServiceComponentModelpublic String getTablesSQL()
getTablesSQL in interface ServiceComponentpublic int hashCode()
hashCode in interface ServiceComponentModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<ServiceComponent>isCachedModel in interface ServiceComponentModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<ServiceComponent>isEscapedModel in interface ServiceComponentModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<ServiceComponent>isNew in interface ServiceComponentModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setBuildDate(long buildDate)
setBuildDate in interface ServiceComponentModelbuildDate - the build date of this service componentpublic void setBuildNamespace(String buildNamespace)
setBuildNamespace in interface ServiceComponentModelbuildNamespace - the build namespace of this service componentpublic void setBuildNumber(long buildNumber)
setBuildNumber in interface ServiceComponentModelbuildNumber - the build number of this service componentpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ServiceComponent>setCachedModel in interface ServiceComponentModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setData(String data)
setData in interface ServiceComponentModeldata - the data of this service componentpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ServiceComponent>setExpandoBridgeAttributes in interface ServiceComponentModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ServiceComponent>setExpandoBridgeAttributes in interface ServiceComponentModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ServiceComponent>setExpandoBridgeAttributes in interface ServiceComponentModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface ServiceComponentModelmvccVersion - the mvcc version of this service componentpublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ServiceComponent>setNew in interface ServiceComponentModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ServiceComponentModelprimaryKey - the primary key of this service componentpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ServiceComponent>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ServiceComponentModelprimaryKeyObj - the primary key of this model instancepublic void setServiceComponentId(long serviceComponentId)
setServiceComponentId in interface ServiceComponentModelserviceComponentId - the service component ID of this service componentpublic CacheModel<ServiceComponent> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ServiceComponent>toCacheModel in interface ServiceComponentModelpublic ServiceComponent toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ServiceComponent>toEscapedModel in interface ServiceComponentModelAutoEscapeBeanHandlerpublic String toString()
toString in interface ServiceComponentModeltoString in class Objectpublic ServiceComponent toUnescapedModel()
toUnescapedModel in interface BaseModel<ServiceComponent>toUnescapedModel in interface ServiceComponentModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ServiceComponent>toXmlString in interface ServiceComponentModelpublic boolean equals(Object obj)
equals in class Objectpublic ServiceComponent getWrappedModel()
getWrappedModel in interface ModelWrapper<ServiceComponent>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<ServiceComponent>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<ServiceComponent>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ServiceComponent>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||