com.jurismarches.vradi.ui.models
Class ModifThesaurusModel

java.lang.Object
  extended by javax.swing.AbstractListModel
      extended by com.jurismarches.vradi.ui.models.ModifModel<ModifThesaurusModel.ModifThesaurus>
          extended by com.jurismarches.vradi.ui.models.ModifThesaurusModel
All Implemented Interfaces:
Serializable, ListModel

public class ModifThesaurusModel
extends ModifModel<ModifThesaurusModel.ModifThesaurus>

Author:
letellier
See Also:
Serialized Form

Nested Class Summary
 class ModifThesaurusModel.AttributeModif
           
 class ModifThesaurusModel.CreateModif
           
 class ModifThesaurusModel.DeleteModif
           
 class ModifThesaurusModel.ModifThesaurus
           
 class ModifThesaurusModel.MoveModif
           
 
Nested classes/interfaces inherited from class com.jurismarches.vradi.ui.models.ModifModel
ModifModel.Modif
 
Field Summary
protected  Map<String,ModifThesaurusModel.AttributeModif> cachedAttributeModif
           
protected  LinkedHashMap<String,ModifThesaurusModel.ModifThesaurus> cachedModif
           
protected  jaxx.runtime.JAXXContext context
           
protected  ThesaurusTreeHelper helper
           
 
Fields inherited from class com.jurismarches.vradi.ui.models.ModifModel
values
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
ModifThesaurusModel(jaxx.runtime.JAXXContext context, ThesaurusTreeHelper helper)
           
 
Method Summary
 ModifThesaurusModel.CreateModif addCreateModif(VradiThesaurusDTO created)
           
 ModifThesaurusModel.DeleteModif addDeleteModif(VradiThesaurusDTO deleted)
           
 ModifThesaurusModel.MoveModif addMoveModif(VradiThesaurusDTO moved, String parentNamePath, String parentPath, String newPath)
           
protected  boolean askToCancelModifLinked(ModifThesaurusModel.ModifThesaurus modif)
           
 void cancelAttributeModif()
           
 void confirmAttributeModif()
           
protected  void findLinkedModif(ModifThesaurusModel.ModifThesaurus toCheck)
           
 String getAllMsgs()
           
protected  VradiThesaurusDTO getConcernedThesaurus(int index)
           
 List<VradiThesaurusDTO> getConcernedThesaurus(int[] index)
           
 ModifThesaurusModel.AttributeModif prepareAttributeModif(VradiThesaurusDTO modif, String attributeName, String oldValue)
           
 
Methods inherited from class com.jurismarches.vradi.ui.models.ModifModel
add, addAll, clear, fireAdd, fireRemove, get, getElementAt, getSize, getValues, remove, removeAll, revert, revert, setValues
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected jaxx.runtime.JAXXContext context

helper

protected ThesaurusTreeHelper helper

cachedAttributeModif

protected Map<String,ModifThesaurusModel.AttributeModif> cachedAttributeModif

cachedModif

protected LinkedHashMap<String,ModifThesaurusModel.ModifThesaurus> cachedModif
Constructor Detail

ModifThesaurusModel

public ModifThesaurusModel(jaxx.runtime.JAXXContext context,
                           ThesaurusTreeHelper helper)
Method Detail

addCreateModif

public ModifThesaurusModel.CreateModif addCreateModif(VradiThesaurusDTO created)

addDeleteModif

public ModifThesaurusModel.DeleteModif addDeleteModif(VradiThesaurusDTO deleted)

addMoveModif

public ModifThesaurusModel.MoveModif addMoveModif(VradiThesaurusDTO moved,
                                                  String parentNamePath,
                                                  String parentPath,
                                                  String newPath)

findLinkedModif

protected void findLinkedModif(ModifThesaurusModel.ModifThesaurus toCheck)

getAllMsgs

public String getAllMsgs()

askToCancelModifLinked

protected boolean askToCancelModifLinked(ModifThesaurusModel.ModifThesaurus modif)

prepareAttributeModif

public ModifThesaurusModel.AttributeModif prepareAttributeModif(VradiThesaurusDTO modif,
                                                                String attributeName,
                                                                String oldValue)

confirmAttributeModif

public void confirmAttributeModif()

cancelAttributeModif

public void cancelAttributeModif()

getConcernedThesaurus

protected VradiThesaurusDTO getConcernedThesaurus(int index)

getConcernedThesaurus

public List<VradiThesaurusDTO> getConcernedThesaurus(int[] index)


Copyright © 2009-2010 JurisMarches. All Rights Reserved.