org.efaps.ui.wicket.models.objects
Class UIFieldForm

java.lang.Object
  extended by org.efaps.ui.wicket.models.AbstractInstanceObject
      extended by org.efaps.ui.wicket.models.objects.AbstractUIObject
          extended by org.efaps.ui.wicket.models.objects.UIAbstractPageObject
              extended by org.efaps.ui.wicket.models.objects.UIForm
                  extended by org.efaps.ui.wicket.models.objects.UIFieldForm
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable, IFormElement

public class UIFieldForm
extends UIForm
implements IFormElement

Class serves as the model for a field form. Meaning a from that is displayed inside another form. This system of displaying a from inside another form is used for classification.

Version:
$Id: UIFieldForm.java 3447 2009-11-29 22:46:39Z tim.moxter $
Author:
The eFaps Team
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.efaps.ui.wicket.models.objects.UIForm
UIForm.Element, UIForm.ElementType, UIForm.FormElement, UIForm.FormRow
 
Constructor Summary
UIFieldForm(java.util.UUID _commandUuid, java.lang.String _instanceKey)
          Constructor for the case that a instance is given e.g.
UIFieldForm(java.util.UUID _commandUuid, UIClassification _classification)
          Constructor used during create.
 
Method Summary
 java.util.UUID getClassificationUUID()
          Getter method for instance variable classificationUUID.
protected  org.efaps.admin.datamodel.Type getCreateTargetType()
          Must be overwritten to set the create type to the underlying classification.
 
Methods inherited from class org.efaps.ui.wicket.models.objects.UIForm
execute, getElements, getForm, getFormUUID, getNewValues, getUUID, isClassified, isFileUpload, resetModel, setFileUpload, setFormUUID
 
Methods inherited from class org.efaps.ui.wicket.models.objects.UIAbstractPageObject
addHidden, getHelpTarget, getHiddenCells, getNewRandom, getTargetCmd, getTargetCmdUUID, getUiID2Oid, getValue4Wizard, getWizard, hasTargetCmd, isPartOfWizardCall, isRenderRevise, isTargetCmdRevise, isTargetShowFile, setPartOfWizardCall, setRenderRevise, setTargetCmdRevise, setTargetCmdUUID, setWizard
 
Methods inherited from class org.efaps.ui.wicket.models.objects.AbstractUIObject
executeEvents, getCallingCommand, getCallingCommandUUID, getCommand, getCommand, getCommandUUID, getInstanceFromManager, getMenuTreeKey, getMode, getOpenerId, getTarget, getTitle, hasInstanceManager, isCreateMode, isEditMode, isInitialized, isPrintMode, isSearchMode, isSubmit, isViewMode, setCallingCommandUUID, setCommandUUID, setInitialized, setMode, setOpenerId, setSubmit, validate
 
Methods inherited from class org.efaps.ui.wicket.models.AbstractInstanceObject
getInstance, getInstanceKey, setInstanceKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIFieldForm

public UIFieldForm(java.util.UUID _commandUuid,
                   java.lang.String _instanceKey)
            throws org.efaps.util.EFapsException
Constructor for the case that a instance is given e.g. view, edit.

Parameters:
_commandUuid - the uuid of the command that opened the parent form
_instanceKey - instance key for this UIFieldForm
Throws:
org.efaps.util.EFapsException - on error

UIFieldForm

public UIFieldForm(java.util.UUID _commandUuid,
                   UIClassification _classification)
Constructor used during create.

Parameters:
_commandUuid - the uuid of the command that opened the parent form
_classification - the classificationto be created
Method Detail

getCreateTargetType

protected org.efaps.admin.datamodel.Type getCreateTargetType()
Must be overwritten to set the create type to the underlying classification.

Overrides:
getCreateTargetType in class UIForm
Returns:
the classification type
See Also:
UIForm.getCreateTargetType()

getClassificationUUID

public java.util.UUID getClassificationUUID()
Getter method for instance variable classificationUUID.

Returns:
value of instance variable classificationUUID


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.