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

Functions

def check_resources
def create
def destroy
def get_by_id
def get_list
def save_and_shutdown

Function Documentation

def src.clm.views.user.farm.check_resources (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
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.user.farm.check_resources()) + one additional kwarg: cm_id). View requests src.cm.views.user.farm.check_resources() from CM and returns the response. For documentation see src.cm.views.user.farm.check_resources()

Definition at line 99 of file farm.py.

def src.clm.views.user.farm.create (   cm_id,
  caller_id,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
password(POST string)

Definition at line 32 of file farm.py.

def src.clm.views.user.farm.destroy (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
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.user.farm.destroy()) + one additional kwarg: cm_id). View requests src.cm.views.user.farm.destroy() from CM and returns the response. For documentation see src.cm.views.user.farm.destroy()

Definition at line 45 of file farm.py.

def src.clm.views.user.farm.get_by_id (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
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.user.farm.get_by_id()) + one additional kwarg: cm_id). View requests src.cm.views.user.farm.get_by_id() from CM and returns the response. For documentation see src.cm.views.user.farm.get_by_id()

Definition at line 77 of file farm.py.

def src.clm.views.user.farm.get_list (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
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.user.farm.get_list()) + one additional kwarg: cm_id). View requests src.cm.views.user.farm.get_list() from CM and returns the response. For documentation see src.cm.views.user.farm.get_list()

Definition at line 56 of file farm.py.

def src.clm.views.user.farm.save_and_shutdown (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
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.user.farm.save_and_shutdown()) + one additional kwarg: cm_id). View requests src.cm.views.user.farm.save_and_shutdown() from CM and returns the response. For documentation see src.cm.views.user.farm.save_and_shutdown()

Definition at line 88 of file farm.py.