de.mid.innovator.srv2api.icw2elem
Class ELDeleteAbleHelper

java.lang.Object
  extended by de.mid.innovator.srv2api.icw2elem.ELDeleteAbleHelper

public abstract class ELDeleteAbleHelper
extends Object

A DeleteAble instance provides a preview of instances which are deleted as a side effect of the deletion of this instance.

See Also:
ELDeleteAble

Method Summary
static void delete(SrvContext srvCtx, List<? extends ELDeleteAble> seqSel)
          Deletes the specified elements.
static
<T extends ELElement>
List<T>
getDeleteListAll(Class<T> returnType, SrvContext srvCtx, List<? extends ELDeleteAble> seqSel)
          evaluates the delete control list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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:
InoNetException
SrvErrorException

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:
InoNetException
SrvErrorException