wt.inf.container
Class CreatorsMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended bywt.inf.container.CreatorsMap
All Implemented Interfaces:
Cloneable, Map, Serializable

public final class CreatorsMap
extends AbstractMap
implements Cloneable, Serializable

A collection of CreatorsLinks for a certain OrgContainer

Supported API: false

Extendable: false

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.AbstractMap
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Field Summary
private static String CLASSNAME
           
private  WTContainerRef container
           
private  Map data
           
private static String RESOURCE
           
 
Fields inherited from class java.util.AbstractMap
 
Constructor Summary
  CreatorsMap()
          

Supported API: false
protected CreatorsMap(WTContainerRef container)
          

Supported API: false
 
Method Summary
 CreatorsLink addMapping(Class container_class)
          Convenience method that creates a new CreatorsLink for the given container class and adds it to the map.
 Object clone()
          

Supported API: false
 Set entrySet()
          

Supported API: false
 WTContainerRef getContainer()
          Gets the value of the attribute: container; The OrgContainer that all the CreatorsLinks in a CreatorsMap instance map to.
 Iterator getCreatorsClasses()
          

Supported API: false
 WTGroup getCreatorsGroup(Class container_class)
          

Supported API: false
 WTGroup getCreatorsGroupReadOnly(Class container_class)
          

Supported API: false
 CreatorsLink getCreatorsLink(Class container_class)
          

Supported API: false
 boolean isAutoPopulate(Class container_class)
          

Supported API: false
 Object put(Object key, Object value)
          

Supported API: false
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

container

private WTContainerRef container

data

private Map data
Constructor Detail

CreatorsMap

protected CreatorsMap(WTContainerRef container)
               throws WTException


Supported API: false

Parameters:
container -
Throws:
WTException

CreatorsMap

public CreatorsMap()


Supported API: false

Method Detail

getContainer

public WTContainerRef getContainer()
Gets the value of the attribute: container; The OrgContainer that all the CreatorsLinks in a CreatorsMap instance map to.

Supported API: false

Returns:
WTContainerRef

clone

public Object clone()
             throws CloneNotSupportedException


Supported API: false

Returns:
Object
Throws:
CloneNotSupportedException

entrySet

public Set entrySet()


Supported API: false

Specified by:
entrySet in interface Map
Returns:
Set

addMapping

public CreatorsLink addMapping(Class container_class)
                        throws WTException
Convenience method that creates a new CreatorsLink for the given container class and adds it to the map. The link is initialized with the default autoPopulate setting, and with a null creators group reference.

This API can be used in conjunction with WTContainerServiceSvr.save(CreatorsMap) to easily add a creators group to an OrgContainer, as follows:

 OrgContainer org = ...
 CreatorsMap map = org.getCreatorsMap();
 map.addMapping(Project2.class);
 WTContainerServerHelper.service.save(map);
 


Supported API: false

Parameters:
container_class -
Returns:
CreatorsLink
Throws:
WTException
See Also:
WTContainerServiceSvr.save(CreatorsMap)

getCreatorsClasses

public Iterator getCreatorsClasses()


Supported API: false

Returns:
Iterator

getCreatorsGroup

public WTGroup getCreatorsGroup(Class container_class)


Supported API: false

Parameters:
container_class -
Returns:
WTGroup

getCreatorsGroupReadOnly

public WTGroup getCreatorsGroupReadOnly(Class container_class)
                                 throws WTException


Supported API: false

Parameters:
container_class -
Returns:
WTGroup
Throws:
WTException

getCreatorsLink

public CreatorsLink getCreatorsLink(Class container_class)


Supported API: false

Parameters:
container_class -
Returns:
CreatorsLink

isAutoPopulate

public boolean isAutoPopulate(Class container_class)


Supported API: false

Parameters:
container_class -
Returns:
boolean

put

public Object put(Object key,
                  Object value)


Supported API: false

Specified by:
put in interface Map
Parameters:
key -
value -
Returns:
Object