public class ManagePluginsAction extends ConfluenceActionSupport implements com.opensymphony.webwork.interceptor.SessionAware
Modifier and Type | Field and Description |
---|---|
protected String |
moduleKey |
protected com.atlassian.plugin.Plugin |
selectedPlugin |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ManagePluginsAction() |
Modifier and Type | Method and Description |
---|---|
String |
doDisable() |
String |
doEnable() |
String |
doScan() |
String |
doUninstall() |
String |
doView() |
String |
execute() |
String |
getHtmlSafePluginDescription(com.atlassian.plugin.PluginInformation plug) |
Integer |
getNewPlugins() |
String |
getPluginKey() |
Collection |
getPlugins() |
com.atlassian.plugin.Plugin |
getSelectedPlugin() |
protected String |
installPlugin(File pluginJar) |
protected String |
installPlugin(File pluginFile,
String pluginFileName) |
boolean |
isModuleEnabled(String moduleKey) |
boolean |
isPermitted() |
boolean |
isPluginEnabled(String pluginKey) |
boolean |
isPluginRepositoryEnabled() |
boolean |
isUninstallSuccessful() |
boolean |
isUnloadableModule(com.atlassian.plugin.ModuleDescriptor descriptor) |
boolean |
isUnloadablePlugin(com.atlassian.plugin.Plugin plugin) |
boolean |
isUnrecognisedModule(com.atlassian.plugin.ModuleDescriptor descriptor) |
int |
numEnabled(com.atlassian.plugin.Plugin plugin) |
void |
setMode(String mode) |
void |
setModuleKey(String moduleKey) |
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor) |
void |
setPluginController(com.atlassian.plugin.PluginController pluginController) |
void |
setPluginKey(String pluginKey) |
void |
setSession(Map session) |
protected void |
updateSelectedPlugin() |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
protected com.atlassian.plugin.Plugin selectedPlugin
protected String moduleKey
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public String doScan()
public String doUninstall()
public String doDisable()
public String doEnable()
public String getPluginKey()
protected void updateSelectedPlugin()
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
setPluginAccessor
in class ConfluenceActionSupport
public Collection getPlugins()
public boolean isUnloadablePlugin(com.atlassian.plugin.Plugin plugin)
public boolean isPluginEnabled(String pluginKey)
public boolean isUnloadableModule(com.atlassian.plugin.ModuleDescriptor descriptor)
public boolean isUnrecognisedModule(com.atlassian.plugin.ModuleDescriptor descriptor)
public boolean isModuleEnabled(String moduleKey)
public void setPluginKey(String pluginKey)
public void setModuleKey(String moduleKey)
public com.atlassian.plugin.Plugin getSelectedPlugin()
public int numEnabled(com.atlassian.plugin.Plugin plugin)
protected String installPlugin(File pluginJar) throws com.atlassian.plugin.PluginParseException
com.atlassian.plugin.PluginParseException
protected String installPlugin(File pluginFile, String pluginFileName) throws com.atlassian.plugin.PluginParseException
com.atlassian.plugin.PluginParseException
public Integer getNewPlugins()
public void setSession(Map session)
setSession
in interface com.opensymphony.webwork.interceptor.SessionAware
public void setPluginController(com.atlassian.plugin.PluginController pluginController)
public boolean isPluginRepositoryEnabled()
public boolean isUninstallSuccessful()
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
public String getHtmlSafePluginDescription(com.atlassian.plugin.PluginInformation plug)
public void setMode(String mode)
Copyright © 2003–2015 Atlassian. All rights reserved.