com.arsdigita.kernel.ui
Class BasicResourceConfigFormSection

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

public class BasicResourceConfigFormSection
extends ResourceConfigFormSection
implements Globalized


Field Summary
 
Fields inherited from class com.arsdigita.kernel.ui.ResourceConfigFormSection
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.kernel.ui.Globalized
BUNDLE_NAME, versionId
 
Fields inherited from interface com.arsdigita.globalization.Globalized
DATE_DISPLAY_FORMAT, TIME_DISPLAY_FORMAT
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
BasicResourceConfigFormSection(RequestLocal resource)
          Constructs form section for application modification
BasicResourceConfigFormSection(ResourceType resType, RequestLocal parentResourceRL)
          Constructs form section for application creation
 
Method Summary
 Resource createResource(PageState ps)
          This method is only called on ResourceConfigFormSections that have been retrieved through the getCreateFormSection method on ResourceTypeConfig.
 String getDescription(PageState ps)
           
 Resource getParent(PageState ps)
           
 String getTitle(PageState ps)
           
 String getUrlName(PageState ps)
           
 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
 

Constructor Detail

BasicResourceConfigFormSection

public BasicResourceConfigFormSection(ResourceType resType,
                                      RequestLocal parentResourceRL)
Constructs form section for application creation


BasicResourceConfigFormSection

public BasicResourceConfigFormSection(RequestLocal resource)
Constructs form section for application modification

Method Detail

getTitle

public String getTitle(PageState ps)

getDescription

public String getDescription(PageState ps)

createResource

public Resource createResource(PageState ps)
Description copied from class: ResourceConfigFormSection
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.

Overrides:
createResource in class ResourceConfigFormSection

getParent

public Resource getParent(PageState ps)

getUrlName

public String getUrlName(PageState ps)

modifyResource

public void modifyResource(PageState ps)
Description copied from class: ResourceConfigFormSection
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.

Overrides:
modifyResource in class ResourceConfigFormSection


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