com.arsdigita.formbuilder
Class PersistentForm
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.PersistentFormSection
com.arsdigita.formbuilder.PersistentForm
- All Implemented Interfaces:
- AttributeMetaDataProvider, Audited, CompoundComponent, PersistentComponentFactory, PersistentContainer
- public class PersistentForm
- extends PersistentFormSection
This domain object manages persistence of a Bebop Form. Properties
and components of a Bebop Form can be set (typically with an admin interface),
the form should then be saved so that it can be resurrected later
on in the application. Of particular importance to application
developers are the methods in the PersistentComponentFactory and
PersistentContainerFactory interfaces.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/formbuilder/PersistentForm.java#11 $
- Author:
- Peter Marklund
Methods inherited from class com.arsdigita.formbuilder.PersistentFormSection |
addComponent, addComponent, addComponents, addProcessListener, addProcessListeners, clearComponents, clearProcessListeners, delete, getComponents, getFormContainer, getProcessListeners, moveComponent, removeComponent, removeProcessListener, setComponentAddObserver, setFormContainer |
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
PersistentForm
public PersistentForm()
- Default Constructor. Should normally not be used be application
developers. Is only here to enable instantiation by FormSectionGenerator
PersistentForm
public PersistentForm(String typeName)
- Constructor that creates a new form domain object that
can be saved to the database later on.
PersistentForm
public PersistentForm(ObjectType type)
PersistentForm
public PersistentForm(DataObject obj)
PersistentForm
public PersistentForm(BigDecimal id)
throws DataObjectNotFoundException
- Constructor that retrieves an existing form domain object
from the database.
- Parameters:
id
- The object id of the form domain object to retrieve
PersistentForm
public PersistentForm(OID oid)
throws DataObjectNotFoundException
create
public static PersistentForm create(String htmlName)
setup
protected void setup(String htmlName)
createComponent
public Component createComponent()
- Create a Bebop form using the persistent information in this form domain object.
- Specified by:
createComponent
in interface PersistentComponentFactory
- Overrides:
createComponent
in class PersistentFormSection
setHTMLName
public void setHTMLName(String name)
getHTMLName
public String getHTMLName()
setAction
public void setAction(String action)
getAction
public String getAction()
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC