public class SampleRowModelFactory extends Object
ObsDebSamplingPlan.
This factory will generate a model showing the columnsForImport that the user
has the right to see.| Modifier and Type | Class and Description |
|---|---|
protected static class |
SampleRowModelFactory.SampleRowReaderPropertyConduit
put in common some implementation of PropertyConduit interface.
|
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.tapestry5.services.BeanModelSource |
beanModelSource |
protected ConnectedUser |
connectedUser |
protected org.apache.tapestry5.ioc.Messages |
messages |
protected org.apache.tapestry5.beaneditor.BeanModel<SampleRow> |
model |
protected org.apache.tapestry5.ComponentResources |
resources |
protected ServiceContact |
serviceContact |
| Constructor and Description |
|---|
SampleRowModelFactory(org.apache.tapestry5.services.BeanModelSource beanModelSource,
org.apache.tapestry5.ComponentResources resources,
ConnectedUser connectedUser,
org.apache.tapestry5.ioc.Messages messages,
ServiceContact serviceContact) |
| Modifier and Type | Method and Description |
|---|---|
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 |
filterModel(ObservationType observationType) |
protected void |
initModel() |
org.apache.tapestry5.beaneditor.BeanModel<SampleRow> |
newModel(ObservationType observationType) |
protected org.apache.tapestry5.services.BeanModelSource beanModelSource
protected org.apache.tapestry5.ComponentResources resources
protected ConnectedUser connectedUser
protected org.apache.tapestry5.ioc.Messages messages
protected org.apache.tapestry5.beaneditor.BeanModel<SampleRow> model
protected ServiceContact serviceContact
public SampleRowModelFactory(org.apache.tapestry5.services.BeanModelSource beanModelSource,
org.apache.tapestry5.ComponentResources resources,
ConnectedUser connectedUser,
org.apache.tapestry5.ioc.Messages messages,
ServiceContact serviceContact)
protected void add(String property, org.apache.tapestry5.PropertyConduit conduit)
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 usedprotected void add(String property)
protected void initModel()
protected void filterModel(ObservationType observationType)
public org.apache.tapestry5.beaneditor.BeanModel<SampleRow> newModel(ObservationType observationType)
Copyright © 2009-2013 Ifremer. All Rights Reserved.