|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.ServiceComponentWrapper
@ProviderType public class ServiceComponentWrapper
This class is a wrapper for ServiceComponent
.
ServiceComponent
,
Serialized FormConstructor 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 |
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()
|
ServiceComponent |
getWrappedServiceComponent()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
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 |
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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ServiceComponent>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ServiceComponent>
public long getPrimaryKey()
getPrimaryKey
in interface ServiceComponentModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ServiceComponentModel
primaryKey
- the primary key of this service componentpublic long getServiceComponentId()
getServiceComponentId
in interface ServiceComponentModel
public void setServiceComponentId(long serviceComponentId)
setServiceComponentId
in interface ServiceComponentModel
serviceComponentId
- the service component ID of this service componentpublic String getBuildNamespace()
getBuildNamespace
in interface ServiceComponentModel
public void setBuildNamespace(String buildNamespace)
setBuildNamespace
in interface ServiceComponentModel
buildNamespace
- the build namespace of this service componentpublic long getBuildNumber()
getBuildNumber
in interface ServiceComponentModel
public void setBuildNumber(long buildNumber)
setBuildNumber
in interface ServiceComponentModel
buildNumber
- the build number of this service componentpublic long getBuildDate()
getBuildDate
in interface ServiceComponentModel
public void setBuildDate(long buildDate)
setBuildDate
in interface ServiceComponentModel
buildDate
- the build date of this service componentpublic String getData()
getData
in interface ServiceComponentModel
public void setData(String data)
setData
in interface ServiceComponentModel
data
- the data of this service componentpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<ServiceComponent>
isNew
in interface ServiceComponentModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<ServiceComponent>
setNew
in interface ServiceComponentModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<ServiceComponent>
isCachedModel
in interface ServiceComponentModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<ServiceComponent>
setCachedModel
in interface ServiceComponentModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<ServiceComponent>
isEscapedModel
in interface ServiceComponentModel
true
if this model instance is escaped;
false
otherwisepublic 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ServiceComponent>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ServiceComponentModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<ServiceComponent>
setExpandoBridgeAttributes
in interface ServiceComponentModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<ServiceComponent>
setExpandoBridgeAttributes
in interface ServiceComponentModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ServiceComponent>
setExpandoBridgeAttributes
in interface ServiceComponentModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<ServiceComponent>
clone
in interface ServiceComponentModel
clone
in class Object
public int compareTo(ServiceComponent serviceComponent)
compareTo
in interface ServiceComponentModel
compareTo
in interface Comparable<ServiceComponent>
public int hashCode()
hashCode
in interface ServiceComponentModel
hashCode
in class Object
public CacheModel<ServiceComponent> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ServiceComponent>
toCacheModel
in interface ServiceComponentModel
public ServiceComponent toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ServiceComponent>
toEscapedModel
in interface ServiceComponentModel
AutoEscapeBeanHandler
public ServiceComponent toUnescapedModel()
toUnescapedModel
in interface BaseModel<ServiceComponent>
toUnescapedModel
in interface ServiceComponentModel
public String toString()
toString
in interface ServiceComponentModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ServiceComponent>
toXmlString
in interface ServiceComponentModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic String getIndexesSQL()
getIndexesSQL
in interface ServiceComponent
public String getSequencesSQL()
getSequencesSQL
in interface ServiceComponent
public String getTablesSQL()
getTablesSQL
in interface ServiceComponent
public boolean equals(Object obj)
equals
in class Object
public ServiceComponent getWrappedServiceComponent()
getWrappedModel()
public ServiceComponent getWrappedModel()
getWrappedModel
in interface ModelWrapper<ServiceComponent>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ServiceComponent>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |