Class DeleteEntityAction

  • All Implemented Interfaces:
    java.lang.Runnable

    public class DeleteEntityAction
    extends java.lang.Object
    implements java.lang.Runnable
    An action to delete entities in Datastore specified by raw key ids, which can be found in Datastore Viewer in the AppEngine console - it's the really long alphanumeric key that is labeled "Entity key" on the page for an individual entity.

    rawKeys is the only required parameter. It is a comma-delimited list of Strings.

    WARNING: This servlet can be dangerous if used incorrectly as it can bypass checks on deletion (including whether the entity is referenced by other entities) and it does not write commit log entries for non-registered types. It should mainly be used for deleting testing or malformed data that cannot be properly deleted using existing tools. Generally, if there already exists an entity-specific deletion command, then use that one instead.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PARAM_RAW_KEYS  
      static java.lang.String PATH  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable