This class allows one or more project data objects to be queried.
More...
|
def | __init__ |
| Constructor. More...
|
|
def | delete |
| Delete the object from the project data store. More...
|
|
def | filter |
| Take any arguments given as filters, and find a list of matching objects. More...
|
|
def | get |
| Take any arguments given as filters, and find the first matching object. More...
|
|
def | save |
| Save the object back to the project data store. More...
|
|
def | title |
| Get the translated display title of this item. More...
|
|
This class allows one or more project data objects to be queried.
Definition at line 44 of file query.py.
def query.QueryObject.__init__ |
( |
|
self | ) |
|
Constructor.
Definition at line 48 of file query.py.
def query.QueryObject.delete |
( |
|
self, |
|
|
|
OBJECT_TYPE |
|
) |
| |
Delete the object from the project data store.
Definition at line 87 of file query.py.
def query.QueryObject.filter |
( |
|
OBJECT_TYPE, |
|
|
|
kwargs |
|
) |
| |
Take any arguments given as filters, and find a list of matching objects.
Definition at line 103 of file query.py.
def query.QueryObject.get |
( |
|
OBJECT_TYPE, |
|
|
|
kwargs |
|
) |
| |
Take any arguments given as filters, and find the first matching object.
Definition at line 140 of file query.py.
def query.QueryObject.save |
( |
|
self, |
|
|
|
OBJECT_TYPE |
|
) |
| |
Save the object back to the project data store.
Definition at line 58 of file query.py.
def query.QueryObject.title |
( |
|
self | ) |
|
Get the translated display title of this item.
Definition at line 97 of file query.py.
The documentation for this class was generated from the following file: