|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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:
Vote.DENY
unless the spec
is on a whitelist;GadgetSpecUrlRenderPermissionImpl
that does this);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 |
---|
GadgetSpecUrlRenderPermission.Vote voteOn(String gadgetSpecUri)
Vote
on whether the specified gadget
spec should be allowed to render.
gadgetSpecUri
- the gadget spec URI to check
Vote
on whether to render the gadget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |