com.arsdigita.cms
Interface DomainObjectSelectionModel

All Superinterfaces:
com.arsdigita.bebop.SingleSelectionModel
All Known Implementing Classes:
ACSObjectSelectionModel

Deprecated. Use DomainObjectSelectionModel

A SingleSelectionModel which loads an item from the database. The SingleSelectionModel.isSelected(PageState) method will return true if it was possible to load the item.

public interface DomainObjectSelectionModel
extends com.arsdigita.bebop.SingleSelectionModel

Deprecated.

Version:
$Id: //cms/dev/src/com/arsdigita/cms/DomainObjectSelectionModel.java#11 $

Field Summary
static String versionId
          Deprecated.  
 
Method Summary
 com.arsdigita.domain.DomainObject getSelectedObject(com.arsdigita.bebop.PageState state)
          Deprecated.  
 void setSelectedObject(com.arsdigita.bebop.PageState state, com.arsdigita.domain.DomainObject object)
          Deprecated.  
 
Methods inherited from interface com.arsdigita.bebop.SingleSelectionModel
addChangeListener, clearSelection, getSelectedKey, getStateParameter, isSelected, removeChangeListener, setSelectedKey
 

Field Detail

versionId

public static final String versionId
Deprecated. 
See Also:
Constant Field Values
Method Detail

getSelectedObject

public com.arsdigita.domain.DomainObject getSelectedObject(com.arsdigita.bebop.PageState state)
Deprecated.  

Return the item which was selected and loaded from the database, using the values supplied in PageState.

Parameters:
state - The page state
Returns:
The item domain object, or null if no item is selected.

setSelectedObject

public void setSelectedObject(com.arsdigita.bebop.PageState state,
                              com.arsdigita.domain.DomainObject object)
Deprecated.  

Select the given domain object. Should extract the selected key from the object in some manner, and call setSelectedKey to change the key.

Parameters:
state - The page state
object - The domain object to set


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC