Package com.liferay.portal.kernel.model
Class ServiceComponentWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ServiceComponent>
com.liferay.portal.kernel.model.ServiceComponentWrapper
- All Implemented Interfaces:
BaseModel<ServiceComponent>,ClassedModel,ModelWrapper<ServiceComponent>,MVCCModel,PersistedModel,ServiceComponent,ServiceComponentModel,Serializable,Cloneable,Comparable<ServiceComponent>
public class ServiceComponentWrapper
extends BaseModelWrapper<ServiceComponent>
implements ModelWrapper<ServiceComponent>, ServiceComponent
This class is a wrapper for ServiceComponent.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.ServiceComponent
SERVICE_COMPONENT_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the build date of this service component.Returns the build namespace of this service component.longReturns the build number of this service component.getData()Returns the data of this service component.longReturns the mvcc version of this service component.longReturns the primary key of this service component.longReturns the service component ID of this service component.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetBuildDate(long buildDate) Sets the build date of this service component.voidsetBuildNamespace(String buildNamespace) Sets the build namespace of this service component.voidsetBuildNumber(long buildNumber) Sets the build number of this service component.voidSets the data of this service component.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this service component.voidsetPrimaryKey(long primaryKey) Sets the primary key of this service component.voidsetServiceComponentId(long serviceComponentId) Sets the service component ID of this service component.protected ServiceComponentWrapperwrap(ServiceComponent serviceComponent) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ServiceComponentWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<ServiceComponent>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<ServiceComponent>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<ServiceComponent>- Specified by:
cloneWithOriginalValuesin interfaceServiceComponentModel
-
getBuildDate
public long getBuildDate()Returns the build date of this service component.- Specified by:
getBuildDatein interfaceServiceComponentModel- Returns:
- the build date of this service component
-
getBuildNamespace
Returns the build namespace of this service component.- Specified by:
getBuildNamespacein interfaceServiceComponentModel- Returns:
- the build namespace of this service component
-
getBuildNumber
public long getBuildNumber()Returns the build number of this service component.- Specified by:
getBuildNumberin interfaceServiceComponentModel- Returns:
- the build number of this service component
-
getData
Returns the data of this service component.- Specified by:
getDatain interfaceServiceComponentModel- Returns:
- the data of this service component
-
getIndexesSQL
- Specified by:
getIndexesSQLin interfaceServiceComponent
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this service component.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceServiceComponentModel- Returns:
- the mvcc version of this service component
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this service component.- Specified by:
getPrimaryKeyin interfaceServiceComponentModel- Returns:
- the primary key of this service component
-
getSequencesSQL
- Specified by:
getSequencesSQLin interfaceServiceComponent
-
getServiceComponentId
public long getServiceComponentId()Returns the service component ID of this service component.- Specified by:
getServiceComponentIdin interfaceServiceComponentModel- Returns:
- the service component ID of this service component
-
getTablesSQL
- Specified by:
getTablesSQLin interfaceServiceComponent
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setBuildDate
public void setBuildDate(long buildDate) Sets the build date of this service component.- Specified by:
setBuildDatein interfaceServiceComponentModel- Parameters:
buildDate- the build date of this service component
-
setBuildNamespace
Sets the build namespace of this service component.- Specified by:
setBuildNamespacein interfaceServiceComponentModel- Parameters:
buildNamespace- the build namespace of this service component
-
setBuildNumber
public void setBuildNumber(long buildNumber) Sets the build number of this service component.- Specified by:
setBuildNumberin interfaceServiceComponentModel- Parameters:
buildNumber- the build number of this service component
-
setData
Sets the data of this service component.- Specified by:
setDatain interfaceServiceComponentModel- Parameters:
data- the data of this service component
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this service component.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceServiceComponentModel- Parameters:
mvccVersion- the mvcc version of this service component
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this service component.- Specified by:
setPrimaryKeyin interfaceServiceComponentModel- Parameters:
primaryKey- the primary key of this service component
-
setServiceComponentId
public void setServiceComponentId(long serviceComponentId) Sets the service component ID of this service component.- Specified by:
setServiceComponentIdin interfaceServiceComponentModel- Parameters:
serviceComponentId- the service component ID of this service component
-
toXmlString
- Specified by:
toXmlStringin interfaceServiceComponentModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<ServiceComponent>
-