Modifier and Type | Method and Description |
---|---|
void |
addWallboard(Wallboard wallboard)
This method adds a
Wallboard to this provider. |
boolean |
containsWallboard(String title)
Checks whether this object contains
Wallboard data concerning the given title. |
boolean |
containsWallboard(Wallboard wallboard)
Checks whether this object contains a given
Wallboard instance. |
com.vaadin.v7.data.util.BeanItemContainer<Wallboard> |
getBeanContainer()
Method to return the
BeanItemContainer associated with this object. |
static WallboardProvider |
getInstance()
Method to return the instance of this singleton.
|
Wallboard |
getWallboard(String title)
Returns the
Wallboard for the given title. |
void |
load()
This method loads the configuration data from disk.
|
void |
removeWallboard(Wallboard wallboard)
This method removes a
Wallboard from this provider. |
void |
save()
This method saves the data represented by this object to disk.
|
public com.vaadin.v7.data.util.BeanItemContainer<Wallboard> getBeanContainer()
BeanItemContainer
associated with this object.BeanItemContainer
public static WallboardProvider getInstance()
public void save()
public void load()
public boolean containsWallboard(String title)
Wallboard
data concerning the given title.title
- the title to search forWallboard
with the given title exists, false otherwisepublic Wallboard getWallboard(String title)
Wallboard
for the given title.title
- the title to search forWallboard
instance if found, null otherwisepublic boolean containsWallboard(Wallboard wallboard)
Wallboard
instance.public void addWallboard(Wallboard wallboard)
Wallboard
to this provider.wallboard
- the Wallboard
instance to be addedCopyright © 2021. All rights reserved.