de.topicmapslab.majortom.queued.queue.task
Interface IQueueTask

All Known Implementing Classes:
CreateTask, MergeTask, ModifyTask, QueueTaskImpl, RemoveConstructTask, RemoveDuplicatesTask, RemoveTask, SystemTask

public interface IQueueTask

Author:
Sven

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
 java.util.Calendar getTimeStamp()
          Returns a calendar instance representing the definition time of this task
 

Method Detail

doTask

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

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


getTimeStamp

java.util.Calendar getTimeStamp()
Returns a calendar instance representing the definition time of this task

Returns:
the timestamp