org.sakaiproject.entitybroker.access
Interface AccessViews

All Superinterfaces:
EntityViewAccessProvider

public interface AccessViews
extends EntityViewAccessProvider

Indicates that entity requests can be handled for certain views which are indicated

NOTE: By default all entity view requests go through to the available access providers: EntityViewAccessProvider or HttpServletAccessProvider if nothing is specified here or this interface is not implemented

Author:
Aaron Zeckoski (aaron@caret.cam.ac.uk)

Method Summary
 String[] getHandledEntityViews()
          Defines the entity views handled by this access provider
The default if this interface is not implemented is to pass through all requests to the access provider that is defined
 
Methods inherited from interface org.sakaiproject.entitybroker.access.EntityViewAccessProvider
handleAccess
 

Method Detail

getHandledEntityViews

String[] getHandledEntityViews()
Defines the entity views handled by this access provider
The default if this interface is not implemented is to pass through all requests to the access provider that is defined

Returns:
an array containing the entity view keys (from EntityView) handled
OR empty array to indicate all are handled (same as not implementing AccessViews)
OR null to indicate none are handled (same as not implementing EntityViewAccessProvider)
NOTE: use the VIEW constants (example: EntityView.VIEW_NEW) and do not just make up strings


Copyright © 2007-2012 Sakai Project. All Rights Reserved.