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

Functions

def check
def create
def get_list
def lock
def mount
def unlock

Detailed Description

Note
All functions here are decorated by src.clm.utils.decorators.admin_cm_log. It's recommended to read src.clm.utils.decorators.admin_cm_log docs before using functions below.

Function Documentation

def src.clm.views.admin_cm.storage.check (   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.storage.check()) + one additional kwarg: cm_id). View requests src.cm.views.storage.check() from CM and returns the response. For documentation see src.cm.views.storage.check()

Definition at line 90 of file storage.py.

def src.clm.views.admin_cm.storage.create (   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.storage.create()) + one additional kwarg: cm_id). View requests src.cm.views.storage.create() from CM and returns the response. For documentation see src.cm.views.storage.create()

Definition at line 35 of file storage.py.

def src.clm.views.admin_cm.storage.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.storage.get_list()) + one additional kwarg: cm_id). View requests src.cm.views.storage.get_list() from CM and returns the response. For documentation see src.cm.views.storage.get_list()

Definition at line 46 of file storage.py.

def src.clm.views.admin_cm.storage.lock (   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.storage.lock()) + one additional kwarg: cm_id). View requests src.cm.views.storage.lock() from CM and returns the response. For documentation see src.cm.views.storage.lock()

Definition at line 57 of file storage.py.

def src.clm.views.admin_cm.storage.mount (   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.storage.mount()) + one additional kwarg: cm_id). View requests src.cm.views.storage.mount() from CM and returns the response. For documentation see src.cm.views.storage.mount()

Definition at line 79 of file storage.py.

def src.clm.views.admin_cm.storage.unlock (   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.storage.unlock()) + one additional kwarg: cm_id). View requests src.cm.views.storage.unlock() from CM and returns the response. For documentation see src.cm.views.storage.unlock()

Definition at line 68 of file storage.py.