cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.clm.views.admin_cm.farm Namespace Reference

Functions

def destroy
def erase
def get_by_id
def get_list
def save_and_shutdown

Function Documentation

def src.clm.views.admin_cm.farm.destroy (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.farm.destroy()) + one additional kwarg: cm_id). View requests src.cm.views.farm.destroy() from CM and returns the response. For documentation see src.cm.views.farm.destroy()

Definition at line 60 of file farm.py.

def src.clm.views.admin_cm.farm.erase (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.farm.erase()) + one additional kwarg: cm_id). View requests src.cm.views.farm.erase() from CM and returns the response. For documentation see src.cm.views.farm.erase()

Definition at line 82 of file farm.py.

def src.clm.views.admin_cm.farm.get_by_id (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.farm.get_by_id()) + one additional kwarg: cm_id). View requests src.cm.views.farm.get_by_id() from CM and returns the response. For documentation see src.cm.views.farm.get_by_id()

Definition at line 71 of file farm.py.

def src.clm.views.admin_cm.farm.get_list (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.farm.get_list()) + one additional kwarg: cm_id). View requests src.cm.views.farm.get_list() from CM and returns the response. For documentation see src.cm.views.farm.get_list()

Definition at line 36 of file farm.py.

def src.clm.views.admin_cm.farm.save_and_shutdown (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_cm_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_cm_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)
cm_password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.farm.save_and_shutdown()) + one additional kwarg: cm_id). View requests src.cm.views.farm.save_and_shutdown() from CM and returns the response. For documentation see src.cm.views.farm.save_and_shutdown()

Definition at line 93 of file farm.py.