nl.gx.webmanager.handler.forms
Interface FormDefinition


public interface FormDefinition

This interface represents the definition of a form, which will be used for implementing the configurable formhandler.


Method Summary
 PreComponent[] getComponents()
          Returns the components of the form.
 FormPart[] getFormPartByResourceValue(java.lang.String resourceValue)
          Returns the formparts with the specified attributes.
 FormPart getFormPartByValue(java.lang.String resourceValue, java.lang.String formPartValue)
          Returns the formpart with the specified attributes.
 java.net.URL getOriginalURL()
          Returns the original url for the form.
 FormPart getPart(java.lang.String name)
          Returns the formpart with the specified name.
 FormPart[] getParts()
          Returns the individual parts of the form.
 

Method Detail

getOriginalURL

java.net.URL getOriginalURL()
Returns the original url for the form.

Returns:
the original url of the form.

getParts

FormPart[] getParts()
Returns the individual parts of the form.

Returns:
the individual parts of the form.

getPart

FormPart getPart(java.lang.String name)
Returns the formpart with the specified name.

Parameters:
name - The name of the requested formpart
Returns:
The formpart with the specified name, or null if such a formpart exists.

getComponents

PreComponent[] getComponents()
Returns the components of the form.

Returns:
the components of the form.

getFormPartByValue

FormPart getFormPartByValue(java.lang.String resourceValue,
                            java.lang.String formPartValue)
Returns the formpart with the specified attributes.

Parameters:
resourceValue - The type of resource, for example "webusers".
formPartValue -
Returns:
the formpart with the specified attributes, or null if no matching part could be found.

getFormPartByResourceValue

FormPart[] getFormPartByResourceValue(java.lang.String resourceValue)
Returns the formparts with the specified attributes.

Parameters:
resourceValue - The type of resource, for example "webusers".
Returns:
the formparts with the specified attribute.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.