com.atlassian.confluence.admin.actions
Class DailyBackupAdminAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.admin.actions.DailyBackupAdminAction
All Implemented Interfaces:
WebInterface, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable

public class DailyBackupAdminAction
extends ConfluenceActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, 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
DailyBackupAdminAction()
           
 
Method Summary
 java.lang.String doDefault()
          Default webwork action execution method.
 java.lang.String doEdit()
           
 java.lang.String doView()
           
 java.lang.String execute()
           
 java.lang.String getBackupOption()
           
 java.util.List<com.atlassian.core.util.PairType> getBackupOptions()
           
 java.lang.String getBackupPath()
           
 java.lang.String getDailyBackupDateFormatPattern()
           
 java.lang.String getDailyBackupFilePrefix()
           
 java.lang.String getDefaultBackupPath()
           
 boolean getEditMode()
           
 java.lang.String getExampleOfDatePattern()
           
 boolean isBackupAttachments()
           
 boolean isBackupEnabled()
           
 boolean isCustomLocationAllowed()
           
 boolean isPermitted()
           
 boolean isVanilla()
           
 void setAdminUiProperties(AdminUiProperties adminUiProperties)
           
 void setBackupAttachments(boolean backupAttachments)
           
 void setBackupOption(java.lang.String backupOption)
           
 void setBackupPath(java.lang.String backupPath)
           
 void setDailyBackupDateFormatPattern(java.lang.String dailyBackupDateFormatPattern)
           
 void setDailyBackupFilePrefix(java.lang.String dailyBackupFilePrefix)
           
 void setScheduledJobManager(ScheduledJobManager scheduledJobManager)
           
 void validate()
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DailyBackupAdminAction

public DailyBackupAdminAction()
Method Detail

validate

public void validate()
Specified by:
validate in interface MessageHolderAware
Specified by:
validate in interface com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

doView

public java.lang.String doView()
                        throws java.lang.Exception
Throws:
java.lang.Exception

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Description copied from class: ConfluenceActionSupport
Default webwork action execution method.

Overrides:
doDefault in class ConfluenceActionSupport
Returns:
the action result
Throws:
java.lang.Exception - if something goes wrong

isPermitted

public boolean isPermitted()
Overrides:
isPermitted in class ConfluenceActionSupport

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
java.lang.Exception

isVanilla

public boolean isVanilla()

isBackupEnabled

public boolean isBackupEnabled()

getDefaultBackupPath

public java.lang.String getDefaultBackupPath()

doEdit

public java.lang.String doEdit()
                        throws com.atlassian.config.ConfigurationException
Throws:
com.atlassian.config.ConfigurationException

isCustomLocationAllowed

public boolean isCustomLocationAllowed()

getExampleOfDatePattern

public java.lang.String getExampleOfDatePattern()

getBackupPath

public java.lang.String getBackupPath()

setBackupPath

public void setBackupPath(java.lang.String backupPath)

isBackupAttachments

public boolean isBackupAttachments()

setBackupAttachments

public void setBackupAttachments(boolean backupAttachments)

getBackupOption

public java.lang.String getBackupOption()

setBackupOption

public void setBackupOption(java.lang.String backupOption)

getBackupOptions

public java.util.List<com.atlassian.core.util.PairType> getBackupOptions()

getDailyBackupFilePrefix

public java.lang.String getDailyBackupFilePrefix()

setDailyBackupFilePrefix

public void setDailyBackupFilePrefix(java.lang.String dailyBackupFilePrefix)

getDailyBackupDateFormatPattern

public java.lang.String getDailyBackupDateFormatPattern()

setDailyBackupDateFormatPattern

public void setDailyBackupDateFormatPattern(java.lang.String dailyBackupDateFormatPattern)

setAdminUiProperties

public void setAdminUiProperties(AdminUiProperties adminUiProperties)

setScheduledJobManager

public void setScheduledJobManager(ScheduledJobManager scheduledJobManager)

getEditMode

public boolean getEditMode()


Copyright © 2003-2014 Atlassian. All Rights Reserved.