Class ADM2AttrModifyAbleHelper


  • public abstract class ADM2AttrModifyAbleHelper
    extends java.lang.Object
    This is a utility class for ADM2AttrModifyAble that provides static methods for creation or other purposes.
    See Also:
    ADM2AttrModifyAble
    • Method Detail

      • getAsTree

        public static ARG_TreeArgNameAbleSelectDlgNode getAsTree​(SrvContext srvCtx,
                                                                 java.util.List<? extends ADClientAble> seqSel,
                                                                 java.lang.String pattern,
                                                                 boolean ignoreCase,
                                                                 boolean lockOption,
                                                                 boolean addReferences)
                                                          throws InoNetException,
                                                                 SrvErrorException
        Transforms the provided elements in a tree representation.
        Parameters:
        srvCtx - The context of the related innovator server.
        seqSel - elements displayed as tree (ignore invalid)
        pattern - take only elements matching this pattern
        ignoreCase - match pattern case sensitive or insensitive
        lockOption - provide option "lock"
        addReferences - consider MEReference assignments
        Throws:
        InoNetException
        SrvErrorException
      • getTabElementList

        public static java.util.List<ARG_TabElement> getTabElementList​(SrvContext srvCtx,
                                                                       java.util.List<? extends ADClientAble> seq,
                                                                       boolean wantColor,
                                                                       java.lang.String strColorLabel,
                                                                       boolean wantText)
                                                                throws InoNetException,
                                                                       SrvErrorException
        Returns a list of all properties for the specified element list.
        Parameters:
        srvCtx - The context of the related innovator server.
        seq - List of elements (ignore invalid)
        wantColor - true, if colors are requested
        strColorLabel - name of the color label (optional)
        wantText - true, if text definitions are requested
        Throws:
        InoNetException
        SrvErrorException
      • setToDefaultByM2TypedElement

        public static void setToDefaultByM2TypedElement​(SrvContext srvCtx,
                                                        java.util.List<? extends MMStereotypeAble> seqSel,
                                                        MM2TypedElement ohMM2TypedElement)
                                                 throws InoNetException,
                                                        SrvErrorException
        Deletes the values for the property specified by parameter "property" of the provided elements. If a property has no explicitly assigned value then the configured default value is supplied.
        Parameters:
        srvCtx - The context of the related innovator server.
        seqSel - List of selected elements
        ohMM2TypedElement - stereotype property or option
        Throws:
        InoNetException
        SrvErrorException