|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EasyUserManager
Provides methods for adding users easily.
Method Summary | |
---|---|
boolean |
canSignUpWith(String token)
Return true if the given token is valid for a user to self-sign-up. |
String |
getRelativeSignupURL()
|
SignupMode |
getSignupMode()
Returns the sign-up mode for this instance. |
String |
getSignUpToken()
Gets the current sign-up token, or creates a new one and returns it. |
String |
getSignupURL()
|
boolean |
isEmailSentOnInviteSignUp()
|
boolean |
isPublicSignupPermitted()
Returns true if users can sign themselves for this instance. |
String |
refreshAndGetToken()
Creates a new sign-up token and returns it. |
String |
restorePreviousToken()
Restore the previous private-signup token and returns it. |
NotificationSendResult |
sendInvites(SendUserInviteEvent event)
Send invitation emails with a message to a list of email addresses. |
void |
setEmailSentOnInviteSignUp(boolean notify)
|
void |
setSignupMode(SignupMode signupMode)
Sets the sign-up mode for this instance. |
Method Detail |
---|
String getSignUpToken()
boolean canSignUpWith(String token)
token
- a sign-up token from a URL given to an invited userString refreshAndGetToken()
boolean isEmailSentOnInviteSignUp()
void setEmailSentOnInviteSignUp(boolean notify)
notify
- true if notification emails should be sent to admins when a user signs themselves up, false if notString restorePreviousToken()
String getSignupURL()
String getRelativeSignupURL()
SignupMode getSignupMode()
void setSignupMode(SignupMode signupMode)
boolean isPublicSignupPermitted()
NotificationSendResult sendInvites(SendUserInviteEvent event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |