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:EntityViewAccessProviderorHttpServletAccessProviderif nothing is specified here or this interface is not implemented- Author:
- Aaron Zeckoski (aaron@caret.cam.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 implementingAccessViews)
OR null to indicate none are handled (same as not implementingEntityViewAccessProvider)
NOTE: use the VIEW constants (example:EntityView.VIEW_NEW) and do not just make up strings
-
-