Class ADApplicationConfigurationHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADApplicationConfigurationHelper
This is a utility class for ADApplicationConfiguration that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ADApplicationConfigurationcreate(SrvContext srvCtx, String strName, String strPurpose, String strConfig, int lOpMode) Creates a namedADApplicationConfigurationfor a specified purpose.getConfigurationsOfPurpose(SrvContext srvCtx, String item) Returns the list of all application configurations with name and configuration value for a given purpose.
-
Method Details
-
getConfigurationsOfPurpose
public static List<ARG_ApplicationConfigurationPurpose> getConfigurationsOfPurpose(SrvContext srvCtx, String item) throws InoNetException, SrvErrorException Returns the list of all application configurations with name and configuration value for a given purpose. The empty parameter returns application configurations for each purpose.- Parameters:
srvCtx- The context of the related innovator server.item-- Throws:
InoNetExceptionSrvErrorException
-
create
public static ADApplicationConfiguration create(SrvContext srvCtx, String strName, String strPurpose, String strConfig, int lOpMode) throws InoNetException, SrvErrorException Creates a namedADApplicationConfigurationfor a specified purpose. The name should be unique within the purpose.- Parameters:
srvCtx- The context of the related innovator server.strName- name of the application configurationstrPurpose- purpose of the application configurationstrConfig- value of the application configurationlOpMode- operation mode mask to be checked- Throws:
InoNetExceptionSrvErrorException
-