org.mmbase.module.gui.html
Class EditState

java.lang.Object
  |
  +--org.mmbase.module.gui.html.EditState

public class EditState
extends java.lang.Object

EditState, controls the users edit session, keeps EditStatesNodes (hitlisted)

Version:
$Id: EditState.java,v 1.10 2001/03/09 11:16:33 pierre Exp $
Author:
Daniel Ockeloen, Hans Speijer

Constructor Summary
EditState(java.lang.String user, MMBase mmBase)
           
 
Method Summary
 boolean addRelation(java.lang.String owner)
           
 boolean clear()
           
 void clearHtmlValues()
           
 void clearSearchValues()
           
 void delInsSaveList()
           
 MMObjectBuilder getBuilder()
           
 java.lang.String getBuilderName()
           
 MMObjectNode getEditDstNode()
           
 MMObjectNode getEditNode()
           
 MMObjectNode getEditNode(int i)
           
 java.lang.String getEditNodeDstDutchName()
           
 java.lang.String getEditNodeDstGuiIndicator()
           
 java.lang.String getEditNodeDstName()
           
 int getEditNodeDstNumber()
           
 int getEditNodeNumber()
           
 java.lang.String getEditNodeSrcDutchName()
           
 java.lang.String getEditNodeSrcGuiIndicator()
           
 java.lang.String getEditNodeSrcName()
           
 int getEditNodeSrcNumber()
           
 MMObjectNode getEditSrcNode()
           
 EditStateNode getEditStateNode(int i)
           
 java.util.Vector getEditStates()
           
 java.lang.String getHtmlValue(java.lang.String name)
           
 java.util.Hashtable getHtmlValues()
           
 boolean getInsSave()
           
 java.util.Vector getInsSaveList()
           
 java.lang.String getLanguage()
           
 java.util.Hashtable getRelationTable()
           
 java.lang.String getSearchValue(java.lang.String name)
           
 java.util.Hashtable getSearchValues()
           
 java.lang.String getSelectionQuery()
           
 java.lang.String getUser()
           
 boolean isChanged()
           
 void NewNode(java.lang.String owner)
           
 boolean popState()
           
 boolean pushState()
           
 void removeEd()
           
 void removeNode()
           
 void removeRelations()
           
 void setBuilder(java.lang.String name)
           
 void setEditNode(java.lang.String number, java.lang.String userName)
           
 boolean setHtmlValue(java.lang.String fieldname, java.lang.Object value)
           
 void setInsSave(boolean set)
           
 boolean setSearchValue(java.lang.String fieldname, java.lang.Object value)
           
 void setSelectionQuery(java.lang.String query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditState

public EditState(java.lang.String user,
                 MMBase mmBase)
Method Detail

pushState

public boolean pushState()

clear

public boolean clear()

popState

public boolean popState()

getEditStates

public java.util.Vector getEditStates()

setSearchValue

public boolean setSearchValue(java.lang.String fieldname,
                              java.lang.Object value)

getSearchValue

public java.lang.String getSearchValue(java.lang.String name)

getSearchValues

public java.util.Hashtable getSearchValues()

clearSearchValues

public void clearSearchValues()

setHtmlValue

public boolean setHtmlValue(java.lang.String fieldname,
                            java.lang.Object value)

getHtmlValue

public java.lang.String getHtmlValue(java.lang.String name)

getHtmlValues

public java.util.Hashtable getHtmlValues()

clearHtmlValues

public void clearHtmlValues()

setEditNode

public void setEditNode(java.lang.String number,
                        java.lang.String userName)

getEditNode

public MMObjectNode getEditNode()

getEditNode

public MMObjectNode getEditNode(int i)

getEditStateNode

public EditStateNode getEditStateNode(int i)

NewNode

public void NewNode(java.lang.String owner)

removeNode

public void removeNode()

removeRelations

public void removeRelations()

removeEd

public void removeEd()

getEditNodeNumber

public int getEditNodeNumber()

getEditNodeSrcNumber

public int getEditNodeSrcNumber()

getEditNodeDstNumber

public int getEditNodeDstNumber()

getEditNodeSrcDutchName

public java.lang.String getEditNodeSrcDutchName()

getEditNodeDstGuiIndicator

public java.lang.String getEditNodeDstGuiIndicator()

getEditNodeSrcGuiIndicator

public java.lang.String getEditNodeSrcGuiIndicator()

getEditNodeDstDutchName

public java.lang.String getEditNodeDstDutchName()

getEditNodeSrcName

public java.lang.String getEditNodeSrcName()

getEditNodeDstName

public java.lang.String getEditNodeDstName()

getEditSrcNode

public MMObjectNode getEditSrcNode()

getEditDstNode

public MMObjectNode getEditDstNode()

setBuilder

public void setBuilder(java.lang.String name)

getBuilderName

public java.lang.String getBuilderName()

getBuilder

public MMObjectBuilder getBuilder()

setSelectionQuery

public void setSelectionQuery(java.lang.String query)

getSelectionQuery

public java.lang.String getSelectionQuery()

isChanged

public boolean isChanged()

addRelation

public boolean addRelation(java.lang.String owner)

getInsSave

public boolean getInsSave()

setInsSave

public void setInsSave(boolean set)

getInsSaveList

public java.util.Vector getInsSaveList()

delInsSaveList

public void delInsSaveList()

getRelationTable

public java.util.Hashtable getRelationTable()

getLanguage

public java.lang.String getLanguage()

getUser

public java.lang.String getUser()


MMBase 2002