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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    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.
    Returns the uuid of this module.
    boolean
     
    void
     
    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
     
    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
    wrap(Module module)
     

    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

      public ModuleWrapper(Module module)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<Module>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<Module>
    • cloneWithOriginalValues

      public Module cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<Module>
      Specified by:
      cloneWithOriginalValues in interface ModuleModel
    • getAppId

      public long getAppId()
      Returns the app ID of this module.
      Specified by:
      getAppId in interface ModuleModel
      Returns:
      the app ID of this module
    • getBundleSymbolicName

      public String getBundleSymbolicName()
      Returns the bundle symbolic name of this module.
      Specified by:
      getBundleSymbolicName in interface ModuleModel
      Returns:
      the bundle symbolic name of this module
    • getBundleVersion

      public String getBundleVersion()
      Returns the bundle version of this module.
      Specified by:
      getBundleVersion in interface ModuleModel
      Returns:
      the bundle version of this module
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this module.
      Specified by:
      getCompanyId in interface ModuleModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this module
    • getContextName

      public String getContextName()
      Returns the context name of this module.
      Specified by:
      getContextName in interface ModuleModel
      Returns:
      the context name of this module
    • getModuleId

      public long getModuleId()
      Returns the module ID of this module.
      Specified by:
      getModuleId in interface ModuleModel
      Returns:
      the module ID of this module
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this module.
      Specified by:
      getPrimaryKey in interface ModuleModel
      Returns:
      the primary key of this module
    • getUuid

      public String getUuid()
      Returns the uuid of this module.
      Specified by:
      getUuid in interface ModuleModel
      Returns:
      the uuid of this module
    • isBundle

      public boolean isBundle()
      Specified by:
      isBundle in interface Module
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setAppId

      public void setAppId(long appId)
      Sets the app ID of this module.
      Specified by:
      setAppId in interface ModuleModel
      Parameters:
      appId - the app ID of this module
    • setBundleSymbolicName

      public void setBundleSymbolicName(String bundleSymbolicName)
      Sets the bundle symbolic name of this module.
      Specified by:
      setBundleSymbolicName in interface ModuleModel
      Parameters:
      bundleSymbolicName - the bundle symbolic name of this module
    • setBundleVersion

      public void setBundleVersion(String bundleVersion)
      Sets the bundle version of this module.
      Specified by:
      setBundleVersion in interface ModuleModel
      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 interface ModuleModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this module
    • setContextName

      public void setContextName(String contextName)
      Sets the context name of this module.
      Specified by:
      setContextName in interface ModuleModel
      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 interface ModuleModel
      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 interface ModuleModel
      Parameters:
      primaryKey - the primary key of this module
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this module.
      Specified by:
      setUuid in interface ModuleModel
      Parameters:
      uuid - the uuid of this module
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface ModuleModel
    • wrap

      protected ModuleWrapper wrap(Module module)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Module>