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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAppId()
Returns the id of this appStorage
getConfig()
Returns the configuration of this app.java.lang.String
getGroupId()
Returns the id of the group of this appjava.lang.String
getUid()
Returns the unique id of this app.java.lang.String
getVendor()
Returns the vendor of this appjava.lang.String
getVersion()
Returns the version of this app-
Methods inherited from interface com.novomind.ecom.api.iagent.provider.StorageProvider
getStorage
-
-
-
-
Method Detail
-
getGroupId
java.lang.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
java.lang.String getAppId()
Returns the id of this app- Returns:
- the id of this app as String
- Since:
- 10.0.34
-
getUid
java.lang.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
java.lang.String getVersion()
Returns the version of this app- Returns:
- the version of this app as String
- Since:
- 10.0.34
-
getVendor
java.lang.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 type storage method String getString EncryptedString getEncryptedString Boolean getBoolean Long getLong Double getDouble Date getDate - Returns:
- the configuration of this app as
Storage
- Throws:
PersistencyException
- is thrown if an error occurs during the initialization of theStorage
- Since:
- 10.0.34
-
-