| 
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InvitationValidationTextGenerator
Provides a mechanism for allowing for customizable implementations of Communities Invitiation passwords. A default implementation is provided:
SimpleValidationTextGenerator| Method Summary | |
|---|---|
 void | 
destroy()
Allows InvitationValidationTextGenerator
 implementations the opportunity to release any
 resources obtained during init or to perform any
 necessary cleanup operations. | 
 String | 
generateValidationText(Invitee invitee)
Returns a String representation of a password generated based on the input integer id.  | 
 void | 
init(InvitationDetails invitationDetails)
Allows InvitationValidationTextGenerator
 implementations the opportunity to perform any necessary initialization
 operations such as obtaining necessary resources such as
 database connections or loading file contents. | 
| Method Detail | 
|---|
void init(InvitationDetails invitationDetails)
InvitationValidationTextGenerator
 implementations the opportunity to perform any necessary initialization
 operations such as obtaining necessary resources such as
 database connections or loading file contents.
String generateValidationText(Invitee invitee)
Invitations in the
 Communities framework are guaranteed to have unique id's.  The
 framework will call this method after storing Invitee
 information and will populate Invitee invitation password
 fields based on the output of this method for consumption by
 CommunityInviter implementations.
invitee - the invitee information
void destroy()
InvitationValidationTextGenerator
 implementations the opportunity to release any
 resources obtained during init or to perform any
 necessary cleanup operations.
  | 
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||