public class ModuleWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Module> implements com.liferay.portal.kernel.model.ModelWrapper<Module>, Module
This class is a wrapper for Module
.
Module
,
Serialized FormMODULE_ID_ACCESSOR
Constructor and Description |
---|
ModuleWrapper(Module module) |
Modifier and Type | Method and Description |
---|---|
Module |
cloneWithOriginalValues() |
long |
getAppId()
Returns the app ID of this module.
|
java.lang.String |
getBundleSymbolicName()
Returns the bundle symbolic name of this module.
|
java.lang.String |
getBundleVersion()
Returns the bundle version of this module.
|
long |
getCompanyId()
Returns the company ID of this module.
|
java.lang.String |
getContextName()
Returns the context name of this module.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getModuleId()
Returns the module ID of this module.
|
long |
getPrimaryKey()
Returns the primary key of this module.
|
java.lang.String |
getUuid()
Returns the uuid of this module.
|
boolean |
isBundle() |
void |
persist() |
void |
setAppId(long appId)
Sets the app ID of this module.
|
void |
setBundleSymbolicName(java.lang.String bundleSymbolicName)
Sets the bundle symbolic name of this module.
|
void |
setBundleVersion(java.lang.String bundleVersion)
Sets the bundle version of this module.
|
void |
setCompanyId(long companyId)
Sets the company ID of this module.
|
void |
setContextName(java.lang.String contextName)
Sets the context name of this module.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModuleId(long moduleId)
Sets the module ID of this module.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this module.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this module.
|
java.lang.String |
toXmlString() |
protected ModuleWrapper |
wrap(Module module) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
public ModuleWrapper(Module module)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Module>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Module>
public Module cloneWithOriginalValues()
cloneWithOriginalValues
in interface ModuleModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<Module>
public long getAppId()
getAppId
in interface ModuleModel
public java.lang.String getBundleSymbolicName()
getBundleSymbolicName
in interface ModuleModel
public java.lang.String getBundleVersion()
getBundleVersion
in interface ModuleModel
public long getCompanyId()
getCompanyId
in interface ModuleModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.lang.String getContextName()
getContextName
in interface ModuleModel
public long getModuleId()
getModuleId
in interface ModuleModel
public long getPrimaryKey()
getPrimaryKey
in interface ModuleModel
public java.lang.String getUuid()
getUuid
in interface ModuleModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAppId(long appId)
setAppId
in interface ModuleModel
appId
- the app ID of this modulepublic void setBundleSymbolicName(java.lang.String bundleSymbolicName)
setBundleSymbolicName
in interface ModuleModel
bundleSymbolicName
- the bundle symbolic name of this modulepublic void setBundleVersion(java.lang.String bundleVersion)
setBundleVersion
in interface ModuleModel
bundleVersion
- the bundle version of this modulepublic void setCompanyId(long companyId)
setCompanyId
in interface ModuleModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this modulepublic void setContextName(java.lang.String contextName)
setContextName
in interface ModuleModel
contextName
- the context name of this modulepublic void setModuleId(long moduleId)
setModuleId
in interface ModuleModel
moduleId
- the module ID of this modulepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ModuleModel
primaryKey
- the primary key of this modulepublic void setUuid(java.lang.String uuid)
setUuid
in interface ModuleModel
uuid
- the uuid of this modulepublic java.lang.String toXmlString()
toXmlString
in interface ModuleModel
protected ModuleWrapper wrap(Module module)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Module>