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

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

public class RemoveTask
extends QueueTaskImpl

A task definition for the deletion tasks

Author:
Sven Krosse

Field Summary
private  java.lang.Object[] parameters
          array of all parameters
 
Constructor Summary
RemoveTask(de.topicmapslab.majortom.model.core.IConstruct context, de.topicmapslab.majortom.model.store.TopicMapStoreParameterType parameterType, java.lang.Object... parameters)
          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

parameters

private java.lang.Object[] parameters
array of all parameters

Constructor Detail

RemoveTask

public RemoveTask(de.topicmapslab.majortom.model.core.IConstruct context,
                  de.topicmapslab.majortom.model.store.TopicMapStoreParameterType parameterType,
                  java.lang.Object... parameters)
constructor

Parameters:
context - the context
parameterType - the parameter type
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