public class PlaceholderDataBean extends Object implements Serializable
<p:datatable/>
calls
the getter for the list once for each row. When the user select a project with hundreds or thousands of form fields,
this would result in many requests to the database and takes up to several tens of seconds.Constructor and Description |
---|
PlaceholderDataBean() |
Modifier and Type | Method and Description |
---|---|
List<PlaceHolder> |
getForCurrentContext()
All available placeholders, depending on the current context (ie. whether the user is editing a project etc.).
|
PlaceholderBean |
getPlaceholderBean() |
Collection<Projekt> |
getProjects() |
Projekt |
getSelectedProject() |
void |
setPlaceholderBean(PlaceholderBean placeholderBean) |
void |
setSelectedProject(Projekt selectedProject) |
public List<PlaceHolder> getForCurrentContext()
public Collection<Projekt> getProjects()
public void setSelectedProject(Projekt selectedProject)
public Projekt getSelectedProject()
public PlaceholderBean getPlaceholderBean()
public void setPlaceholderBean(PlaceholderBean placeholderBean)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.