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.AbstractUIPageObject
              extended by org.efaps.ui.wicket.models.objects.UIForm
                  extended by org.efaps.ui.wicket.models.objects.UIFieldForm
All Implemented Interfaces:
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 5758 2010-10-27 21:22:43Z jan.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(UUID _commandUuid, String _instanceKey)
          Constructor for the case that a instance is given e.g.
UIFieldForm(UUID _commandUuid, UIClassification _classification)
          Constructor used during create.
 
Method Summary
 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.AbstractUIPageObject
addHidden, checkAccessToInstances, getAccessMap, 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
addEventObject, executeEvents, getCallingCommand, getCallingCommandUUID, getCommand, getCommand, getCommandUUID, getInstanceFromManager, getMenuTreeKey, getMode, getOpenerId, getTarget, getTitle, hasInstanceManager, isCreateMode, isEditMode, isInitialized, isPicker, 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(UUID _commandUuid,
                   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(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 UUID getClassificationUUID()
Getter method for instance variable classificationUUID.

Returns:
value of instance variable classificationUUID


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