|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Revisable
| Method Summary | |
|---|---|
void |
addListener(RevisionListener listener)
|
List<RevisionEvent> |
getRevisionHistory()
may not return all events ever registered, but only the relevant ones This is an optional feature |
Status |
getStatus()
|
void |
removeListener(RevisionListener listener)
|
void |
revise(RevisionEvent revision)
adds a revision to the history and changes the current status accordingly |
| Method Detail |
|---|
void addListener(RevisionListener listener)
void removeListener(RevisionListener listener)
Status getStatus()
void revise(RevisionEvent revision)
throws IllegalStateException
IllegalStateException - if this Revisable doesn't accept the given revision
List<RevisionEvent> getRevisionHistory()
throws UnsupportedOperationException
UnsupportedOperationException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||