|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractSet
wt.inf.container.PublicDomainSet
A Set
of all the public domains in a given container. The
set is sorted by domain path. The values in the set are instances of
an inner class, PublicDomainSet.PublicDomainInfo. The PublicDomainInfo
class provides an API to get display values for a given public domain.
The display value of the public domain "/HR/Sales", for example, is:
"HR : Sales". The display value for the base public domain is localized,
by default it is "Default".
To display the oid and display value for a set of public domains, one could do:
PublicDomainSet pubs = WTContainerHelper.service.getPublicDomains(orgcontainer, container_class); for (Iterator i = pubs.iterator(); i.hasNext();) { PublicDomainSet.PublicDomainInfo next = (PublicDomainSet.PublicDomainInfo)i.next(); System.out.println(next.getDomainRef()); System.out.println(next.getDisplay()); //will return display localized to current VM System.out.println(next.getDisplay(a_Locale)); }
Nested Class Summary | |
class |
PublicDomainSet.PublicDomainInfo
|
Field Summary | |
private PublicDomainSet.PublicDomainInfo |
baseInfo
|
private static String |
CLASSNAME
|
private Class |
containerClass
|
private SortedSet |
data
|
private static String |
RESOURCE
|
Constructor Summary | |
|
PublicDomainSet()
Supported API: false |
protected |
PublicDomainSet(Class container_class,
AdminDomainRef base_domain)
Supported API: false |
Method Summary | |
boolean |
add(Object o)
Supported API: false |
Comparator |
comparator()
Supported API: false |
boolean |
containsDomain(AdminDomainRef domain_ref)
|
boolean |
equals(Object o)
Supported API: false |
Object |
first()
Supported API: false |
Class |
getContainerClass()
Gets the value of the attribute: containerClass. |
SortedSet |
headSet(Object o)
Supported API: false |
Iterator |
iterator()
Supported API: false |
Object |
last()
Supported API: false |
int |
size()
Supported API: false |
SortedSet |
subSet(Object o1,
Object o2)
Supported API: false |
SortedSet |
tailSet(Object o)
Supported API: false |
Methods inherited from class java.util.AbstractSet |
hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, clear, contains, containsAll, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Class containerClass
private SortedSet data
private PublicDomainSet.PublicDomainInfo baseInfo
Constructor Detail |
protected PublicDomainSet(Class container_class, AdminDomainRef base_domain)
container_class
- base_domain
- public PublicDomainSet()
Method Detail |
public Class getContainerClass()
public boolean add(Object o)
add
in interface Set
o
-
public Comparator comparator()
comparator
in interface SortedSet
public boolean equals(Object o)
equals
in interface Set
o
-
public Object first()
first
in interface SortedSet
public SortedSet headSet(Object o)
headSet
in interface SortedSet
o
-
public Iterator iterator()
iterator
in interface Set
public Object last()
last
in interface SortedSet
public int size()
size
in interface Set
public SortedSet subSet(Object o1, Object o2)
subSet
in interface SortedSet
o1
- o2
-
public SortedSet tailSet(Object o)
tailSet
in interface SortedSet
o
-
public boolean containsDomain(AdminDomainRef domain_ref)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |