com.arsdigita.kernel.ui
Class ResourceConfigFormSection

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.FormSection
              extended bycom.arsdigita.kernel.ui.ResourceConfigFormSection
All Implemented Interfaces:
Cloneable, Component, Container, Lockable
Direct Known Subclasses:
ApplicationConfigFormSection, BasicResourceConfigFormSection, PortletConfigFormSection

public abstract class ResourceConfigFormSection
extends FormSection

A base class used to implement the UI callbacks on ResourceTypeConfig.

Author:
Justin Ross <jross@redhat.com>, Eric Lorenzo
See Also:
ResourceTypeConfig, ResourceType, Resource

Field Summary
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.FormSection
m_formModel, m_panel
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
  ResourceConfigFormSection()
           
  ResourceConfigFormSection(Container panel)
           
protected ResourceConfigFormSection(Container panel, FormModel model)
           
 
Method Summary
 Resource createResource(PageState ps)
          This method is only called on ResourceConfigFormSections that have been retrieved through the getCreateFormSection method on ResourceTypeConfig.
 void modifyResource(PageState ps)
          This method is only called on ResourceConfigFormSections that have been retrieved through the getModifyFormSection method on ResourceTypeConfig.
 
Methods inherited from class com.arsdigita.bebop.FormSection
add, add, addCancelListener, addInitListener, addProcessListener, addSubmissionListener, addValidationListener, children, contains, createInitListener, createProcessListener, createSubmissionListener, createValidationListener, fireCancel, fireInit, fireProcess, fireSubmitted, fireValidate, forwardInit, forwardProcess, forwardSubmission, forwardValidation, generateXML, get, getModel, getPanel, indexOf, isEmpty, lock, process, register, removeCancelListener, removeInitListener, removeProcessListener, removeSubmissionListener, removeValidationListener, respond, size
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, register, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arsdigita.bebop.Component
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked
 

Field Detail

versionId

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

ResourceConfigFormSection

public ResourceConfigFormSection()

ResourceConfigFormSection

public ResourceConfigFormSection(Container panel)

ResourceConfigFormSection

protected ResourceConfigFormSection(Container panel,
                                    FormModel model)
Method Detail

createResource

public Resource createResource(PageState ps)
This method is only called on ResourceConfigFormSections that have been retrieved through the getCreateFormSection method on ResourceTypeConfig. The application should be initialized, but not saved.


modifyResource

public void modifyResource(PageState ps)
This method is only called on ResourceConfigFormSections that have been retrieved through the getModifyFormSection method on ResourceTypeConfig. The application modified is the one specified in the RequestLocal argument to the getModifyFormSection method. The application can be modified and saved, but it does not have to be saved.



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