Class ELDeleteAbleHelper
java.lang.Object
de.mid.innovator.srv2api.icw2elem.ELDeleteAbleHelper
A DeleteAble instance provides a preview of instances which are deleted as a side effect of the deletion of this instance.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddelete(SrvContext srvCtx, List<? extends ELDeleteAble> seqSel) Deletes the specified elements.getDeleteListAll(Class<T> returnType, SrvContext srvCtx, List<? extends ELDeleteAble> seqSel) Evaluates the delete control list.
-
Method Details
-
getDeleteListAll
public static <T extends ELElement> List<T> getDeleteListAll(Class<T> returnType, SrvContext srvCtx, List<? extends ELDeleteAble> seqSel) throws InoNetException, SrvErrorException Evaluates the delete control list. This list contains the elements which will be removed when deleting the specified elements.- Parameters:
returnType- Specifies the type of elements to be returned.srvCtx- The context of the related innovator server.seqSel-- Throws:
InoNetExceptionSrvErrorException
-
delete
public static void delete(SrvContext srvCtx, List<? extends ELDeleteAble> seqSel) throws InoNetException, SrvErrorException Deletes the specified elements.- Parameters:
srvCtx- The context of the related innovator server.seqSel-- Throws:
InoNetExceptionSrvErrorException
-