Package omeroweb :: Package webmobile :: Module views
[hide private]
[frames] | no frames]

Module views

source code

Functions [hide private]
 
isUserConnected(f)
connection decorator (wraps methods that require connection) - adapted from webclient.views retrieves connection and passes it to the wrapped method in kwargs TODO: would be nice to refactor isUserConnected from webclient to be usable from here.
source code
 
groups_members(request)
List the users of the current group - if permitted
source code
 
switch_group(request, groupId)
Switch to the specified group, then redirect to index.
source code
 
change_active_group(request, groupId, **kwargs) source code
 
viewer(request, imageId) source code
 
viewer_big(request, imageId, **kwargs) source code
 
projects(request, eid=None, **kwargs)
List the projects owned by the current user, or another user specified by eId
source code
 
project(request, id, **kwargs)
Show datasets belonging to the specified project
source code
 
object_details(request, obj_type, id, **kwargs)
Show project/dataset details: Name, description, owner, annotations etc
source code
 
dataset(request, id, **kwargs)
Show images in the specified dataset
source code
 
image(request, imageId, **kwargs)
Show image summary: Name, dimensions, large thumbnail, description, annotations
source code
 
orphaned_images(request, eid, **kwargs)
Show image summary: Name, dimensions, large thumbnail, description, annotations
source code
 
screens(request, eid=None, **kwargs) source code
 
screen(request, id, **kwargs)
Show plates in the specified scren
source code
 
plate(request, id, **kwargs)
Show plate - grid of thumbs?
source code
 
getAnnotations(obj)
List the annotations and sort into comments, tags, ratings, files etc
source code
 
edit_object(request, obj_type, obj_id, **kwargs)
Display a page for editing Name and Description of Project/Dataset/Image etc Page 'submit' redirects here with 'name' and 'description' in POST, which will do the edit and return to the object_details page.
source code
 
add_comment(request, obj_type, obj_id, **kwargs)
Adds a comment (from request 'comment') to object 'project', 'dataset', 'image' then redirects to the 'details' page for that object: E.g.
source code
 
login(request) source code
 
logout(request) source code
 
index(request, eid=None, **kwargs) source code
 
recent(request, obj_type, eid=None, **kwargs) source code
 
recent_full_page(request, **kwargs)
Mock-up full page for Usability testing of recent views.
source code
 
collab_annotations(request, myData=True, **kwargs)
Page displays recent annotations of OTHER users on MY data (myData=True) or MY annotations on data belonging to OTHER users.
source code
 
image_viewer(request, iid, **kwargs)
This view is responsible for showing pixel data as images
source code
Variables [hide private]
  logger = logging.getLogger('webmobilewebmobile')

Imports: HttpResponse, HttpResponseRedirect, reverse, render_to_response, getBlitzConnection, _session_logout, webgateway_views, settings, logging, traceback, omero, OmeroWebGateway, webmobile_util


Function Details [hide private]

change_active_group(request, groupId, **kwargs)

source code 
Decorators:
  • @isUserConnected

viewer_big(request, imageId, **kwargs)

source code 
Decorators:
  • @isUserConnected

projects(request, eid=None, **kwargs)

source code 

List the projects owned by the current user, or another user specified by eId

Decorators:
  • @isUserConnected

project(request, id, **kwargs)

source code 

Show datasets belonging to the specified project

Decorators:
  • @isUserConnected

object_details(request, obj_type, id, **kwargs)

source code 

Show project/dataset details: Name, description, owner, annotations etc

Decorators:
  • @isUserConnected

dataset(request, id, **kwargs)

source code 

Show images in the specified dataset

Decorators:
  • @isUserConnected

image(request, imageId, **kwargs)

source code 

Show image summary: Name, dimensions, large thumbnail, description, annotations

Decorators:
  • @isUserConnected

orphaned_images(request, eid, **kwargs)

source code 

Show image summary: Name, dimensions, large thumbnail, description, annotations

Decorators:
  • @isUserConnected

screens(request, eid=None, **kwargs)

source code 
Decorators:
  • @isUserConnected

screen(request, id, **kwargs)

source code 

Show plates in the specified scren

Decorators:
  • @isUserConnected

plate(request, id, **kwargs)

source code 

Show plate - grid of thumbs?

Decorators:
  • @isUserConnected

edit_object(request, obj_type, obj_id, **kwargs)

source code 

Display a page for editing Name and Description of Project/Dataset/Image etc Page 'submit' redirects here with 'name' and 'description' in POST, which will do the edit and return to the object_details page.

Decorators:
  • @isUserConnected

add_comment(request, obj_type, obj_id, **kwargs)

source code 

Adds a comment (from request 'comment') to object 'project', 'dataset', 'image' then redirects to the 'details' page for that object: E.g. project_details page etc.

Decorators:
  • @isUserConnected

index(request, eid=None, **kwargs)

source code 
Decorators:
  • @isUserConnected

recent(request, obj_type, eid=None, **kwargs)

source code 
Decorators:
  • @isUserConnected

recent_full_page(request, **kwargs)

source code 

Mock-up full page for Usability testing of recent views.

Decorators:
  • @isUserConnected

collab_annotations(request, myData=True, **kwargs)

source code 

Page displays recent annotations of OTHER users on MY data (myData=True) or MY annotations on data belonging to OTHER users.

Decorators:
  • @isUserConnected