Interface GenericCommercialModule
-
public interface GenericCommercialModuleAll third-party commercial modules should implement this interface- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGenericCommercialModule.ModuleType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigureModule(ApplicationEntityManager aem, MetadataEntityManager mem, BusinessEntityManager bem)This method initializes the module.StringgetCategory()Gets the module's categoryStringgetDescription()Gets the module descriptionGenericCommercialModule.ModuleTypegetModuleType()Gets the module's type.StringgetName()Gets the module's name.StringgetVendor()Gets the module's vendorStringgetVersion()Gets the module's versionbooleanisValid()Says if the module can be used or not (for example, if the license has expired or not)
-
-
-
Method Detail
-
getName
String getName()
Gets the module's name. Must be unique, otherwise, the system will only take last one loaded at application's startup- Returns:
- The module's name
-
getDescription
String getDescription()
Gets the module description- Returns:
- he module's description
-
getVersion
String getVersion()
Gets the module's version- Returns:
- The module's version
-
getVendor
String getVendor()
Gets the module's vendor- Returns:
- The module's vendor
-
getCategory
String getCategory()
Gets the module's category- Returns:
- The module's category
-
getModuleType
GenericCommercialModule.ModuleType getModuleType()
Gets the module's type. For valid values #ModuleTypes- Returns:
- The module's types
-
isValid
boolean isValid()
Says if the module can be used or not (for example, if the license has expired or not)- Returns:
-
configureModule
void configureModule(ApplicationEntityManager aem, MetadataEntityManager mem, BusinessEntityManager bem)
This method initializes the module. Must be called before anything else- Parameters:
aem- The ApplicationEntityManager instance. Might be null if not needed by the modulemem- The MetadataEntityManager instance. Might be null if not needed by the modulebem- The BusinessEntityManager instance. Might be null if not needed by the module
-
-