com.arsdigita.formbuilder
Class DataDrivenSelect

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.auditing.AuditedACSObject
                  extended bycom.arsdigita.formbuilder.PersistentComponent
                      extended bycom.arsdigita.formbuilder.PersistentWidget
                          extended bycom.arsdigita.formbuilder.DataDrivenSelect
All Implemented Interfaces:
AttributeMetaDataProvider, Audited, PersistentComponentFactory

public class DataDrivenSelect
extends PersistentWidget


Field Summary
static String BASE_DATA_OBJECT_TYPE
           
static String MULTIPLE
           
static String QUERY
           
 
Fields inherited from class com.arsdigita.formbuilder.PersistentWidget
DEFAULT_VALUE, versionId
 
Fields inherited from class com.arsdigita.formbuilder.PersistentComponent
ATTRIBUTE_STRING
 
Fields inherited from class com.arsdigita.kernel.ACSObject
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE
 
Constructor Summary
DataDrivenSelect()
           
DataDrivenSelect(BigDecimal id)
           
DataDrivenSelect(DataObject obj)
           
DataDrivenSelect(ObjectType type)
           
DataDrivenSelect(OID oid)
           
DataDrivenSelect(String typeName)
           
 
Method Summary
 Component createComponent()
          Factory method that creates the Bebop component whose persistence is handled by this domain object.
 String getBaseDataObjectType()
          Returns the base data object type for this domain object class.
 PersistentDataQuery getQuery()
           
 BigDecimal getQueryID()
           
 boolean isMultiple()
           
 void setMultiple(boolean multiple)
           
 void setQuery(PersistentDataQuery query)
           
 void setQueryID(BigDecimal query)
           
 
Methods inherited from class com.arsdigita.formbuilder.PersistentWidget
addValidationListener, clearValidationListeners, copyValuesToWidget, delete, deserializeDefaultValue, getAttributeMetaData, getDefaultValue, getParameterModel, getParameterName, getValidationListeners, getValueClass, instantiateParameterModel, setDefaultValue, setParameterModel, setParameterName, setup
 
Methods inherited from class com.arsdigita.formbuilder.PersistentComponent
beforeSave, getAdminName, getComponentAttribute, getDescription, setAdminName, setComponentAttribute, setDescription, setDomainClass
 
Methods inherited from class com.arsdigita.auditing.AuditedACSObject
getCreationDate, getCreationIP, getCreationUser, getLastModifiedDate, getLastModifiedIP, getLastModifiedUser, initialize
 
Methods inherited from class com.arsdigita.kernel.ACSObject
assertPrivilege, checkPrivilege, doCreateCheck, doWriteCheck, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, isContainerModified, setID, setID
 
Methods inherited from class com.arsdigita.domain.ObservableDomainObject
addObserver, getObservers
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.arsdigita.formbuilder.PersistentComponentFactory
getID, isNew, save
 

Field Detail

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
See Also:
Constant Field Values

MULTIPLE

public static final String MULTIPLE
See Also:
Constant Field Values

QUERY

public static final String QUERY
See Also:
Constant Field Values
Constructor Detail

DataDrivenSelect

public DataDrivenSelect()

DataDrivenSelect

public DataDrivenSelect(String typeName)

DataDrivenSelect

public DataDrivenSelect(ObjectType type)

DataDrivenSelect

public DataDrivenSelect(DataObject obj)

DataDrivenSelect

public DataDrivenSelect(BigDecimal id)
                 throws DataObjectNotFoundException

DataDrivenSelect

public DataDrivenSelect(OID oid)
                 throws DataObjectNotFoundException
Method Detail

getBaseDataObjectType

public String getBaseDataObjectType()
Description copied from class: DomainObject
Returns the base data object type for this domain object class. Intended to be overrided by subclasses whenever the subclass will only work if their primary data object is of a certain base type.

Overrides:
getBaseDataObjectType in class ACSObject

isMultiple

public boolean isMultiple()

setMultiple

public void setMultiple(boolean multiple)

getQuery

public PersistentDataQuery getQuery()
                             throws DataObjectNotFoundException
Throws:
DataObjectNotFoundException

setQuery

public void setQuery(PersistentDataQuery query)

getQueryID

public BigDecimal getQueryID()

setQueryID

public void setQueryID(BigDecimal query)

createComponent

public Component createComponent()
Description copied from class: PersistentComponent
Factory method that creates the Bebop component whose persistence is handled by this domain object.

Specified by:
createComponent in interface PersistentComponentFactory
Specified by:
createComponent in class PersistentComponent


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