org.azzyzt.jee.runtime.eao
Class MultiObjectDeleter

java.lang.Object
  extended by org.azzyzt.jee.runtime.eao.MultiObjectDeleter

public class MultiObjectDeleter
extends java.lang.Object

One of the service beans generated by Azzyzt JEE Tools, ModifyMultiBean, needs to deal with polymorphic lists of DTOs. In order to delete the associated entities, ModifyMultiBean uses a MultiObjectDeleter. MultiObjectDeleter utilizes meta information generated by Azzyzt JEE Tools to find out about associated entity classes.

See Also:
MultiObjectSaver, TypeMetaInfoInterface

Constructor Summary
MultiObjectDeleter()
           
 
Method Summary
 void delete(EaoBase eao, TypeMetaInfoInterface tmi, java.util.List dtos)
          Uses an EAO and type meta information to delete the entities corresponding to a list of DTOs.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiObjectDeleter

public MultiObjectDeleter()
Method Detail

delete

public void delete(EaoBase eao,
                   TypeMetaInfoInterface tmi,
                   java.util.List dtos)
            throws EntityNotFoundException,
                   AccessDeniedException,
                   InvalidArgumentException,
                   InvalidIdException
Uses an EAO and type meta information to delete the entities corresponding to a list of DTOs.

Parameters:
eao - an EAO
tmi - type meta information generated by Azzyzt JEE Tools
dtos - a list of DTOs
Throws:
EntityNotFoundException
AccessDeniedException
InvalidArgumentException
InvalidIdException