Interface ModuleModel

All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<Module>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<Module>, Serializable, com.liferay.portal.kernel.model.ShardedModel
All Known Subinterfaces:
Module
All Known Implementing Classes:
ModuleWrapper

@ProviderType public interface ModuleModel extends com.liferay.portal.kernel.model.BaseModel<Module>, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the Module service. Represents a row in the "Marketplace_Module" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.marketplace.model.impl.ModuleModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.marketplace.model.impl.ModuleImpl.

See Also:
Generated:
  • 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.
    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
    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.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this module.
      Returns:
      the primary key of this module
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this module.
      Parameters:
      primaryKey - the primary key of this module
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this module.
      Returns:
      the uuid of this module
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this module.
      Parameters:
      uuid - the uuid of this module
    • getModuleId

      long getModuleId()
      Returns the module ID of this module.
      Returns:
      the module ID of this module
    • setModuleId

      void setModuleId(long moduleId)
      Sets the module ID of this module.
      Parameters:
      moduleId - the module ID of this module
    • getCompanyId

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

      void setCompanyId(long companyId)
      Sets the company ID of this module.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this module
    • getAppId

      long getAppId()
      Returns the app ID of this module.
      Returns:
      the app ID of this module
    • setAppId

      void setAppId(long appId)
      Sets the app ID of this module.
      Parameters:
      appId - the app ID of this module
    • getBundleSymbolicName

      @AutoEscape String getBundleSymbolicName()
      Returns the bundle symbolic name of this module.
      Returns:
      the bundle symbolic name of this module
    • setBundleSymbolicName

      void setBundleSymbolicName(String bundleSymbolicName)
      Sets the bundle symbolic name of this module.
      Parameters:
      bundleSymbolicName - the bundle symbolic name of this module
    • getBundleVersion

      @AutoEscape String getBundleVersion()
      Returns the bundle version of this module.
      Returns:
      the bundle version of this module
    • setBundleVersion

      void setBundleVersion(String bundleVersion)
      Sets the bundle version of this module.
      Parameters:
      bundleVersion - the bundle version of this module
    • getContextName

      @AutoEscape String getContextName()
      Returns the context name of this module.
      Returns:
      the context name of this module
    • setContextName

      void setContextName(String contextName)
      Sets the context name of this module.
      Parameters:
      contextName - the context name of this module
    • cloneWithOriginalValues

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

      default String toXmlString()