com.partnersoft.codex
Class CodexResourceEdit

java.lang.Object
  extended by com.partnersoft.codex.CodexEdit
      extended by com.partnersoft.codex.CodexResourceEdit

public abstract class CodexResourceEdit
extends CodexEdit

Author:
Russell Cagle Copyright 2006 Partner Software, Inc.

Field Summary
 
Fields inherited from class com.partnersoft.codex.CodexEdit
applied, id
 
Constructor Summary
protected CodexResourceEdit(CodexResourceModel model)
           
 
Method Summary
 void dispose()
          For CodexStructuralEdits, deletes the backup from the filesystem.
 CodexResource getCodexResource()
           
 CodexResourceModel getCodexResourceModel()
          Get the model that did it.
 CodexNode getEditedNode()
          The edited object.
 
Methods inherited from class com.partnersoft.codex.CodexEdit
apply, getId, isApplied, rollback, setApplied
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodexResourceEdit

protected CodexResourceEdit(CodexResourceModel model)
Method Detail

dispose

public void dispose()
             throws java.io.IOException
Description copied from class: CodexEdit
For CodexStructuralEdits, deletes the backup from the filesystem. Note that dispose() is always called on undone edits.

Specified by:
dispose in class CodexEdit
Throws:
java.io.IOException

getEditedNode

public CodexNode getEditedNode()
Description copied from class: CodexEdit
The edited object. Mainly to help the GUI highlight the appropriate stuff.

Specified by:
getEditedNode in class CodexEdit
Returns:

getCodexResource

public CodexResource getCodexResource()

getCodexResourceModel

public CodexResourceModel getCodexResourceModel()
Get the model that did it.

Returns: