App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.ext.admin.DatastoreRequestHandler Class Reference
Inheritance diagram for google.appengine.ext.admin.DatastoreRequestHandler:
google.appengine.ext.admin.BaseRequestHandler google.appengine.ext.webapp._webapp25.RequestHandler google.appengine.ext.admin.DatastoreBatchEditHandler google.appengine.ext.admin.DatastoreEditHandler google.appengine.ext.admin.DatastoreQueryHandler

Public Member Functions

def start
 
def num
 
def execute_query
 
def get_key_values
 
def redirect_with_message
 
- Public Member Functions inherited from google.appengine.ext.admin.BaseRequestHandler
def generate
 
def base_path
 
def filter_url
 
def in_production
 
def interactive_console_enabled
 
- Public Member Functions inherited from google.appengine.ext.webapp._webapp25.RequestHandler
def initialize
 
def get
 
def post
 
def head
 
def options
 
def put
 
def delete
 
def trace
 
def error
 
def redirect
 
def handle_exception
 
def new_factory
 
def get_url
 

Additional Inherited Members

- Public Attributes inherited from google.appengine.ext.webapp._webapp25.RequestHandler
 request
 
 response
 

Detailed Description

The base request handler for our datastore admin pages.

We provide utility functions for querying the datastore and inferring the
types of entity properties.

Member Function Documentation

def google.appengine.ext.admin.DatastoreRequestHandler.execute_query (   self,
  start = 0,
  num = 0,
  no_order = False 
)
Parses the URL arguments and executes the query.

Args:
  start: How many entities from the beginning of the result list should be
skipped from the query.
  num: How many entities should be returned, if 0 (default) then a
reasonable default will be chosen.

Returns:
  A tuple (list of entities, total entity count).  If inappropriate URL
  arguments are given, we return an empty set of results and 0 for the
  entity count.
def google.appengine.ext.admin.DatastoreRequestHandler.get_key_values (   self,
  entities 
)
Returns the union of key names used by the given list of entities.

We return the union as a dictionary mapping the key names to a sample
value from one of the entities for the key name.
def google.appengine.ext.admin.DatastoreRequestHandler.num (   self)
Returns the sanitized "num" argument from the URL.
def google.appengine.ext.admin.DatastoreRequestHandler.redirect_with_message (   self,
  message 
)
Redirect to the 'next' url with message added as the msg parameter.
def google.appengine.ext.admin.DatastoreRequestHandler.start (   self)
Returns the santized "start" argument from the URL.

The documentation for this class was generated from the following file: