|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.bebop.AbstractSingleSelectionModel
com.arsdigita.util.ui.RequestLocalSelectionModel
| Field Summary |
| Fields inherited from class com.arsdigita.bebop.AbstractSingleSelectionModel |
versionId |
| Fields inherited from interface com.arsdigita.kernel.ui.DomainObjectSelectionModel |
versionId |
| Constructor Summary | |
RequestLocalSelectionModel()
Deprecated. |
|
RequestLocalSelectionModel(RequestLocal l)
Deprecated. |
|
| Method Summary | |
Object |
getSelectedKey(PageState state)
Deprecated. Returns the key that identifies the selected element. |
DomainObject |
getSelectedObject(PageState state)
Deprecated. Return the item which was selected and loaded from the database, using the values supplied in PageState. |
ParameterModel |
getStateParameter()
Deprecated. Returns the state parameter that will be used to keep track of the currently selected key. |
void |
setSelectedKey(PageState state,
Object value)
Deprecated. Sets the selected key. |
void |
setSelectedObject(PageState state,
DomainObject value)
Deprecated. Select the given domain object. |
| Methods inherited from class com.arsdigita.bebop.AbstractSingleSelectionModel |
addChangeListener, clearSelection, fireStateChanged, isLocked, isSelected, lock, removeChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.arsdigita.bebop.SingleSelectionModel |
addChangeListener, clearSelection, isSelected, removeChangeListener |
| Constructor Detail |
public RequestLocalSelectionModel()
public RequestLocalSelectionModel(RequestLocal l)
| Method Detail |
public void setSelectedKey(PageState state,
Object value)
SingleSelectionModelkey is not in the collection of
objects underlying this model, an
IllegalArgumentException is thrown.
setSelectedKey in interface SingleSelectionModelsetSelectedKey in class AbstractSingleSelectionModelpublic Object getSelectedKey(PageState state)
SingleSelectionModel
getSelectedKey in interface SingleSelectionModelgetSelectedKey in class AbstractSingleSelectionModel
public void setSelectedObject(PageState state,
DomainObject value)
DomainObjectSelectionModel
setSelectedObject in interface DomainObjectSelectionModelstate - The page statevalue - The domain object to setpublic DomainObject getSelectedObject(PageState state)
DomainObjectSelectionModel
getSelectedObject in interface DomainObjectSelectionModelstate - The page state
public ParameterModel getStateParameter()
SingleSelectionModelreturn new StringParameter("foo");
getStateParameter in interface SingleSelectionModel
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||