com.atlassian.gadgets.refimpl
Class AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl
java.lang.Object
com.atlassian.gadgets.refimpl.AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl
- All Implemented Interfaces:
- com.atlassian.gadgets.publisher.spi.PluginGadgetSpecProviderPermission
public class AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl
- extends Object
- implements com.atlassian.gadgets.publisher.spi.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.
Method Summary |
com.atlassian.gadgets.Vote |
voteOn(com.atlassian.gadgets.plugins.PluginGadgetSpec gadgetSpec)
|
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 com.atlassian.gadgets.Vote voteOn(com.atlassian.gadgets.plugins.PluginGadgetSpec gadgetSpec)
- Specified by:
voteOn
in interface com.atlassian.gadgets.publisher.spi.PluginGadgetSpecProviderPermission
Copyright © 2013 Atlassian. All Rights Reserved.