fr.ifremer.wao.ui.services
Class SampleRowModelFactory
java.lang.Object
fr.ifremer.wao.ui.services.SampleRowModelFactory
public class SampleRowModelFactory
- extends Object
Used to generate a bean model for the grid used in sampling plan showed
on page ObsDebSamplingPlan.
This factory will generate a model showing the columnsForImport that the user
has the right to see.
- Author:
- bleny
|
Constructor Summary |
SampleRowModelFactory(org.apache.tapestry5.services.BeanModelSource beanModelSource,
org.apache.tapestry5.ComponentResources resources,
ConnectedUser connectedUser,
org.apache.tapestry5.ioc.Messages messages,
ServiceContact serviceContact)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beanModelSource
protected org.apache.tapestry5.services.BeanModelSource beanModelSource
resources
protected org.apache.tapestry5.ComponentResources resources
connectedUser
protected ConnectedUser connectedUser
messages
protected org.apache.tapestry5.ioc.Messages messages
model
protected org.apache.tapestry5.beaneditor.BeanModel<SampleRow> model
serviceContact
protected ServiceContact serviceContact
SampleRowModelFactory
public SampleRowModelFactory(org.apache.tapestry5.services.BeanModelSource beanModelSource,
org.apache.tapestry5.ComponentResources resources,
ConnectedUser connectedUser,
org.apache.tapestry5.ioc.Messages messages,
ServiceContact serviceContact)
add
protected void add(String property,
org.apache.tapestry5.PropertyConduit conduit)
- add a property in the model and make it not sortable
- Parameters:
property - the name of the property to addconduit - a PropertyConduit to get the String representation of the
value of the property, may be null if toString can be used
add
protected void add(String property)
initModel
protected void initModel()
filterModel
protected void filterModel(ObservationType observationType)
newModel
public org.apache.tapestry5.beaneditor.BeanModel<SampleRow> newModel(ObservationType observationType)
Copyright © 2009-2011 Ifremer. All Rights Reserved.