Class ELElementHelper
java.lang.Object
de.mid.innovator.srv2api.icw2elem.ELElementHelper
This is the root class of types contained in the Innovator eXcellence metamodel.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ARG_InfoBulkResult> getInfoBulkSequence(SrvContext srvCtx, List<ARG_InfoBulkIn> seqInfoBulk) Returns the result of the application of set of infos to a collection of instances.getValidList(Class<T> returnType, SrvContext srvCtx, List<? extends ELElement> seq) Returns unique list of all valid elements of the argument list.static List<ARG_ViewBulkResult> getViewBulkSequence(SrvContext srvCtx, List<ARG_ViewBulkIn> seqViewBulk) Returns the result of the application of set of views to a collection of instances.static List<ARG_VOclInfo> getVoclInstantiate(SrvContext srvCtx, Class<? extends ELObject> item) Returns a sequence of infos for the instantiable types according to the input type.static List<ARG_VOclInfo> getVoclInstantiateExisting(SrvContext srvCtx, Class<? extends ELObject> item) Returns a sequence of infos for the instantiable types according to the input type, which has existing instances.getXFind(Class<T> returnType, SrvContext srvCtx, List<? extends ELElement> seqSel, boolean recursive, boolean withConfig, boolean sortIt, ARG_XFindTerm valTerm) command for search termsstatic List<ARG_XFindResult> getXFindBulk(SrvContext srvCtx, List<? extends ELElement> seqSel, boolean recursive, boolean withConfig, boolean sortIt, List<ARG_XFindTerm> seqTerm) command for bulk searchgetXFindCollect(Class<T> returnType, SrvContext srvCtx, List<? extends ELElement> seqSel, ARG_XFindTerm valCollectStartTerm, boolean sortIt, ARG_XFindTerm valTerm) command for collect termsstatic voidlockUnit(SrvContext srvCtx, List<? extends ELElement> sel) Creates a lock for the lock unit of the current object.static voidunlockUnit(SrvContext srvCtx, List<? extends ELElement> sel) Deletes the lock for lock unit of the current object.
-
Method Details
-
lockUnit
public static void lockUnit(SrvContext srvCtx, List<? extends ELElement> sel) throws InoNetException, SrvErrorException Creates a lock for the lock unit of the current object.- Parameters:
srvCtx- The context of the related innovator server.sel- all objects that will be modified.- Throws:
InoNetExceptionSrvErrorException
-
unlockUnit
public static void unlockUnit(SrvContext srvCtx, List<? extends ELElement> sel) throws InoNetException, SrvErrorException Deletes the lock for lock unit of the current object.- Parameters:
srvCtx- The context of the related innovator server.sel- all objects that will be modified.- Throws:
InoNetExceptionSrvErrorException
-
getInfoBulkSequence
public static List<ARG_InfoBulkResult> getInfoBulkSequence(SrvContext srvCtx, List<ARG_InfoBulkIn> seqInfoBulk) throws InoNetException, SrvErrorException Returns the result of the application of set of infos to a collection of instances.- Parameters:
srvCtx- The context of the related innovator server.seqInfoBulk- Sequence of InfoBulk specifications- Throws:
InoNetExceptionSrvErrorException
-
getValidList
public static <T extends ELElement> List<T> getValidList(Class<T> returnType, SrvContext srvCtx, List<? extends ELElement> seq) throws InoNetException, SrvErrorException Returns unique list of all valid elements of the argument list.- Parameters:
returnType- Specifies the type of elements to be returned.srvCtx- The context of the related innovator server.seq- list of elements (ignore invalid)- Throws:
InoNetExceptionSrvErrorException
-
getViewBulkSequence
public static List<ARG_ViewBulkResult> getViewBulkSequence(SrvContext srvCtx, List<ARG_ViewBulkIn> seqViewBulk) throws InoNetException, SrvErrorException Returns the result of the application of set of views to a collection of instances.- Parameters:
srvCtx- The context of the related innovator server.seqViewBulk- Sequence of ViewBulk specifications- Throws:
InoNetExceptionSrvErrorException
-
getVoclInstantiateExisting
public static List<ARG_VOclInfo> getVoclInstantiateExisting(SrvContext srvCtx, Class<? extends ELObject> item) throws InoNetException, SrvErrorException Returns a sequence of infos for the instantiable types according to the input type, which has existing instances.- Parameters:
srvCtx- The context of the related innovator server.item-- Throws:
InoNetExceptionSrvErrorException
-
getVoclInstantiate
public static List<ARG_VOclInfo> getVoclInstantiate(SrvContext srvCtx, Class<? extends ELObject> item) throws InoNetException, SrvErrorException Returns a sequence of infos for the instantiable types according to the input type.- Parameters:
srvCtx- The context of the related innovator server.item-- Throws:
InoNetExceptionSrvErrorException
-
getXFindBulk
public static List<ARG_XFindResult> getXFindBulk(SrvContext srvCtx, List<? extends ELElement> seqSel, boolean recursive, boolean withConfig, boolean sortIt, List<ARG_XFindTerm> seqTerm) throws InoNetException, SrvErrorException command for bulk search- Parameters:
srvCtx- The context of the related innovator server.seqSel- elements to find for or empty if allrecursive- expand selection with its recursive son elementswithConfig- search in configuration if seqSel is emptysortIt- sort result according to the namespace treeseqTerm- search terms- Throws:
InoNetExceptionSrvErrorException
-
getXFindCollect
public static <T extends ELElement> List<T> getXFindCollect(Class<T> returnType, SrvContext srvCtx, List<? extends ELElement> seqSel, ARG_XFindTerm valCollectStartTerm, boolean sortIt, ARG_XFindTerm valTerm) throws InoNetException, SrvErrorException command for collect terms- Parameters:
returnType- Specifies the type of elements to be returned.srvCtx- The context of the related innovator server.seqSel- elements as collection startersvalCollectStartTerm- or term containing the view termssortIt- sort result according to the namespace treevalTerm- where term- Throws:
InoNetExceptionSrvErrorException
-
getXFind
public static <T extends ELElement> List<T> getXFind(Class<T> returnType, SrvContext srvCtx, List<? extends ELElement> seqSel, boolean recursive, boolean withConfig, boolean sortIt, ARG_XFindTerm valTerm) throws InoNetException, SrvErrorException command for search terms- Parameters:
returnType- Specifies the type of elements to be returned.srvCtx- The context of the related innovator server.seqSel- elements to find for or empty if allrecursive- expand selection with its recursive son elementswithConfig- search in configuration if seqSel is emptysortIt- sort result according to the namespace treevalTerm- search term- Throws:
InoNetExceptionSrvErrorException
-