|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.netuix.application.notifications.enumerators.GroupNotificationUserEnumerator
public class GroupNotificationUserEnumerator
Used to enumerate the users in a specified group to the NotificationManager when sending notifications.
Constructor Summary | |
---|---|
GroupNotificationUserEnumerator(String groupName)
Constructor using the default authorization provider. |
|
GroupNotificationUserEnumerator(String atnProvider,
String groupName)
Constructor using a specified authorization provider. |
Method Summary | |
---|---|
void |
close()
Releases any resources used by this enumeration. |
String |
getNext()
Returns the next username in the enumeration. |
boolean |
hasNext()
Used to determine if more usernames are available from this enumeration. |
void |
open()
Serves to initialize the enumeration. |
void |
reset()
Used to reset the enumeration to the beginning. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupNotificationUserEnumerator(String groupName) throws OperationNotSupportedException
groupName
- the group name (from the default authorization provider)
to enumerate the usernames from.
OperationNotSupportedException
public GroupNotificationUserEnumerator(String atnProvider, String groupName) throws OperationNotSupportedException
atnProvider
- the name of the authorization provider to use.groupName
- the group name (from the specified authorization provider)
to enumerate the usernames from.
OperationNotSupportedException
Method Detail |
---|
public void open() throws NotificationUserEnumerationException
reset
,
hasNext
or getNext
methods are made.
open
in interface INotificationUserEnumerator
NotificationUserEnumerationException
- if any problems were encountered.public void reset() throws NotificationUserEnumerationException
reset()
has been made.
reset
in interface INotificationUserEnumerator
NotificationUserEnumerationException
- if any problems were encountered.public boolean hasNext() throws NotificationUserEnumerationException
hasNext
in interface INotificationUserEnumerator
true
as long as more usernames are available from the enumeration.
NotificationUserEnumerationException
- if any problems were encountered.public String getNext() throws NotificationUserEnumerationException
getNext
in interface INotificationUserEnumerator
NotificationUserEnumerationException
- if any problems were encountered.public void close() throws NotificationUserEnumerationException
close
in interface INotificationUserEnumerator
NotificationUserEnumerationException
- if any problems were encountered.
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |