|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.netuix.application.communities.invitations.SimpleInviteeIterator
public class SimpleInviteeIterator
SimpleInviteeIterator provides an InviteeIterator implementation
that allows developers to collect up a set of Invitee
objects one at a time for consumption by the Communities Invitation
framework. This InviteeIterator is most useful for cases
where the Communities application needs to indiviudally specify all
portions of each Invitee object, such as is the case
when inviting external users or when the user doing the invitation
needs to specify messaging addresses that are not already known to
the framework via the MessagingAddress mappings to
User Profile values.
| Constructor Summary | |
|---|---|
SimpleInviteeIterator()
Constructs a new, empty iterator. |
|
| Method Summary | |
|---|---|
void |
addInvitee(Invitee invitee)
Adds an Invitee to this iterator. |
void |
close()
Called by the framework to end iteration. |
boolean |
hasNext()
|
Invitee |
next()
|
void |
open()
Called by the framework to begins iteration. |
void |
remove()
Not supported by this iterator |
void |
reset()
Resets this iterator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleInviteeIterator()
| Method Detail |
|---|
public void addInvitee(Invitee invitee)
invitee - the invitee to addpublic boolean hasNext()
hasNext in interface Iterator<Invitee>public Invitee next()
next in interface Iterator<Invitee>public void remove()
remove in interface Iterator<Invitee>
public void reset()
throws InviteeIteratorException
InviteeIteratorInvitees
- Specified by:
reset in interface InviteeIterator
- Throws
InviteeIteratorException
public void open()
throws InviteeIteratorException
InviteeIteratorInvitees. The framework calls this method before
the InviteeIterator is sent to CommunityInviter implementations, so it is unnecessary for
CommunityInviter objects to call this method.
open in interface InviteeIteratorInviteeIteratorExceptionpublic void close()
InviteeIterator
close in interface InviteeIterator
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||