org.oddjob.persist
Class ArchiveBrowserJob
java.lang.Object
org.oddjob.framework.BaseComponent
org.oddjob.framework.BasePrimary
org.oddjob.framework.SimpleJob
org.oddjob.persist.ArchiveBrowserJob
- All Implemented Interfaces:
- Runnable, ArooaContextAware, ArooaSessionAware, Forceable, PropertyChangeNotifier, Iconic, LogEnabled, Resetable, Stateful, Structural
public class ArchiveBrowserJob
- extends SimpleJob
- implements Structural
Description
Browse archives previously create with an ArchiveJob
.- Author:
- rob
Methods inherited from class org.oddjob.framework.SimpleJob |
fireDestroyedState, force, getStateChanger, hardReset, onDestroy, onStop, run, sleep, softReset, stateHandler, stop |
Methods inherited from class org.oddjob.framework.BaseComponent |
addIconListener, addPropertyChangeListener, addStateListener, configure, destroy, firePropertyChange, getArooaSession, iconForId, initialise, lastStateEvent, onConfigured, onInitialised, removeIconListener, removePropertyChangeListener, removeStateListener, save, setArooaContext, setArooaSession |
childHelper
protected ChildHelper<Object> childHelper
- Child helper.
ArchiveBrowserJob
public ArchiveBrowserJob()
execute
protected int execute()
throws Throwable
- Description copied from class:
SimpleJob
- Execute this job.
- Specified by:
execute
in class SimpleJob
- Returns:
- 0 if the job is complete, anything else otherwise.
- Throws:
Exception
- If the unexpected occurs.
Throwable
onReset
protected void onReset()
- Description copied from class:
SimpleJob
- Allow sub classes to do something on reset.
- Overrides:
onReset
in class SimpleJob
addStructuralListener
public void addStructuralListener(StructuralListener listener)
- Description copied from interface:
Structural
- Add a listener. The listener will immediately receive add
notifications for all existing children.
- Specified by:
addStructuralListener
in interface Structural
- Parameters:
listener
- The listener.
removeStructuralListener
public void removeStructuralListener(StructuralListener listener)
- Description copied from interface:
Structural
- Remove a listener.
- Specified by:
removeStructuralListener
in interface Structural
- Parameters:
listener
- The listener.
getArchiveName
public String getArchiveName()
setArchiveName
public void setArchiveName(String path)
getArchiver
public OddjobPersister getArchiver()
setArchiver
public void setArchiver(OddjobPersister archiver)