de.willuhn.jameica.gui.internal.controller
Class BackupControl

java.lang.Object
  extended by de.willuhn.jameica.gui.AbstractControl
      extended by de.willuhn.jameica.gui.internal.controller.BackupControl

public class BackupControl
extends AbstractControl

Controller fuer das Backup.


Field Summary
 
Fields inherited from class de.willuhn.jameica.gui.AbstractControl
view
 
Constructor Summary
BackupControl(AbstractView view)
           
 
Method Summary
 TablePart getBackups()
          Liefert eine Tabelle mit den bisher erstellten Backups.
 Input getCount()
          Liefert ein Eingabefeld fuer die Anzahl der Backups.
 CheckboxInput getState()
          Liefert eine Checkbox zum Aktivieren, deaktivieren des Backups.
 Input getTarget()
          Liefert ein Eingabefeld fuer das Zielverzeichnis des Backups.
 void handleRestore()
          Markiert ein Backup fuer die Wiederherstellung.
 void handleStore()
          Speichert die Einstellungen.
 
Methods inherited from class de.willuhn.jameica.gui.AbstractControl
getCurrentObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupControl

public BackupControl(AbstractView view)
Parameters:
view -
Method Detail

getState

public CheckboxInput getState()
Liefert eine Checkbox zum Aktivieren, deaktivieren des Backups.

Returns:
Checkbox.

getTarget

public Input getTarget()
                throws de.willuhn.util.ApplicationException
Liefert ein Eingabefeld fuer das Zielverzeichnis des Backups.

Returns:
Eingabefeld.
Throws:
de.willuhn.util.ApplicationException

getCount

public Input getCount()
Liefert ein Eingabefeld fuer die Anzahl der Backups.

Returns:
Eingabefeld.

getBackups

public TablePart getBackups()
                     throws java.rmi.RemoteException,
                            de.willuhn.util.ApplicationException
Liefert eine Tabelle mit den bisher erstellten Backups.

Returns:
Tabelle mit den Backups.
Throws:
java.rmi.RemoteException
de.willuhn.util.ApplicationException

handleStore

public void handleStore()
Speichert die Einstellungen.


handleRestore

public void handleRestore()
Markiert ein Backup fuer die Wiederherstellung.