org.efaps.ui.wicket
Class Opener

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

public class Opener
extends java.lang.Object
implements java.io.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 3926 2010-03-31 15:47:48Z miguel.a.aranya $
Author:
jmox
See Also:
Serialized Form

Field Summary
static java.lang.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, java.lang.String _pageMapName)
          Constructor.
 
Method Summary
 java.util.UUID getCommandUUID()
          Getter method for instance variable commandUUID.
 java.lang.String getId()
          Getter method for instance variable id.
 java.lang.String getInstanceKey()
          Getter method for instance variable instanceKey.
 java.lang.String getMenuTreeKey()
          Getter method for instance variable menuTreeKey.
 org.apache.wicket.model.IModel<?> getModel()
          Getter method for instance variable model.
 java.lang.String getPageMapName()
          Getter method for instance variable pageMapName.
 boolean isMarked4Remove()
          Getter method for instance variable marked4Remove.
 void setCommandUUID(java.util.UUID _commandUUID)
          Setter method for instance variable commandUUID.
 void setInstanceKey(java.lang.String _instanceId)
          Setter method for instance variable instanceKey.
 void setMarked4Remove(boolean _marked4Remove)
          Setter method for instance variable marked4Remove.
 void setMenuTreeKey(java.lang.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 java.lang.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,
              java.lang.String _pageMapName)
Constructor.

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

getId

public java.lang.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 java.lang.String getPageMapName()
Getter method for instance variable pageMapName.

Returns:
value of instance variable pageMapName

getMenuTreeKey

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

Returns:
value of instance variable menuTreeKey

setMenuTreeKey

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

Parameters:
_menuTreeKey - value for instance variable menuTreeKey

getCommandUUID

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

Returns:
value of instance variable commandUUID

setCommandUUID

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

Parameters:
_commandUUID - value for instance variable commandUUID

getInstanceKey

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

Returns:
value of instance variable instanceKey

setInstanceKey

public void setInstanceKey(java.lang.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-2010 The eFaps Team. All Rights Reserved.