change
Class ChangeService
java.lang.Object
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.
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 |
changeLogger
ChangeLogger changeLogger
- A reference to the
ChangeLogger
, a repository-type component that handles Change
objects storage.
ChangeService
public ChangeService()
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.).