de.smartics.maven.issues.cache
Interface TaskDataStore

Package class diagram package TaskDataStore
All Known Implementing Classes:
AbstractFileTaskDataStore, XmlTaskDataStore

public interface TaskDataStore

Interface to handle the persistency of task data information.

Author:
Robert Reiner

Method Summary
 org.eclipse.mylyn.tasks.core.data.TaskData load(String id)
          Retrieves the task information.
 void persist(org.eclipse.mylyn.tasks.core.data.TaskData task)
          Persists the task information.
 

Method Detail

persist

void persist(org.eclipse.mylyn.tasks.core.data.TaskData task)
             throws PersistenceException
Persists the task information.

Parameters:
task - the task information to persist.
Throws:
PersistenceException - if the task cannot be persisted.

load

org.eclipse.mylyn.tasks.core.data.TaskData load(String id)
                                                throws PersistenceException
Retrieves the task information.

Parameters:
id - the unique identifier of the task information.
Returns:
the requested task information with the given identifier or null if no task data is stored for the given identifier.
Throws:
PersistenceException - if the task information cannot be retrieved.


Copyright © 2008-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.