|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
wt.inf.container.CreatorsMap
A collection of CreatorsLink
s for a certain OrgContainer
Supported API: false
Extendable: false
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 CreatorsLink s 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 |
private static final String RESOURCE
private static final String CLASSNAME
private WTContainerRef container
private Map data
Constructor Detail |
protected CreatorsMap(WTContainerRef container) throws WTException
container
-
WTException
public CreatorsMap()
Method Detail |
public WTContainerRef getContainer()
OrgContainer
that all the CreatorsLink
s in a CreatorsMap
instance map to.
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public Set entrySet()
entrySet
in interface Map
public CreatorsLink addMapping(Class container_class) throws WTException
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)
public Iterator getCreatorsClasses()
public WTGroup getCreatorsGroup(Class container_class)
container_class
-
public WTGroup getCreatorsGroupReadOnly(Class container_class) throws WTException
container_class
-
WTException
public CreatorsLink getCreatorsLink(Class container_class)
container_class
-
public boolean isAutoPopulate(Class container_class)
container_class
-
public Object put(Object key, Object value)
put
in interface Map
key
- value
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |