|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
net.customware.license.confluence.AbstractLicenseAction
public abstract class AbstractLicenseAction
This class provides the basline for allowing plugins to install their own license key.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
|---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
| Fields inherited from class com.opensymphony.xwork.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
AbstractLicenseAction()
|
|
| Method Summary | |
|---|---|
protected abstract de.schlichtherle.license.LicenseManager |
createLicenseManager()
Called to create the license manager for this plugin. |
java.lang.String |
execute()
|
java.lang.String |
getAbsoluteEulaPath()
|
abstract java.lang.String |
getEulaPath()
Returns the Confluence-relative path to the EULA text. |
java.lang.String |
getInstall()
|
de.schlichtherle.license.LicenseContent |
getLicenseContent()
|
int |
getLicenseExpiring()
|
java.lang.String |
getLicenseHolder()
|
java.lang.String |
getLicenseIssuer()
|
protected de.schlichtherle.license.LicenseManager |
getLicenseManager()
|
java.lang.String |
getLicenseText()
|
protected com.opensymphony.webwork.dispatcher.multipart.MultiPartRequestWrapper |
getMultiPartRequest()
|
abstract java.lang.String |
getPluginName()
Returns the name of the plugin, for use in the user interface. |
java.lang.String |
getUninstall()
|
void |
setInstall(java.lang.String upload)
|
void |
setLicenseText(java.lang.String licenseText)
|
void |
setUninstall(java.lang.String uninstall)
|
| Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
|---|
addActionError, addPermissionTypeTo, addToHistory, doDefault, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getGlobalHelper, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSpaceHelper, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, isShowSillyMenus, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager |
| Methods inherited from class com.opensymphony.xwork.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractLicenseAction()
| Method Detail |
|---|
protected com.opensymphony.webwork.dispatcher.multipart.MultiPartRequestWrapper getMultiPartRequest()
public java.lang.String execute()
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportpublic de.schlichtherle.license.LicenseContent getLicenseContent()
public java.lang.String getLicenseHolder()
public java.lang.String getLicenseIssuer()
public int getLicenseExpiring()
public java.lang.String getInstall()
public void setInstall(java.lang.String upload)
protected de.schlichtherle.license.LicenseManager getLicenseManager()
public java.lang.String getUninstall()
public void setUninstall(java.lang.String uninstall)
public java.lang.String getAbsoluteEulaPath()
protected abstract de.schlichtherle.license.LicenseManager createLicenseManager()
public abstract java.lang.String getPluginName()
ConfluenceActionSupport.getText(String) method(s) to
internationalise the title.
public abstract java.lang.String getEulaPath()
public java.lang.String getLicenseText()
public void setLicenseText(java.lang.String licenseText)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||