com.triactive.jdo
Interface Deleteable

All Superinterfaces:
java.util.Collection
All Known Subinterfaces:
PersistentSet
All Known Implementing Classes:
HashSet

public interface Deleteable
extends java.util.Collection

A collection whose persistence-capable elements can be deleted as a group from the data store. Not all such collections will necessarily always contain persistence-capable elements only. If a collection contains non-PC elements, a delete attempt will fail at run time.

Author:
Mike Martin

Method Summary
 void deletePersistentAll()
          Deletes all instances in this collection from the data store.
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

deletePersistentAll

public void deletePersistentAll()
Deletes all instances in this collection from the data store.

Throws:
javax.jdo.JDOUserException - If the collection contains any non-PersistenceCapable elements.


Copyright 2001-2007 The TJDO Project All Rights Reserved.