com.arsdigita.cms.formbuilder
Class FormSectionWrapper

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.cms.formbuilder.FormSectionWrapper
All Implemented Interfaces:
com.arsdigita.formbuilder.AttributeMetaDataProvider, com.arsdigita.auditing.Audited, com.arsdigita.formbuilder.CompoundComponent, com.arsdigita.formbuilder.PersistentComponentFactory

public class FormSectionWrapper
extends com.arsdigita.formbuilder.PersistentComponent
implements com.arsdigita.formbuilder.CompoundComponent


Field Summary
static String BASE_DATA_OBJECT_TYPE
           
static String FORM_SECTION_ITEM
           
static org.apache.log4j.Logger s_log
           
static String VERSION
           
 
Fields inherited from class com.arsdigita.formbuilder.PersistentComponent
ATTRIBUTE_STRING, versionId
 
Fields inherited from class com.arsdigita.kernel.ACSObject
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE
 
Constructor Summary
FormSectionWrapper()
           
FormSectionWrapper(BigDecimal id)
           
FormSectionWrapper(com.arsdigita.persistence.DataObject obj)
           
FormSectionWrapper(com.arsdigita.persistence.OID oid)
           
FormSectionWrapper(String typeName)
           
 
Method Summary
 void addComponent(com.arsdigita.formbuilder.PersistentComponentFactory componentFactory)
           
 void addComponent(com.arsdigita.formbuilder.PersistentComponentFactory componentFactory, int position)
           
 void clearComponents()
           
static FormSectionWrapper create(FormSectionItem item, String version)
           
 com.arsdigita.bebop.Component createComponent()
           
 FormSectionItem getFormSectionItem()
           
 String getVersion()
           
 void moveComponent(com.arsdigita.formbuilder.PersistentComponentFactory componentFactory, int toPosition)
           
 void removeComponent(com.arsdigita.formbuilder.PersistentComponentFactory componentFactory)
           
 void setComponentAddObserver(com.arsdigita.formbuilder.ComponentAddObserver observer)
           
 void setFormSectionItem(FormSectionItem item)
           
 void setVersion(String version)
           
 
Methods inherited from class com.arsdigita.formbuilder.PersistentComponent
beforeSave, getAdminName, getAttributeMetaData, 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, getBaseDataObjectType, 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, delete, 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
delete, getID, isNew, save
 

Field Detail

s_log

public static final org.apache.log4j.Logger s_log

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
See Also:
Constant Field Values

FORM_SECTION_ITEM

public static final String FORM_SECTION_ITEM
See Also:
Constant Field Values

VERSION

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

FormSectionWrapper

public FormSectionWrapper()

FormSectionWrapper

public FormSectionWrapper(String typeName)

FormSectionWrapper

public FormSectionWrapper(com.arsdigita.persistence.DataObject obj)

FormSectionWrapper

public FormSectionWrapper(BigDecimal id)
                   throws com.arsdigita.domain.DataObjectNotFoundException

FormSectionWrapper

public FormSectionWrapper(com.arsdigita.persistence.OID oid)
                   throws com.arsdigita.domain.DataObjectNotFoundException
Method Detail

create

public static FormSectionWrapper create(FormSectionItem item,
                                        String version)

setVersion

public void setVersion(String version)

getVersion

public String getVersion()

setFormSectionItem

public void setFormSectionItem(FormSectionItem item)

getFormSectionItem

public FormSectionItem getFormSectionItem()

setComponentAddObserver

public void setComponentAddObserver(com.arsdigita.formbuilder.ComponentAddObserver observer)
Specified by:
setComponentAddObserver in interface com.arsdigita.formbuilder.CompoundComponent

createComponent

public com.arsdigita.bebop.Component createComponent()
Specified by:
createComponent in interface com.arsdigita.formbuilder.PersistentComponentFactory

addComponent

public void addComponent(com.arsdigita.formbuilder.PersistentComponentFactory componentFactory)

addComponent

public void addComponent(com.arsdigita.formbuilder.PersistentComponentFactory componentFactory,
                         int position)

removeComponent

public void removeComponent(com.arsdigita.formbuilder.PersistentComponentFactory componentFactory)

moveComponent

public void moveComponent(com.arsdigita.formbuilder.PersistentComponentFactory componentFactory,
                          int toPosition)

clearComponents

public void clearComponents()


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