com.atlassian.gadgets.spi
Interface GadgetSpecUrlRenderPermission

All Known Implementing Classes:
GadgetSpecUrlRenderPermissionImpl

public interface GadgetSpecUrlRenderPermission

Used to check if a gadget spec URI is allowed to render on a dashboard. This may be implemented in a number of ways:

Syntactically invalid URIs must never be allowed to render.


Nested Class Summary
static class GadgetSpecUrlRenderPermission.Vote
          Possible responses when a GadgetSpecUrlRenderPermission implementation is asked if a URI can be rendered.
 
Method Summary
 GadgetSpecUrlRenderPermission.Vote voteOn(String gadgetSpecUri)
          Returns this permission's Vote on whether the specified gadget spec should be allowed to render.
 

Method Detail

voteOn

GadgetSpecUrlRenderPermission.Vote voteOn(String gadgetSpecUri)
Returns this permission's Vote on whether the specified gadget spec should be allowed to render.

Parameters:
gadgetSpecUri - the gadget spec URI to check
Returns:
this permission's Vote on whether to render the gadget


Copyright © 2009 Atlassian. All Rights Reserved.