com.atlassian.gadgets.refimpl
Class AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl
public AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl(com.atlassian.sal.api.user.UserManager userManager)
voteOn
public Vote voteOn(PluginGadgetSpec gadgetSpec)
- Specified by:
voteOn in interface PluginGadgetSpecProviderPermission
Copyright © 2009 Atlassian. All Rights Reserved.