org.efaps.ui.wicket
Class Opener

java.lang.Object
  extended by org.efaps.ui.wicket.Opener
All Implemented Interfaces:
Serializable

public class Opener
extends Object
implements Serializable

Class is used to store the information about the opener of a window, e.g. a pop up window, so that the information needed about the parent can be accessed from the pop up window. Each instance of this class is stored with a unique key in the EFapSession. This enables that no information like OID or an UUID must be passed as parameters from the Browser and therefore could be altered.

Version:
$Id: Opener.java 5389 2010-08-25 04:37:42Z jan.moxter $
Author:
The eFaps Team
See Also:
Serialized Form

Field Summary
static String OPENER_PARAKEY
          Key used to pass the id as parameter inside the session of a page.
 
Constructor Summary
Opener(org.apache.wicket.model.IModel<?> _model, String _pageMapName)
          Constructor.
 
Method Summary
 UUID getCommandUUID()
          Getter method for instance variable commandUUID.
 String getId()
          Getter method for instance variable id.
 String getInstanceKey()
          Getter method for instance variable instanceKey.
 String getMenuTreeKey()
          Getter method for instance variable menuTreeKey.
 org.apache.wicket.model.IModel<?> getModel()
          Getter method for instance variable model.
 String getPageMapName()
          Getter method for instance variable pageMapName.
 boolean isMarked4Remove()
          Getter method for instance variable marked4Remove.
 void setCommandUUID(UUID _commandUUID)
          Setter method for instance variable commandUUID.
 void setInstanceKey(String _instanceId)
          Setter method for instance variable instanceKey.
 void setMarked4Remove(boolean _marked4Remove)
          Setter method for instance variable marked4Remove.
 void setMenuTreeKey(String _menuTreeKey)
          Setter method for instance variable menuTreeKey.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPENER_PARAKEY

public static final String OPENER_PARAKEY
Key used to pass the id as parameter inside the session of a page.

See Also:
Constant Field Values
Constructor Detail

Opener

public Opener(org.apache.wicket.model.IModel<?> _model,
              String _pageMapName)
Constructor.

Parameters:
_model - model of the openr
_pageMapName - pagemap of the opener
Method Detail

getId

public String getId()
Getter method for instance variable id.

Returns:
value of instance variable id

getModel

public org.apache.wicket.model.IModel<?> getModel()
Getter method for instance variable model.

Returns:
value of instance variable model

getPageMapName

public String getPageMapName()
Getter method for instance variable pageMapName.

Returns:
value of instance variable pageMapName

getMenuTreeKey

public String getMenuTreeKey()
Getter method for instance variable menuTreeKey.

Returns:
value of instance variable menuTreeKey

setMenuTreeKey

public void setMenuTreeKey(String _menuTreeKey)
Setter method for instance variable menuTreeKey.

Parameters:
_menuTreeKey - value for instance variable menuTreeKey

getCommandUUID

public UUID getCommandUUID()
Getter method for instance variable commandUUID.

Returns:
value of instance variable commandUUID

setCommandUUID

public void setCommandUUID(UUID _commandUUID)
Setter method for instance variable commandUUID.

Parameters:
_commandUUID - value for instance variable commandUUID

getInstanceKey

public String getInstanceKey()
Getter method for instance variable instanceKey.

Returns:
value of instance variable instanceKey

setInstanceKey

public void setInstanceKey(String _instanceId)
Setter method for instance variable instanceKey.

Parameters:
_instanceId - value for instance variable instanceKey

isMarked4Remove

public boolean isMarked4Remove()
Getter method for instance variable marked4Remove.

Returns:
value of instance variable marked4Remove

setMarked4Remove

public void setMarked4Remove(boolean _marked4Remove)
Setter method for instance variable marked4Remove.

Parameters:
_marked4Remove - value for instance variable marked4Remove


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