org.azzyzt.jee.runtime.eao
Class MultiObjectDeleter
java.lang.Object
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
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 |
MultiObjectDeleter
public MultiObjectDeleter()
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 EAOtmi
- type meta information generated by Azzyzt JEE Toolsdtos
- a list of DTOs
- Throws:
EntityNotFoundException
AccessDeniedException
InvalidArgumentException
InvalidIdException