de.topicmapslab.majortom.queued.queue.task
Class RemoveConstructTask

java.lang.Object
  extended by de.topicmapslab.majortom.queued.queue.task.QueueTaskImpl
      extended by de.topicmapslab.majortom.queued.queue.task.RemoveConstructTask
All Implemented Interfaces:
IQueueTask

public class RemoveConstructTask
extends QueueTaskImpl

A task definition for the deletion tasks of constructs

Author:
Sven Krosse

Field Summary
private  boolean cascade
          the cascading flag
 
Constructor Summary
RemoveConstructTask(de.topicmapslab.majortom.model.core.IConstruct context, boolean cascade)
          constructor
 
Method Summary
 void doTask(de.topicmapslab.majortom.model.store.ITopicMapStore topicMapStore)
          Method invoke by the writer queue to execute this task
 java.lang.Object getResult()
          Returns the result of the task execution
 
Methods inherited from class de.topicmapslab.majortom.queued.queue.task.QueueTaskImpl
getContext, getParameterType, getTimeStamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cascade

private boolean cascade
the cascading flag

Constructor Detail

RemoveConstructTask

public RemoveConstructTask(de.topicmapslab.majortom.model.core.IConstruct context,
                           boolean cascade)
constructor

Parameters:
context - the context
parameters - the parameters
Method Detail

doTask

public void doTask(de.topicmapslab.majortom.model.store.ITopicMapStore topicMapStore)
            throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
Method invoke by the writer queue to execute this task

Parameters:
topicMapStore - the topic map store, used to execute the task
Throws:
de.topicmapslab.majortom.model.exception.TopicMapStoreException

getResult

public java.lang.Object getResult()
Returns the result of the task execution