com.arsdigita.formbuilder
Class PersistentSingleSelect
java.lang.Object
com.arsdigita.domain.DomainObject
com.arsdigita.domain.ObservableDomainObject
com.arsdigita.kernel.ACSObject
com.arsdigita.auditing.AuditedACSObject
com.arsdigita.formbuilder.PersistentComponent
com.arsdigita.formbuilder.PersistentWidget
com.arsdigita.formbuilder.PersistentOptionGroup
com.arsdigita.formbuilder.PersistentSelect
com.arsdigita.formbuilder.PersistentSingleSelect
- All Implemented Interfaces:
- AttributeMetaDataProvider, Audited, PersistentComponentFactory
- public class PersistentSingleSelect
- extends PersistentSelect
This class is responsible for persisting Bebop SingleSelects. The SingleSelect
is saved with the save() method. To resurrect the SingleSelect, use the constructor
taking the id of the saved SingleSelect and then invoke createComponent().
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/formbuilder/PersistentSingleSelect.java#9 $
- Author:
- Peter Marklund
Methods inherited from class com.arsdigita.formbuilder.PersistentOptionGroup |
addOption, addOption, addOption, addOption, clearOptions, delete, getAttributeMetaData, getOptions, getSelectedOptions, removeOption, setOptionSelected |
Methods inherited from class com.arsdigita.formbuilder.PersistentWidget |
addValidationListener, clearValidationListeners, copyValuesToWidget, deserializeDefaultValue, getDefaultValue, getParameterModel, getParameterName, getValidationListeners, getValueClass, instantiateParameterModel, setDefaultValue, setParameterModel, setParameterName, setup |
Methods inherited from class com.arsdigita.kernel.ACSObject |
assertPrivilege, checkPrivilege, doCreateCheck, doWriteCheck, getBaseDataObjectType, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, isContainerModified, setID, setID |
Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, clear, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString |
versionId
public static final String versionId
- See Also:
- Constant Field Values
BASE_DATA_OBJECT_TYPE
public static final String BASE_DATA_OBJECT_TYPE
- BASE_DATA_OBJECT_TYPE represents the full name of the
underlying DataObject of this class.
- See Also:
- Constant Field Values
PersistentSingleSelect
public PersistentSingleSelect()
- Constructor that creates a new SingleSelect domain object that
can be saved to the database later on.
PersistentSingleSelect
public PersistentSingleSelect(String typeName)
- Constructor that creates a new SingleSelect domain object that
can be saved to the database later on.
PersistentSingleSelect
public PersistentSingleSelect(ObjectType type)
PersistentSingleSelect
public PersistentSingleSelect(DataObject obj)
PersistentSingleSelect
public PersistentSingleSelect(BigDecimal id)
throws DataObjectNotFoundException
- Constructor that retrieves an existing SingleSelect domain object
from the database.
- Parameters:
id
- The object id of the SingleSelect domain object to retrieve
PersistentSingleSelect
protected PersistentSingleSelect(OID oID)
throws DataObjectNotFoundException
- Extending classes can use this constructor to set the sub class
id and object type.
create
public static PersistentSingleSelect create(String parameterName)
isMultiple
public boolean isMultiple()
- Specified by:
isMultiple
in class PersistentOptionGroup
addDataToComponent
protected void addDataToComponent(Component component)
- Overrides:
addDataToComponent
in class PersistentSelect
createComponent
public Component createComponent()
- Create the SingleSelect whose persistence is managed
by this domain object.
- Specified by:
createComponent
in interface PersistentComponentFactory
- Specified by:
createComponent
in class PersistentSelect
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC