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
model
Fields inherited from interface com.liferay.marketplace.model.Module
MODULE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getAppId()
Returns the app ID of this module.Returns the bundle symbolic name of this module.Returns the bundle version of this module.long
Returns the company ID of this module.Returns the context name of this module.long
Returns the module ID of this module.long
Returns the primary key of this module.getUuid()
Returns the uuid of this module.boolean
isBundle()
void
persist()
void
setAppId
(long appId) Sets the app ID of this module.void
setBundleSymbolicName
(String bundleSymbolicName) Sets the bundle symbolic name of this module.void
setBundleVersion
(String bundleVersion) Sets the bundle version of this module.void
setCompanyId
(long companyId) Sets the company ID of this module.void
setContextName
(String contextName) Sets the context name of this module.void
setModelAttributes
(Map<String, 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
Sets the uuid of this module.protected ModuleWrapper
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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ModuleWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<Module>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<Module>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<Module>
- Specified by:
cloneWithOriginalValues
in interfaceModuleModel
-
getAppId
public long getAppId()Returns the app ID of this module.- Specified by:
getAppId
in interfaceModuleModel
- Returns:
- the app ID of this module
-
getBundleSymbolicName
Returns the bundle symbolic name of this module.- Specified by:
getBundleSymbolicName
in interfaceModuleModel
- Returns:
- the bundle symbolic name of this module
-
getBundleVersion
Returns the bundle version of this module.- Specified by:
getBundleVersion
in interfaceModuleModel
- Returns:
- the bundle version of this module
-
getCompanyId
public long getCompanyId()Returns the company ID of this module.- Specified by:
getCompanyId
in interfaceModuleModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Returns:
- the company ID of this module
-
getContextName
Returns the context name of this module.- Specified by:
getContextName
in interfaceModuleModel
- Returns:
- the context name of this module
-
getModuleId
public long getModuleId()Returns the module ID of this module.- Specified by:
getModuleId
in interfaceModuleModel
- Returns:
- the module ID of this module
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this module.- Specified by:
getPrimaryKey
in interfaceModuleModel
- Returns:
- the primary key of this module
-
getUuid
Returns the uuid of this module.- Specified by:
getUuid
in interfaceModuleModel
- Returns:
- the uuid of this module
-
isBundle
public boolean isBundle() -
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAppId
public void setAppId(long appId) Sets the app ID of this module.- Specified by:
setAppId
in interfaceModuleModel
- Parameters:
appId
- the app ID of this module
-
setBundleSymbolicName
Sets the bundle symbolic name of this module.- Specified by:
setBundleSymbolicName
in interfaceModuleModel
- Parameters:
bundleSymbolicName
- the bundle symbolic name of this module
-
setBundleVersion
Sets the bundle version of this module.- Specified by:
setBundleVersion
in interfaceModuleModel
- Parameters:
bundleVersion
- the bundle version of this module
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this module.- Specified by:
setCompanyId
in interfaceModuleModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Parameters:
companyId
- the company ID of this module
-
setContextName
Sets the context name of this module.- Specified by:
setContextName
in interfaceModuleModel
- Parameters:
contextName
- the context name of this module
-
setModuleId
public void setModuleId(long moduleId) Sets the module ID of this module.- Specified by:
setModuleId
in interfaceModuleModel
- Parameters:
moduleId
- the module ID of this module
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this module.- Specified by:
setPrimaryKey
in interfaceModuleModel
- Parameters:
primaryKey
- the primary key of this module
-
setUuid
Sets the uuid of this module.- Specified by:
setUuid
in interfaceModuleModel
- Parameters:
uuid
- the uuid of this module
-
toXmlString
- Specified by:
toXmlString
in interfaceModuleModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Module>
-