SigPath

org.sigpath.tapestry.pages.model
Class AddReactions

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by org.apache.tapestry.AbstractPage
                  extended by org.apache.tapestry.html.BasePage
                      extended by org.sigpath.tapestry.pages.ValidatedPage
                          extended by org.sigpath.tapestry.pages.model.ModelValidated
                              extended by org.sigpath.tapestry.pages.model.AddReactions
All Implemented Interfaces:
EventListener, PageRenderListener, PageValidateListener, IComponent, ILocatable, ILocationHolder, IPage, IRender

public abstract class AddReactions
extends ModelValidated
implements PageRenderListener


Field Summary
 
Fields inherited from class org.sigpath.tapestry.pages.ValidatedPage
_validationDelegate
 
Constructor Summary
AddReactions()
           
 
Method Summary
 void addReactions(IRequestCycle cycle)
          add a reaction to the model being currently eddited
 String getFormat()
           
abstract  String getKeyword()
           
abstract  String getMoleculeType()
           
 IPropertySelectionModel getMoleculeTypeModel()
          selection over molecules types
abstract  String getPmid()
           
abstract  String getReactionType()
           
 IPropertySelectionModel getReactionTypeModel()
          selection over reaction types
 SearchResultsSetPaged getSearchResultsPaged()
           
abstract  String getUserName()
           
 IPropertySelectionModel getUserNameModel()
          selection over user types
 void pageBeginRender(PageEvent event)
           
 void searchPaged(IRequestCycle cycle)
          do a search and pass the result to a IBasictableColumn instance, which will be used by the tableView to display the results
abstract  void setKeyword(String k)
           
abstract  void setMoleculeType(String k)
           
abstract  void setPmid(String k)
           
abstract  void setReactionType(String k)
           
 void setSearchResultsPaged(SearchResultsSetPaged sr)
           
abstract  void setUserName(String k)
           
 
Methods inherited from class org.sigpath.tapestry.pages.model.ModelValidated
moveFurtherOrRollBack, notifyModelHasChanged, validateModel, validateModelCompartments, validateModelConcentrations, validateModelExcludedReactions, validateModelReactions
 
Methods inherited from class org.sigpath.tapestry.pages.ValidatedPage
getModelErrorsList, getValidationDelegate, initialize, moveTo, pageValidate, passErrorsToValidateDelegate, setErrorField
 
Methods inherited from class org.apache.tapestry.html.BasePage
getResponseWriter
 
Methods inherited from class org.apache.tapestry.AbstractPage
addPageDetachListener, addPageRenderListener, addPageValidateListener, attach, beginPageRender, beginResponse, detach, endPageRender, firePageBeginRender, firePageDetached, firePageEndRender, firePageValidate, getChangeObserver, getEngine, getExtendedId, getGlobal, getIdPath, getLocale, getNestedComponent, getOutputEncoding, getPageName, getRequestCycle, getVisit, removePageDetachListener, removePageRenderListener, removePageValidateListener, renderPage, setChangeObserver, setLocale, setPageName, setRequestCycle, validate
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, renderComponent
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, cleanupAfterRender, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, format, format, format, format, formatString, formatString, formatString, formatString, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainer, getId, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification, toString
 
Methods inherited from class org.apache.tapestry.spec.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.event.PageRenderListener
pageEndRender
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, finishLoad, getAsset, getAssets, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getId, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, getString, renderBody, setBinding, setContainer, setId, setNamespace, setPage, setProperty, setSpecification
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Constructor Detail

AddReactions

public AddReactions()
Method Detail

searchPaged

public void searchPaged(IRequestCycle cycle)
                 throws SigPathDatabaseException
do a search and pass the result to a IBasictableColumn instance, which will be used by the tableView to display the results

Throws:
SigPathDatabaseException

getReactionTypeModel

public IPropertySelectionModel getReactionTypeModel()
selection over reaction types

Returns:

getMoleculeTypeModel

public IPropertySelectionModel getMoleculeTypeModel()
selection over molecules types

Returns:

getUserNameModel

public IPropertySelectionModel getUserNameModel()
selection over user types

Returns:

addReactions

public void addReactions(IRequestCycle cycle)
                  throws SigPathDatabaseException,
                         IOException,
                         ClassNotFoundException
add a reaction to the model being currently eddited

Parameters:
cycle -
Throws:
SigPathDatabaseException
IOException
ClassNotFoundException

pageBeginRender

public void pageBeginRender(PageEvent event)
Specified by:
pageBeginRender in interface PageRenderListener

getKeyword

public abstract String getKeyword()

setKeyword

public abstract void setKeyword(String k)

getReactionType

public abstract String getReactionType()

setReactionType

public abstract void setReactionType(String k)

getPmid

public abstract String getPmid()

setPmid

public abstract void setPmid(String k)

getUserName

public abstract String getUserName()

setUserName

public abstract void setUserName(String k)

getMoleculeType

public abstract String getMoleculeType()

setMoleculeType

public abstract void setMoleculeType(String k)

getSearchResultsPaged

public SearchResultsSetPaged getSearchResultsPaged()

setSearchResultsPaged

public void setSearchResultsPaged(SearchResultsSetPaged sr)

getFormat

public String getFormat()

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.