com.ideo.sweetdevria.model
Class RiaComponentStateFullModel

java.lang.Object
  extended by com.ideo.sweetdevria.event.RiaListenerManagerImpl
      extended by com.ideo.sweetdevria.model.RiaComponentModel
          extended by com.ideo.sweetdevria.model.RiaComponentStateFullModel
All Implemented Interfaces:
IRiaListener, IRiaListenerManager, IModel, java.io.Serializable, java.util.EventListener
Direct Known Subclasses:
BaseExportModel, FileUploadModel, GridModel, ListModel, ReaderModel, SuggestModel, TabLayoutModel, TreeModel, ZoneModel

public abstract class RiaComponentStateFullModel
extends RiaComponentModel

See Also:
Serialized Form

Constructor Summary
RiaComponentStateFullModel(javax.servlet.http.HttpServletRequest _req, java.lang.String _id)
           
RiaComponentStateFullModel(javax.servlet.http.HttpServletRequest _req, java.lang.String _id, java.lang.String _idPage)
           
 
Method Summary
 boolean isEmptyModel()
           
 void setEmptyModel(boolean isNewlyCreated)
           
abstract  void synchronizeModel(BaseTagSupport tag)
          Copy the data contained in the tag in the ones contained in the model.
abstract  void synchronizeTag(BaseTagSupport tag)
          Copy the data contained in the model with the ones contained in the tag.
 
Methods inherited from class com.ideo.sweetdevria.model.RiaComponentModel
getId, getInstance, getInstance, getInstance, getModel, getPage, getPageId, handleEvent, setModel
 
Methods inherited from class com.ideo.sweetdevria.event.RiaListenerManagerImpl
addEventListener, addEventTypeListener, fireEventType, removeAllEventListeners, removeAllEventTypeListeners, removeEventListener, removeEventTypeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ideo.sweetdevria.event.IRiaListenerManager
addEventListener, addEventTypeListener, fireEventType, removeAllEventListeners, removeAllEventTypeListeners, removeEventListener, removeEventTypeListener
 

Constructor Detail

RiaComponentStateFullModel

public RiaComponentStateFullModel(javax.servlet.http.HttpServletRequest _req,
                                  java.lang.String _id)

RiaComponentStateFullModel

public RiaComponentStateFullModel(javax.servlet.http.HttpServletRequest _req,
                                  java.lang.String _id,
                                  java.lang.String _idPage)
Method Detail

isEmptyModel

public boolean isEmptyModel()

setEmptyModel

public void setEmptyModel(boolean isNewlyCreated)

synchronizeModel

public abstract void synchronizeModel(BaseTagSupport tag)
Copy the data contained in the tag in the ones contained in the model. Called after a model creation

Parameters:
tag - the tag to update from

synchronizeTag

public abstract void synchronizeTag(BaseTagSupport tag)
Copy the data contained in the model with the ones contained in the tag. Called after a tag creation which model already exists

Parameters:
tag - the tag to update


Copyright © 2010 Ideo Technologies. All Rights Reserved.