|
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.servlets.manager.communities.invitations.notification.NotificationInviter
public class NotificationInviter
A simple community inviter implementation which sends invitations over notifications. The notifications sent by this implementation have the following characteristics:
NotificationInvitationHelper
class.null
null
null
NotificationInvitationHelper
,
Serialized FormField Summary | |
---|---|
static String |
NOTIFICATION_NAME
The name of the notifications sent by this inviter implementation. |
static String |
NOTIFICATION_NAMESPACE
The namespace of the notifications sent by this inviter implementation. |
Constructor Summary | |
---|---|
NotificationInviter()
Default constructor for a NotificationInvitor which sends notifications globally scoped (not scoped to a particular webapp). |
|
NotificationInviter(String targetWebApp)
Constructor allowing specification of the target webapp for notifications. |
Method Summary | |
---|---|
void |
destroy()
Allows InvitationValidationTextGenerator
implementations the opportunity to release any
resources obtained during init or to perform any
necessary cleanup operations. |
void |
init(InvitationDetails details)
Called by the framework to initialize resources. |
void |
sendInvitations(InviteeIterator invitees)
Sends individual invitations to the set of Invitees
contained within the input InviteeIterator , according
to the details for the invitation as contained in the input
InvitationDetails argument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NOTIFICATION_NAMESPACE
public static final String NOTIFICATION_NAME
Constructor Detail |
---|
public NotificationInviter()
public NotificationInviter(String targetWebApp)
targetWebApp
- the target web application name to send notifications to.
If null
, the notification is globally scoped.Method Detail |
---|
public void init(InvitationDetails details) throws InviteException
init
in interface CommunityInviter
details
- the specific details of the invitation
InviteException
public void sendInvitations(InviteeIterator invitees) throws InviteException
Invitees
contained within the input InviteeIterator
, according
to the details for the invitation as contained in the input
InvitationDetails
argument.
sendInvitations
in interface CommunityInviter
invitees
- an iterator containing all invitees to invite
InviteException
public void destroy()
InvitationValidationTextGenerator
implementations the opportunity to release any
resources obtained during init or to perform any
necessary cleanup operations.
destroy
in interface CommunityInviter
|
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 |