|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.efaps.ui.wicket.models.AbstractInstanceObject
org.efaps.ui.wicket.models.objects.AbstractUIObject
org.efaps.ui.wicket.models.objects.UIAbstractPageObject
org.efaps.ui.wicket.models.objects.UIForm
public class UIForm
Class is used to instantiate a form from eFaps into a Form with all Values for the wicket webapp.
| Nested Class Summary | |
|---|---|
class |
UIForm.Element
Class represent one Element in a UIForm. |
static class |
UIForm.ElementType
Enum is used to differ the different elements a form can contain. |
class |
UIForm.FormElement
Class represents a Element of Type Form used in a Form. |
class |
UIForm.FormRow
Class is used as store for one Row in the UIForm. |
| Constructor Summary | |
|---|---|
UIForm(org.apache.wicket.PageParameters _parameters)
Constructor using PageParameters. |
|
UIForm(java.util.UUID _commandUUID,
java.lang.String _instanceKey)
Constructor. |
|
UIForm(java.util.UUID _commandUUID,
java.lang.String _instanceKey,
java.lang.String _openerId)
Constructor. |
|
| Method Summary | |
|---|---|
void |
execute()
Method is used to execute the UIForm. |
protected org.efaps.admin.datamodel.Type |
getCreateTargetType()
Method to get the type that will be created by a form. |
java.util.List<UIForm.Element> |
getElements()
This is the getter method for the instance variable elements. |
org.efaps.admin.ui.Form |
getForm()
Method to get the Form from eFaps using the instance variable formUUID. |
java.util.UUID |
getFormUUID()
This is the getter method for the instance variable formUUID. |
java.util.Map<java.lang.String,java.lang.String[]> |
getNewValues()
This is the getter method for the instance variable newValues. |
java.util.UUID |
getUUID()
This is the getter method for the instance variable formUUID. |
boolean |
isClassified()
Getter method for instance variable classified. |
boolean |
isFileUpload()
This is the getter method for the instance variable fileUpload. |
void |
resetModel()
Method used to reset this UIForm. |
void |
setFileUpload(boolean _fileUpload)
This is the setter method for the instance variable fileUpload. |
void |
setFormUUID(java.util.UUID _formUUID)
This is the setter method for the instance variable formUUID. |
| 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 |
|---|
public UIForm(org.apache.wicket.PageParameters _parameters)
_parameters - PageParameters from wicket
public UIForm(java.util.UUID _commandUUID,
java.lang.String _instanceKey)
_commandUUID - UUID of the command_instanceKey - oid for this model
public UIForm(java.util.UUID _commandUUID,
java.lang.String _instanceKey,
java.lang.String _openerId)
_commandUUID - UUID of the command_instanceKey - oid for this model_openerId - id of the opener| Method Detail |
|---|
public void resetModel()
resetModel in class AbstractUIObjectpublic void execute()
execute in class AbstractUIObjectprotected org.efaps.admin.datamodel.Type getCreateTargetType()
public org.efaps.admin.ui.Form getForm()
formUUID.
public java.util.UUID getUUID()
formUUID.
formUUIDpublic java.util.UUID getFormUUID()
formUUID.
formUUIDpublic void setFormUUID(java.util.UUID _formUUID)
formUUID.
_formUUID - the formUUID to setpublic java.util.List<UIForm.Element> getElements()
elements.
elementspublic boolean isFileUpload()
fileUpload.
fileUploadpublic void setFileUpload(boolean _fileUpload)
fileUpload.
_fileUpload - the fileUpload to setpublic java.util.Map<java.lang.String,java.lang.String[]> getNewValues()
newValues.
newValuespublic boolean isClassified()
classified.
classified
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||