com.atlassian.gadgets.refimpl
Class AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl

java.lang.Object
  extended by com.atlassian.gadgets.refimpl.AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl
All Implemented Interfaces:
PluginGadgetSpecProviderPermission

public class AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl
extends Object
implements PluginGadgetSpecProviderPermission

Checks the PluginGadgetSpec for a "admin-only" parameter and, if the value is true, only allows admins to see the gadget in the gadget browser.


Constructor Summary
AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl(com.atlassian.sal.api.user.UserManager userManager)
           
 
Method Summary
 Vote voteOn(PluginGadgetSpec gadgetSpec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl

public AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl(com.atlassian.sal.api.user.UserManager userManager)
Method Detail

voteOn

public Vote voteOn(PluginGadgetSpec gadgetSpec)
Specified by:
voteOn in interface PluginGadgetSpecProviderPermission


Copyright © 2010 Atlassian. All Rights Reserved.