com.openindex.openestate.tool.agency
Class AgencyExportTask

java.lang.Object
  extended by javax.swing.SwingWorker<T,V>
      extended by org.jdesktop.application.Task<ResultType,Void>
          extended by com.openindex.openestate.tool.ImmoToolTask<AgencyExportSummary>
              extended by com.openindex.openestate.tool.agency.AgencyExportTask
All Implemented Interfaces:
Runnable, Future<AgencyExportSummary>, RunnableFuture<AgencyExportSummary>

public class AgencyExportTask
extends ImmoToolTask<AgencyExportSummary>

ImmoToolTask zum Export des Immobilienbestandes.
$Id: AgencyExportTask.java 1797 2012-09-30 17:22:37Z andy $

Author:
Andreas Rudolph

Nested Class Summary
 
Nested classes/interfaces inherited from class com.openindex.openestate.tool.ImmoToolTask
ImmoToolTask.Callback, ImmoToolTask.TaskMessageListener
 
Nested classes/interfaces inherited from class org.jdesktop.application.Task
org.jdesktop.application.Task.BlockingScope, org.jdesktop.application.Task.InputBlocker
 
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue
 
Field Summary
 
Fields inherited from class org.jdesktop.application.Task
PROP_COMPLETED, PROP_DESCRIPTION, PROP_DONE, PROP_INPUTBLOCKER, PROP_MESSAGE, PROP_STARTED, PROP_TASKSERVICE, PROP_TITLE, PROP_USERCANCANCEL
 
Constructor Summary
AgencyExportTask(AgencyExportInterface exportInterface, AgencyExportSummary exportSummary)
           
AgencyExportTask(AgencyExportInterface exportInterface, AgencyExportSummary exportSummary, boolean storeSummaryAndProtocols)
           
 
Method Summary
protected  void cancelled()
           
protected  AgencyExportSummary executeTask()
           
protected  void failed(Throwable t)
           
protected  AgencyExportInterface getExportInterface()
           
protected  AgencyExportSummary getExportSummary()
           
protected  void succeeded(AgencyExportSummary result)
           
 
Methods inherited from class com.openindex.openestate.tool.ImmoToolTask
addMessageListener, checkCancelled, createCallback, doInBackground, finished, getTaskDialog, removeMessageListener, setMessage, setTaskDialog
 
Methods inherited from class org.jdesktop.application.Task
addTaskListener, done, getApplication, getContext, getDescription, getExecutionDuration, getInputBlocker, getMessage, getMessageDuration, getResourceMap, getTaskListeners, getTaskService, getTitle, getUserCanCancel, interrupted, isPending, isProgressPropertyValid, isStarted, message, process, removeTaskListener, resourceName, setDescription, setInputBlocker, setProgress, setProgress, setProgress, setTitle, setUserCanCancel
 
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgencyExportTask

public AgencyExportTask(AgencyExportInterface exportInterface,
                        AgencyExportSummary exportSummary)

AgencyExportTask

public AgencyExportTask(AgencyExportInterface exportInterface,
                        AgencyExportSummary exportSummary,
                        boolean storeSummaryAndProtocols)
Method Detail

cancelled

protected void cancelled()
Overrides:
cancelled in class ImmoToolTask<AgencyExportSummary>

executeTask

protected AgencyExportSummary executeTask()
                                   throws Exception
Specified by:
executeTask in class ImmoToolTask<AgencyExportSummary>
Throws:
Exception

failed

protected void failed(Throwable t)
Overrides:
failed in class ImmoToolTask<AgencyExportSummary>

getExportInterface

protected AgencyExportInterface getExportInterface()

getExportSummary

protected AgencyExportSummary getExportSummary()

succeeded

protected void succeeded(AgencyExportSummary result)
Overrides:
succeeded in class ImmoToolTask<AgencyExportSummary>


Copyright © 2012 OpenEstate. All Rights Reserved.