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

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
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable
Direct Known Subclasses:
UIForm, UIStructurBrowser, UITable

public abstract class UIAbstractPageObject
extends AbstractUIObject

TODO comment!

Version:
$Id: UIAbstractPageObject.java 3754 2010-02-20 02:27:21Z jan.moxter $
Author:
The eFaps Team
See Also:
Serialized Form

Constructor Summary
UIAbstractPageObject(org.apache.wicket.PageParameters _parameters)
          Constructor evaluating the UUID for the command and the oid from an Opener instance.
UIAbstractPageObject(java.util.UUID _commandUUID, java.lang.String _instanceKey)
          Constructor.
UIAbstractPageObject(java.util.UUID _commandUUID, java.lang.String _instanceKey, java.lang.String _openerId)
          Constructor.
 
Method Summary
 void addHidden(UIHiddenCell _hiddenCell)
          Method to add a hidden Cell to the list hiddenCells.
 java.lang.String getHelpTarget()
          Getter method for instance variable helpTarget.
 java.util.List<UIHiddenCell> getHiddenCells()
          Getter method for instance variable hiddenCells.
 java.lang.String getNewRandom()
           
 org.efaps.admin.ui.AbstractCommand getTargetCmd()
          Get the CommandAbstract that is the target of this Page.
 java.util.UUID getTargetCmdUUID()
          Getter method for instance variable targetCmdUUID.
 java.util.Map<java.lang.String,java.lang.String> getUiID2Oid()
          Getter method for the instance variable uiID2Oid.
protected  java.lang.Object getValue4Wizard(java.lang.String _key)
          Method to get the value for a key in case of wizard.
 UIWizardObject getWizard()
          Getter method for instance variable wizard.
 boolean hasTargetCmd()
          Method returns if this pageobject has a target command.
 boolean isPartOfWizardCall()
          Getter method for instance variable partOfWizardCall.
 boolean isRenderRevise()
          Getter method for instance variable renderRevise.
 boolean isTargetCmdRevise()
          Getter method for instance variable targetCmdRevise.
 boolean isTargetShowFile()
          Getter method for instance variable isTargetShowFile.
 void setPartOfWizardCall(boolean _wizardCall)
          Setter method for instance variable partOfWizardCall.
 void setRenderRevise(boolean _renderRevise)
          Setter method for instance variable renderRevise.
 void setTargetCmdRevise(boolean _targetCmdRevise)
          Setter method for instance variable targetCmdRevise.
 void setTargetCmdUUID(java.util.UUID _targetCmdUUID)
          Setter method for instance variable targetCmdUUID.
 void setWizard(UIWizardObject _wizard)
          Setter method for instance variable wizard.
 
Methods inherited from class org.efaps.ui.wicket.models.objects.AbstractUIObject
execute, executeEvents, getCallingCommand, getCallingCommandUUID, getCommand, getCommand, getCommandUUID, getInstanceFromManager, getMenuTreeKey, getMode, getOpenerId, getTarget, getTitle, hasInstanceManager, isCreateMode, isEditMode, isInitialized, isPrintMode, isSearchMode, isSubmit, isViewMode, resetModel, 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

UIAbstractPageObject

public UIAbstractPageObject(org.apache.wicket.PageParameters _parameters)
Constructor evaluating the UUID for the command and the oid from an Opener instance.

Parameters:
_parameters - PageParameters for this Model

UIAbstractPageObject

public UIAbstractPageObject(java.util.UUID _commandUUID,
                            java.lang.String _instanceKey,
                            java.lang.String _openerId)
Constructor.

Parameters:
_commandUUID - UUID for this Model
_instanceKey - instance id for this Model
_openerId - id of the opener

UIAbstractPageObject

public UIAbstractPageObject(java.util.UUID _commandUUID,
                            java.lang.String _instanceKey)
Constructor.

Parameters:
_commandUUID - UUID for this Model
_instanceKey - instance id for this Model
Method Detail

getHiddenCells

public java.util.List<UIHiddenCell> getHiddenCells()
Getter method for instance variable hiddenCells.

Returns:
value of instance variable hiddenCells

addHidden

public void addHidden(UIHiddenCell _hiddenCell)
Method to add a hidden Cell to the list hiddenCells.

Parameters:
_hiddenCell - cell to add

getTargetCmd

public org.efaps.admin.ui.AbstractCommand getTargetCmd()
Get the CommandAbstract that is the target of this Page.

Returns:
the calling CommandAbstract
See Also:
targetCmdUUID

getTargetCmdUUID

public java.util.UUID getTargetCmdUUID()
Getter method for instance variable targetCmdUUID.

Returns:
value of instance variable targetCmdUUID

setTargetCmdUUID

public void setTargetCmdUUID(java.util.UUID _targetCmdUUID)
Setter method for instance variable targetCmdUUID.

Parameters:
_targetCmdUUID - value for instance variable targetCmdUUID

hasTargetCmd

public boolean hasTargetCmd()
Method returns if this pageobject has a target command.

Returns:
true if targetCmdUUID !=null

isTargetCmdRevise

public boolean isTargetCmdRevise()
Getter method for instance variable targetCmdRevise.

Returns:
value of instance variable targetCmdRevise

isTargetShowFile

public boolean isTargetShowFile()
Getter method for instance variable isTargetShowFile.

Returns:
value of instance variable isTargetShowFile

setTargetCmdRevise

public void setTargetCmdRevise(boolean _targetCmdRevise)
Setter method for instance variable targetCmdRevise.

Parameters:
_targetCmdRevise - value for instance variable targetCmdRevise

getWizard

public UIWizardObject getWizard()
Getter method for instance variable wizard.

Returns:
value of instance variable wizard

setWizard

public void setWizard(UIWizardObject _wizard)
Setter method for instance variable wizard.

Parameters:
_wizard - value for instance variable wizard

setPartOfWizardCall

public void setPartOfWizardCall(boolean _wizardCall)
Setter method for instance variable partOfWizardCall.

Parameters:
_wizardCall - value for instance variable partOfWizardCall

isPartOfWizardCall

public boolean isPartOfWizardCall()
Getter method for instance variable partOfWizardCall.

Returns:
value of instance variable partOfWizardCall

getValue4Wizard

protected java.lang.Object getValue4Wizard(java.lang.String _key)
Method to get the value for a key in case of wizard.

Parameters:
_key - key for the value
Returns:
value for the object, if found, else null

isRenderRevise

public boolean isRenderRevise()
Getter method for instance variable renderRevise.

Returns:
value of instance variable renderRevise

setRenderRevise

public void setRenderRevise(boolean _renderRevise)
Setter method for instance variable renderRevise.

Parameters:
_renderRevise - value for instance variable renderRevise

getHelpTarget

public java.lang.String getHelpTarget()
Getter method for instance variable helpTarget.

Returns:
value of instance variable helpTarget

getUiID2Oid

public java.util.Map<java.lang.String,java.lang.String> getUiID2Oid()
Getter method for the instance variable uiID2Oid.

Returns:
value of instance variable uiID2Oid

getNewRandom

public java.lang.String getNewRandom()
Returns:
a new for this instance unique random key.


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