change
Class ChangeService

java.lang.Object
  extended by change.ChangeService

public abstract class ChangeService
extends Object

Interface for the change module, offering the means for the other components to store and access changes.


Field Summary
(package private)  ChangeLogger changeLogger
          A reference to the ChangeLogger, a repository-type component that handles Change objects storage.
 
Constructor Summary
ChangeService()
           
 
Method Summary
abstract  List<Change> getChanges(ChangeQueryCriteria criteria)
          Returns a list of changes that match the given criteria (changes of a certain type or for a list of files, changes during a given period, changes for a given group etc.).
abstract  void logChange(Change change)
          Adds a change to the history of changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changeLogger

ChangeLogger changeLogger
A reference to the ChangeLogger, a repository-type component that handles Change objects storage.

Constructor Detail

ChangeService

public ChangeService()
Method Detail

logChange

public abstract void logChange(Change change)
Adds a change to the history of changes.

Parameters:
change - - the Change object, as created by the other components using the ChangeFactory.

getChanges

public abstract List<Change> getChanges(ChangeQueryCriteria criteria)
Returns a list of changes that match the given criteria (changes of a certain type or for a list of files, changes during a given period, changes for a given group etc.).