Interface App

All Superinterfaces:
com.novomind.ecom.common.api.attribute.Named, StorageProvider

public interface App extends com.novomind.ecom.common.api.attribute.Named, StorageProvider
Represents an App object
Since:
10.0.34
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the id of this app
    Returns the configuration of this app.
    Returns the id of the group of this app
    Returns the unique id of this app.
    Returns the vendor of this app
    Returns the version of this app

    Methods inherited from interface com.novomind.ecom.common.api.attribute.Named

    getName

    Methods inherited from interface com.novomind.ecom.api.iagent.provider.StorageProvider

    getStorage
  • Method Details

    • getGroupId

      String getGroupId()
      Returns the id of the group of this app
      Returns:
      the id of the group of this app as String
      Since:
      10.0.34
    • getAppId

      String getAppId()
      Returns the id of this app
      Returns:
      the id of this app as String
      Since:
      10.0.34
    • getUid

      String getUid()
      Returns the unique id of this app. It is a combination of the groupId and the appId.
      Returns:
      the unique id of this app as String
      Since:
      10.0.34
    • getVersion

      String getVersion()
      Returns the version of this app
      Returns:
      the version of this app as String
      Since:
      10.0.34
    • getVendor

      String getVendor()
      Returns the vendor of this app
      Returns:
      the vendor of this app as String
      Since:
      10.0.34
    • getConfig

      Storage getConfig() throws PersistencyException

      Returns the configuration of this app.

      The configuration keys are defined in the app manifest xml file.
      They are available after the first configuration e.g. via the supervisor administration.
      The following table maps the data types from the manifest xml to the available storage methods:

      data type mappings
      data typestorage method
      StringgetString
      EncryptedStringgetEncryptedString
      BooleangetBoolean
      LonggetLong
      DoublegetDouble
      DategetDate
      Returns:
      the configuration of this app as Storage
      Throws:
      PersistencyException - is thrown if an error occurs during the initialization of the Storage
      Since:
      10.0.34