com.atlassian.gadgets.directory.internal.impl
Class GadgetSpecUrlRenderPermissionImpl

java.lang.Object
  extended by com.atlassian.gadgets.directory.internal.impl.GadgetSpecUrlRenderPermissionImpl
All Implemented Interfaces:
GadgetSpecUrlRenderPermission

public class GadgetSpecUrlRenderPermissionImpl
extends Object
implements GadgetSpecUrlRenderPermission

Simple implementation that allows only syntactically valid URIs which are present in the directory.


Constructor Summary
GadgetSpecUrlRenderPermissionImpl(Directory directory)
          Constructor.
 
Method Summary
 Vote voteOn(String gadgetSpecUri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GadgetSpecUrlRenderPermissionImpl

public GadgetSpecUrlRenderPermissionImpl(Directory directory)
Constructor.

Parameters:
directory - the Directory implementation to check for gadget specs
Method Detail

voteOn

public Vote voteOn(String gadgetSpecUri)
Specified by:
voteOn in interface GadgetSpecUrlRenderPermission


Copyright © 2011 Atlassian. All Rights Reserved.