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, 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, log, 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 execute()
           
 java.lang.String getBackupOption()
           
 java.lang.String getBackupPath()
           
 java.lang.String getDailyBackupDateFormatPattern()
           
 java.lang.String getDailyBackupFilePrefix()
           
 java.lang.String getDefaultBackupPath()
           
 java.lang.String getExampleOfDatePattern()
           
 boolean isBackupAttachments()
           
 boolean isBackupEnabled()
           
 boolean isPermitted()
           
 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 validate()
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPluginAccessor, 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
 
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 com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

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

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

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)

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)


Copyright © 2003-2010 Atlassian. All Rights Reserved.