Class MMProfileTranslationHelper

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

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

    • getProfileTranslationDlgInit

      public static ARG_GetProfileTranslationDlgInitOut getProfileTranslationDlgInit(SrvContext srvCtx, List<? extends ADClientAble> seqSel, boolean isName) throws InoNetException, SrvErrorException
      Fills the 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
    • setProfileTranslationDlg

      public static void setProfileTranslationDlg(SrvContext srvCtx, List<? extends ADClientAble> seqSel, boolean isName, List<ARG_UpdateTranslation> seqTrans) throws InoNetException, SrvErrorException
      Updates the 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