com.atlassian.crowd.console.action.admin
Class Backup

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.admin.Backup
All Implemented Interfaces:
com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, Serializable, Cloneable

public class Backup
extends BaseAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, crowdUserDetailsService, directoryManager, initialLoad, propertyManager, tab, tokenAuthenticationManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
Backup()
           
 
Method Summary
 String doDefault()
           
 String doExport()
           
 String doImport()
           
 String doScheduledBackup()
           
 BackupSummary getBackupSummary()
           
 String getExportFileName()
           
 String getExportResponseMessage()
           
 String getImportFilePath()
           
 String getImportResponseMessage()
           
 int getScheduledBackupTime()
           
 List<com.atlassian.core.util.PairType> getScheduledBackupTimes()
           
 Date getServerCurrentDate()
           
 XmlMigrationManager getXmlMigrationManager()
           
 boolean isEnableScheduleBackups()
           
 boolean isResetDomain()
           
 void setBackupManager(BackupManager backupManager)
           
 void setBackupScheduler(BackupScheduler backupScheduler)
           
 void setEnableScheduleBackups(boolean enableScheduleBackups)
           
 void setExportFileName(String exportFileName)
           
 void setExportResponseMessage(String exportResponseMessage)
           
 void setImportFilePath(String importFilePath)
           
 void setImportResponseMessage(String importResponseMessage)
           
 void setResetDomain(boolean resetDomain)
           
 void setScheduledBackupTime(int scheduledBackupTime)
           
 void setXmlMigrationManager(XmlMigrationManager xmlMigrationManager)
           
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getText, getText, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, hasAdminRole, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, isSubscription, isWithinGracePeriod, renderFreemarkerTemplate, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setCrowdApplication, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Backup

public Backup()
Method Detail

doDefault

public String doDefault()
                 throws Exception
Overrides:
doDefault in class BaseAction
Throws:
Exception

doExport

public String doExport()
                throws Exception
Throws:
Exception

doImport

public String doImport()

doScheduledBackup

public String doScheduledBackup()

getXmlMigrationManager

public XmlMigrationManager getXmlMigrationManager()

setXmlMigrationManager

public void setXmlMigrationManager(XmlMigrationManager xmlMigrationManager)

getExportFileName

public String getExportFileName()

setExportFileName

public void setExportFileName(String exportFileName)

getImportFilePath

public String getImportFilePath()

setImportFilePath

public void setImportFilePath(String importFilePath)

getImportResponseMessage

public String getImportResponseMessage()

setImportResponseMessage

public void setImportResponseMessage(String importResponseMessage)

getExportResponseMessage

public String getExportResponseMessage()

setExportResponseMessage

public void setExportResponseMessage(String exportResponseMessage)

isResetDomain

public boolean isResetDomain()

setResetDomain

public void setResetDomain(boolean resetDomain)

setBackupManager

public void setBackupManager(BackupManager backupManager)

getScheduledBackupTimes

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

setBackupScheduler

public void setBackupScheduler(BackupScheduler backupScheduler)

isEnableScheduleBackups

public boolean isEnableScheduleBackups()

setEnableScheduleBackups

public void setEnableScheduleBackups(boolean enableScheduleBackups)

getScheduledBackupTime

public int getScheduledBackupTime()

setScheduledBackupTime

public void setScheduledBackupTime(int scheduledBackupTime)

getBackupSummary

public BackupSummary getBackupSummary()

getServerCurrentDate

public Date getServerCurrentDate()


Copyright © 2013 Atlassian. All Rights Reserved.