Home | Trees | Indices | Help |
|
---|
|
object --+ | controllers.Controller --+ | CatWalk
Model Browser.
An administration tool for listing, creating, updating or deleting your SQLObject instances.
Version: 0.9
Author: Ronald Jaramillo
Copyright: Copyright 2005 Ronald Jaramillo
License: MIT
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
CatWalk's initializer.
|
Generic error handler for json replies.
|
Return a class reference from the models module by name.
|
Get object field. Returns a dict containing the column name and value for the specific column and row,
|
Loop trough the columns and extract the values from the dictionary.
|
Return dictionary containing all instances for the requested object.
|
Return list of dictionaries containing the posible foreignKey values.
|
Return a tuple containing a list of rows and header labels.
|
Collect the joined instances into a dictionary.
|
Return a dictionary containing the column properties. Depending on the column type the properties returned could be: type, title, join (otherClassName), joinMethodName, length, varchar, labelColumn, options
|
Return list of columns properties arranged in dicts.
|
Return list of columns properties arranged in dicts.
|
Return the path to the catwalk session pickle. By default this is located in a directory named 'catwalk-session' beneath your application's package directory or, if the package name can not be determined, below the current directory. The directory must be writable by the server and will be created if it does not exist. You can specify a different directory if you set the config setting 'catwalk.session_dir' to an absolute path. |
Toggle the columns visibility and store the new state.
|
Return a list of hidden columns names for the requested view.
|
Get the column name (foreignKey label) for an object.
|
Store the column name (foreignKey label) for an object.
|
Get the column order. If the user has rearranged the columns order for an object, this will return the preferred order as list.
|
Save the preferred order of the object's columns. @param object_name: name of the object @type object_name: string @param columns_bsv: bar (|) delimited columns names @type columns_bsv: string |
Return a rearranged list of columns as configured by the user.
|
Create a new instance of an object.
|
Update the objects properties.
|
Remove and instance by id. This doesn't handle references (cascade delete).
|
Remove a single join instance by id. This doesn't handle references (cascade delete).
|
Save the preferred order of the listed models.
|
Save the preferred order of the object's columns.
|
Get object instances. Returns a JSON structure containing all instances of the requested object.
|
Get related joins. Returns a JSON structure with a list of related joins for the requested object, and a list of all joins.
|
Update joins. Drop all related joins first, then loop trough the submitted joins and set the relation.
|
Update a column. Toggle (and store) the state of the requested column in grid view display.
|
Update column in join view. Toggle (and store) the state of the requested column in grid view display for a join view.
|
Get joins. Return a JSON structure containing a list joins for the requested object's joinMethodName.
|
Get object instance. Return a JSON structure containing the columns and field values for the requested object
|
Get columns for label. Return a JSON structure with a list of columns to use as foreignKey label.
|
Set columns for label. Exposed method that let you store the column name to be used as foreignKey label for the requested object.
|
Return JSON structure containing a list of column properties.
|
Return JSON structure containing a list of available objects.
|
Main CatWalk page. Import the proper client side libraries and set up the placeholder for the dynamic elements.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jul 19 17:17:56 2019 | http://epydoc.sourceforge.net |