Class ADConfigTranslationHelper

java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADConfigTranslationHelper

public abstract class ADConfigTranslationHelper extends Object
This is a utility class for ADConfigTranslation that provides static methods for creation or other purposes.
See Also:
  • Method Details

    • getConfigTranslationDlgInit

      public static ARG_GetProfileTranslationDlgInitOut getConfigTranslationDlgInit(SrvContext srvCtx, List<? extends ADClientAble> seqSel, boolean isName) throws InoNetException, SrvErrorException
      Fills the imported translation dialog.
      Parameters:
      srvCtx - The context of the related innovator server.
      seqSel - selected elements which are translated
      isName - true, if property name is translated
      Throws:
      InoNetException
      SrvErrorException
    • setConfigTranslationDlg

      public static void setConfigTranslationDlg(SrvContext srvCtx, List<? extends ADClientAble> seqSel, boolean isName, List<ARG_UpdateTranslation> seqTrans) throws InoNetException, SrvErrorException
      Updates the imported translation of property values for the specified elements. If no translation exists for a property a new one will be created. Use parameter isName to decide, whether the name or the description of elements, the lock message of profiles or the elements heading of view chapters is translated.
      Parameters:
      srvCtx - The context of the related innovator server.
      seqSel - selected elements which are translated
      isName - true, if property name is translated
      seqTrans - translations of property values
      Throws:
      InoNetException
      SrvErrorException