|
Copyright © 2000, 2009, 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.communities.invitations.SimpleValidationTextGenerator
public class SimpleValidationTextGenerator
Simple implementation of InvitationValidationTextGenerator
.
This implementation just returns the input invitation id integer as a String directly.
Constructor Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleValidationTextGenerator()
Method Detail |
---|
public void init(InvitationDetails invitationDetails)
InvitationValidationTextGenerator
InvitationValidationTextGenerator
implementations the opportunity to perform any necessary initialization
operations such as obtaining necessary resources such as
database connections or loading file contents.
init
in interface InvitationValidationTextGenerator
public String generateValidationText(Invitee invitee)
InvitationValidationTextGenerator
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.
generateValidationText
in interface InvitationValidationTextGenerator
invitee
- the invitee information
public void destroy()
InvitationValidationTextGenerator
InvitationValidationTextGenerator
implementations the opportunity to release any
resources obtained during init or to perform any
necessary cleanup operations.
destroy
in interface InvitationValidationTextGenerator
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |