|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.workflow.SortedEnumByPrincipal
public class SortedEnumByPrincipal
An enumeration that returns objects in sorted order.
Supported API: true
Supported API: true
| Constructor Summary | |
|---|---|
SortedEnumByPrincipal(Enumeration source,
boolean byFullName,
int order)
Construct a sorted Enumeration containing
the WTPrincipals of another Enumeration. |
|
SortedEnumByPrincipal(Enumeration source,
CollationKeyFactory key_factory)
Construct a sorted Enumeration containing
the elements of another Enumeration. |
|
SortedEnumByPrincipal(Enumeration source,
CollationKeyFactory key_factory,
int order)
Construct a sorted Enumeration containing
the elements of another Enumeration. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Supported API: true |
Object |
nextElement()
Supported API: true |
int |
size()
Return the number of elements remaining in the enumeration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortedEnumByPrincipal(Enumeration source,
CollationKeyFactory key_factory)
Enumeration containing
the elements of another Enumeration.
Elements are sorted into ascending order.
source - source Enumerationcollation_key_factory - factory to produce collation keys
for the elementsorder - sort order (ASCENDING or DECENDING)
public SortedEnumByPrincipal(Enumeration source,
CollationKeyFactory key_factory,
int order)
Enumeration containing
the elements of another Enumeration.
source - source Enumerationcollation_key_factory - factory to produce
collation keys for the elementsorder - sort order (ASCENDING or DECENDING)
public SortedEnumByPrincipal(Enumeration source,
boolean byFullName,
int order)
Enumeration containing
the WTPrincipals of another Enumeration.
source - source EnumerationbyFullName - boolean to collate by FullName
instead of Name attribute. If the elements are
WTUsers, true will sort by FullName, else by
web server id. If the elements are WTGroups,
the sort will be by GroupName regardless.order - sort order (ASCENDING or DECENDING)| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface Enumerationpublic int size()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||