Class ADM2AttrModifyAbleHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAbleHelper
-
public abstract class ADM2AttrModifyAbleHelper extends java.lang.ObjectThis is a utility class for ADM2AttrModifyAble that provides static methods for creation or other purposes.- See Also:
ADM2AttrModifyAble
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ARG_TreeArgNameAbleSelectDlgNodegetAsTree(SrvContext srvCtx, java.util.List<? extends ADClientAble> seqSel, java.lang.String pattern, boolean ignoreCase, boolean lockOption, boolean addReferences)Transforms the provided elements in a tree representation.static java.util.List<ARG_TabElement>getTabElementList(SrvContext srvCtx, java.util.List<? extends ADClientAble> seq, boolean wantColor, java.lang.String strColorLabel, boolean wantText)Returns a list of all properties for the specified element list.static voidsetToDefaultByM2TypedElement(SrvContext srvCtx, java.util.List<? extends MMStereotypeAble> seqSel, MM2TypedElement ohMM2TypedElement)Deletes the values for the property specified by parameter "property" of the provided elements.
-
-
-
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 patternignoreCase- match pattern case sensitive or insensitivelockOption- provide option "lock"addReferences- consider MEReference assignments- Throws:
InoNetExceptionSrvErrorException
-
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 requestedstrColorLabel- name of the color label (optional)wantText- true, if text definitions are requested- Throws:
InoNetExceptionSrvErrorException
-
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 elementsohMM2TypedElement- stereotype property or option- Throws:
InoNetExceptionSrvErrorException
-
-