org.outerj.daisy.repository.schema
Interface StaticSelectionList

All Superinterfaces:
SelectionList

public interface StaticSelectionList
extends SelectionList

A static selection list, manually created by a daisy administrator for a specific FieldType.


Method Summary
 void addItem(java.lang.Object value)
          Adds a value to this StaticSelectionList.
 void clear()
          Clears this SelectionList
 StaticListItem createStaticListItem(java.lang.Object value)
          Creates a StaticListItem instance, adds it to this selection list and returns it.
 
Methods inherited from interface org.outerj.daisy.repository.schema.SelectionList
getItems, getLabel, getXml, setAllFromXml
 

Method Detail

addItem

public void addItem(java.lang.Object value)
             throws java.lang.Exception
Adds a value to this StaticSelectionList.

This value will be wrapped in a ListItem object, i.e. this method is actually a shortcut for the createStaticListItem(ListItem listItem) method, relieving the outside world from the task of creating a ListItem object.

Parameters:
value - the object containing the value to be stored in the StaticSelectionList
Throws:
java.lang.Exception

clear

public void clear()
Clears this SelectionList


createStaticListItem

public StaticListItem createStaticListItem(java.lang.Object value)
Creates a StaticListItem instance, adds it to this selection list and returns it.

Parameters:
value - the object containing the value to be stored in the StaticListItem


Copyright © -2005 . All Rights Reserved.