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)
|
|
Method Summary |
protected void |
add(String property)
|
protected void |
add(String property,
org.apache.tapestry5.PropertyConduit conduit)
add a property in the model and make it not sortable |
protected void |
initModel()
|
org.apache.tapestry5.beaneditor.BeanModel<SampleRow> |
newModel()
|
| 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
model
protected org.apache.tapestry5.beaneditor.BeanModel<SampleRow> model
SampleRowModelFactory
public SampleRowModelFactory(org.apache.tapestry5.services.BeanModelSource beanModelSource,
org.apache.tapestry5.ComponentResources resources,
ConnectedUser connectedUser)
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()
newModel
public org.apache.tapestry5.beaneditor.BeanModel<SampleRow> newModel()
Copyright © 2009-2011 Ifremer. All Rights Reserved.