org.exoplatform.services.portletcontainer.helper
Class WindowInfosContainer

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<Object,Object>
          extended by org.exoplatform.services.portletcontainer.helper.WindowInfosContainer
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class WindowInfosContainer
extends HashMap<Object,Object>

Created by The eXo Platform SAS Author : Roman Pedchenko . roman.pedchenko@exoplatform.com.ua Apr 19, 2007

See Also:
Serialized Form

Constructor Summary
WindowInfosContainer(String id, String owner)
           
 
Method Summary
 void addInfos(String key, PortletWindowInternal obj)
           
static void createInstance(org.exoplatform.container.ExoContainer cnt, String id, String owner)
           
 String getId()
           
 PortletWindowInternal getInfos(String key)
           
static WindowInfosContainer getInstance()
           
 String getOwner()
           
static void removeInstance(org.exoplatform.container.ExoContainer cnt, String id)
           
static void setInstance(WindowInfosContainer scontainer)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

WindowInfosContainer

public WindowInfosContainer(String id,
                            String owner)
Parameters:
id - id
owner - owner
Method Detail

getId

public final String getId()
Returns:
id

getOwner

public final String getOwner()
Returns:
owner

addInfos

public final void addInfos(String key,
                           PortletWindowInternal obj)
Parameters:
key - key
obj - infos

getInfos

public final PortletWindowInternal getInfos(String key)
Parameters:
key - key
Returns:
infos

getInstance

public static WindowInfosContainer getInstance()
Returns:
window infos container

setInstance

public static void setInstance(WindowInfosContainer scontainer)
Parameters:
scontainer - window infos container

createInstance

public static void createInstance(org.exoplatform.container.ExoContainer cnt,
                                  String id,
                                  String owner)
Parameters:
cnt - exo container
id - id
owner - owner portal

removeInstance

public static void removeInstance(org.exoplatform.container.ExoContainer cnt,
                                  String id)
Parameters:
cnt - exo container
id - id


Copyright © 2009 eXo Platform SAS. All Rights Reserved.