Class MMProfileTranslationHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.MMProfileTranslationHelper
This is a utility class for MMProfileTranslation that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetProfileTranslationDlgInit(SrvContext srvCtx, List<? extends ADClientAble> seqSel, boolean isName) Fills the translation dialog.static voidsetProfileTranslationDlg(SrvContext srvCtx, List<? extends ADClientAble> seqSel, boolean isName, List<ARG_UpdateTranslation> seqTrans) Updates the translation of property values for the specified elements.
-
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 translatedisName- true, if property name is translated- Throws:
InoNetExceptionSrvErrorException
-
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 translatedisName- true, if property name is translatedseqTrans- translations of property values- Throws:
InoNetExceptionSrvErrorException
-