Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

DeleteContext (Google App Engine API for Java)

com.google.appengine.api.datastore

Class DeleteContext

  • java.lang.Object
    • com.google.appengine.api.datastore.DeleteContext
  • All Implemented Interfaces:
    CallbackContext<Key>


    public final class DeleteContext
    extends java.lang.Object
    Concrete CallbackContext implementation that is specific to delete() callbacks.
    • Method Detail

      • getElements

        public java.util.List<T> getElements()
        Specified by:
        getElements in interface CallbackContext<T>
        Returns:
        An unmodifiable view of the elements involved in the operation that triggered the callback..
      • getCurrentElement

        public T getCurrentElement()
        Specified by:
        getCurrentElement in interface CallbackContext<T>
        Returns:
        The element for which the callback has been invoked. Shortcut for getElements().getCurrentIndex().
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object