Package com.liferay.marketplace.model
Class ModuleWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Module>
com.liferay.marketplace.model.ModuleWrapper
- All Implemented Interfaces:
Module,ModuleModel,com.liferay.portal.kernel.model.BaseModel<Module>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ModelWrapper<Module>,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,Serializable,Cloneable,Comparable<Module>
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.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.marketplace.model.Module
MODULE_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetAppId()Returns the app ID of this module.Returns the bundle symbolic name of this module.Returns the bundle version of this module.longReturns the company ID of this module.Returns the context name of this module.longReturns the module ID of this module.longReturns the primary key of this module.getUuid()Returns the uuid of this module.booleanisBundle()voidpersist()voidsetAppId(long appId) Sets the app ID of this module.voidsetBundleSymbolicName(String bundleSymbolicName) Sets the bundle symbolic name of this module.voidsetBundleVersion(String bundleVersion) Sets the bundle version of this module.voidsetCompanyId(long companyId) Sets the company ID of this module.voidsetContextName(String contextName) Sets the context name of this module.voidsetModelAttributes(Map<String, Object> attributes) voidsetModuleId(long moduleId) Sets the module ID of this module.voidsetPrimaryKey(long primaryKey) Sets the primary key of this module.voidSets the uuid of this module.protected ModuleWrapperMethods 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
-
ModuleWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<Module>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<Module>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<Module>- Specified by:
cloneWithOriginalValuesin interfaceModuleModel
-
getAppId
public long getAppId()Returns the app ID of this module.- Specified by:
getAppIdin interfaceModuleModel- Returns:
- the app ID of this module
-
getBundleSymbolicName
Returns the bundle symbolic name of this module.- Specified by:
getBundleSymbolicNamein interfaceModuleModel- Returns:
- the bundle symbolic name of this module
-
getBundleVersion
Returns the bundle version of this module.- Specified by:
getBundleVersionin interfaceModuleModel- Returns:
- the bundle version of this module
-
getCompanyId
public long getCompanyId()Returns the company ID of this module.- Specified by:
getCompanyIdin interfaceModuleModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this module
-
getContextName
Returns the context name of this module.- Specified by:
getContextNamein interfaceModuleModel- Returns:
- the context name of this module
-
getModuleId
public long getModuleId()Returns the module ID of this module.- Specified by:
getModuleIdin interfaceModuleModel- Returns:
- the module ID of this module
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this module.- Specified by:
getPrimaryKeyin interfaceModuleModel- Returns:
- the primary key of this module
-
getUuid
Returns the uuid of this module.- Specified by:
getUuidin interfaceModuleModel- Returns:
- the uuid of this module
-
isBundle
public boolean isBundle() -
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAppId
public void setAppId(long appId) Sets the app ID of this module.- Specified by:
setAppIdin interfaceModuleModel- Parameters:
appId- the app ID of this module
-
setBundleSymbolicName
Sets the bundle symbolic name of this module.- Specified by:
setBundleSymbolicNamein interfaceModuleModel- Parameters:
bundleSymbolicName- the bundle symbolic name of this module
-
setBundleVersion
Sets the bundle version of this module.- Specified by:
setBundleVersionin interfaceModuleModel- Parameters:
bundleVersion- the bundle version of this module
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this module.- Specified by:
setCompanyIdin interfaceModuleModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this module
-
setContextName
Sets the context name of this module.- Specified by:
setContextNamein interfaceModuleModel- Parameters:
contextName- the context name of this module
-
setModuleId
public void setModuleId(long moduleId) Sets the module ID of this module.- Specified by:
setModuleIdin interfaceModuleModel- Parameters:
moduleId- the module ID of this module
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this module.- Specified by:
setPrimaryKeyin interfaceModuleModel- Parameters:
primaryKey- the primary key of this module
-
setUuid
Sets the uuid of this module.- Specified by:
setUuidin interfaceModuleModel- Parameters:
uuid- the uuid of this module
-
toXmlString
- Specified by:
toXmlStringin interfaceModuleModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Module>
-