public class ModuleWrapper extends java.lang.Object 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 |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(Module module) |
boolean |
equals(java.lang.Object object) |
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.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getModuleId()
Returns the module ID of this module.
|
long |
getPrimaryKey()
Returns the primary key of this module.
|
java.io.Serializable |
getPrimaryKeyObj() |
java.lang.String |
getUuid()
Returns the uuid of this module.
|
Module |
getWrappedModel() |
int |
hashCode() |
boolean |
isBundle() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
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 |
setCachedModel(boolean cachedModel) |
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 |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModuleId(long moduleId)
Sets the module ID of this module.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this module.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUuid(java.lang.String uuid)
Sets the uuid of this module.
|
com.liferay.portal.kernel.model.CacheModel<Module> |
toCacheModel() |
Module |
toEscapedModel() |
java.lang.String |
toString() |
Module |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public ModuleWrapper(Module module)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 java.lang.Object clone()
clone in interface ModuleModelclone in interface com.liferay.portal.kernel.model.BaseModel<Module>clone in class java.lang.Objectpublic int compareTo(Module module)
compareTo in interface ModuleModelcompareTo in interface java.lang.Comparable<Module>public long getAppId()
getAppId in interface ModuleModelpublic java.lang.String getBundleSymbolicName()
getBundleSymbolicName in interface ModuleModelpublic java.lang.String getBundleVersion()
getBundleVersion in interface ModuleModelpublic long getCompanyId()
getCompanyId in interface ModuleModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.lang.String getContextName()
getContextName in interface ModuleModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface ModuleModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<Module>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic long getModuleId()
getModuleId in interface ModuleModelpublic long getPrimaryKey()
getPrimaryKey in interface ModuleModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface ModuleModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<Module>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getUuid()
getUuid in interface ModuleModelpublic int hashCode()
hashCode in interface ModuleModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface ModuleModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<Module>public boolean isEscapedModel()
isEscapedModel in interface ModuleModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<Module>public boolean isNew()
isNew in interface ModuleModelisNew in interface com.liferay.portal.kernel.model.BaseModel<Module>public void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAppId(long appId)
setAppId in interface ModuleModelappId - the app ID of this modulepublic void setBundleSymbolicName(java.lang.String bundleSymbolicName)
setBundleSymbolicName in interface ModuleModelbundleSymbolicName - the bundle symbolic name of this modulepublic void setBundleVersion(java.lang.String bundleVersion)
setBundleVersion in interface ModuleModelbundleVersion - the bundle version of this modulepublic void setCachedModel(boolean cachedModel)
setCachedModel in interface ModuleModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<Module>public void setCompanyId(long companyId)
setCompanyId in interface ModuleModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this modulepublic void setContextName(java.lang.String contextName)
setContextName in interface ModuleModelcontextName - the context name of this modulepublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface ModuleModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<Module>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface ModuleModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<Module>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface ModuleModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<Module>public void setModuleId(long moduleId)
setModuleId in interface ModuleModelmoduleId - the module ID of this modulepublic void setNew(boolean n)
setNew in interface ModuleModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<Module>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ModuleModelprimaryKey - the primary key of this modulepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface ModuleModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<Module>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setUuid(java.lang.String uuid)
setUuid in interface ModuleModeluuid - the uuid of this modulepublic com.liferay.portal.kernel.model.CacheModel<Module> toCacheModel()
toCacheModel in interface ModuleModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<Module>public Module toEscapedModel()
toEscapedModel in interface ModuleModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<Module>public java.lang.String toString()
toString in interface ModuleModeltoString in class java.lang.Objectpublic Module toUnescapedModel()
toUnescapedModel in interface ModuleModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<Module>public java.lang.String toXmlString()
toXmlString in interface ModuleModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<Module>public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic Module getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<Module>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<Module>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<Module>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<Module>