|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.codex.CodexEdit
public abstract class CodexEdit
An undoable edit to something in the system.
| Field Summary | |
|---|---|
protected boolean |
applied
|
protected int |
id
|
| Constructor Summary | |
|---|---|
protected |
CodexEdit()
|
| Method Summary | |
|---|---|
protected abstract void |
apply()
For CodexResources, this sets the bytes in memory without writing them to disk. |
protected abstract void |
dispose()
For CodexStructuralEdits, deletes the backup from the filesystem. |
abstract CodexNode |
getEditedNode()
The edited object. |
int |
getId()
|
boolean |
isApplied()
|
protected abstract void |
rollback()
For CodexResources, this sets the bytes in memory without writing them to disk. |
protected void |
setApplied(boolean applied)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean applied
protected int id
| Constructor Detail |
|---|
protected CodexEdit()
| Method Detail |
|---|
protected abstract void apply()
throws java.io.IOException
java.io.IOException
protected abstract void dispose()
throws java.io.IOException
java.io.IOException
protected abstract void rollback()
throws java.io.IOException
java.io.IOExceptionprotected void setApplied(boolean applied)
public abstract CodexNode getEditedNode()
public int getId()
public boolean isApplied()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||