Package wt.inf.container
Class PublicDomainSet
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet
wt.inf.container.PublicDomainSet
- All Implemented Interfaces:
Serializable,Cloneable,Iterable,Collection,Set,SortedSet
public final class PublicDomainSet
extends AbstractSet
implements SortedSet, Cloneable, Serializable
A
Supported API: true
Extendable: false
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));
}
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Methods inherited from class java.util.AbstractSet
hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
addAll, clear, contains, containsAll, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from interface java.util.SortedSet
spliterator