|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.proxy.RegistrationManagerProxy
public class RegistrationManagerProxy
| Field Summary |
|---|
| Fields inherited from interface com.jivesoftware.base.registration.RegistrationManager |
|---|
PROPERTY_EMAIL_ADDRESS, PROPERTY_EMAIL_BODY, PROPERTY_EMAIL_NAME, PROPERTY_EMAIL_SUBJECT, PROPERTY_HUMAN_VALIDATION_ENABLED, PROPERTY_TERMS_ENABLED, PROPERTY_TERMS_URL, PROPERTY_USER_VALIDATION_KEY, PROPERTY_VALIDATION_ENABLED |
| Constructor Summary | |
|---|---|
RegistrationManagerProxy(RegistrationManager registrationManager,
AuthToken authToken,
Permissions permissions)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getEmailAddress()
Gets the email address that validation emails will appear to be from |
java.lang.String |
getEmailBody(java.util.Locale locale)
Gets the text for the body of the validation emails. |
java.lang.String |
getEmailName()
Gets the name that validation emails will appear to be from |
java.lang.String |
getEmailSubject(java.util.Locale locale)
Gets the text for the subject of validation emails |
java.lang.String |
getTermsURL()
Gets the string url representing the terms and conditions page |
boolean |
isAccountValidated(long userID)
Checks if a user account has been validated |
boolean |
isHumanValidationEnabled()
Returns true if the human input validation feature is turned on. |
boolean |
isTermsEnabled()
Returns true if terms and conditions is enabled |
boolean |
isValidationEnabled()
Returns true if the validation feature is turned on. |
void |
markAccountForValidation(User user)
Marks the user account for validation and sends a validation request to the user. |
void |
setEmailAddress(java.lang.String emailAddress)
Sets the email address that validation emails will appear to be from |
void |
setEmailBody(java.lang.String emailBody,
java.util.Locale locale)
Sets the text for the body of of validation emails. |
void |
setEmailName(java.lang.String emailName)
Sets The name that validation emails will appear to be from |
void |
setEmailSubject(java.lang.String emailSubject,
java.util.Locale locale)
Sets the text for the subject of validation emails |
void |
setHumanValidationEnabled(boolean humanValidationEnabled)
Enables or disables the human input validation feature. |
void |
setTermsEnabled(boolean termsEnabled)
Sets terms and conditions to be enabled / disabled |
void |
setTermsURL(java.lang.String termsURL)
Sets the string url representing the terms and conditions page |
void |
setValidationEnabled(boolean validationEnabled)
Enables or disables the validation feature. |
boolean |
validateAccount(long userID,
java.lang.String validationKey)
Validates a user account using a unique validation key |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegistrationManagerProxy(RegistrationManager registrationManager,
AuthToken authToken,
Permissions permissions)
| Method Detail |
|---|
public boolean isValidationEnabled()
RegistrationManager
isValidationEnabled in interface RegistrationManagerpublic void setValidationEnabled(boolean validationEnabled)
RegistrationManager
setValidationEnabled in interface RegistrationManagervalidationEnabled - true to enable the validation feature, false to disable.public boolean isHumanValidationEnabled()
RegistrationManager
isHumanValidationEnabled in interface RegistrationManagerpublic void setHumanValidationEnabled(boolean humanValidationEnabled)
RegistrationManager
setHumanValidationEnabled in interface RegistrationManagerhumanValidationEnabled - true to enable the human input validation feature, false to disable.public java.lang.String getEmailName()
RegistrationManager
getEmailName in interface RegistrationManagerpublic void setEmailName(java.lang.String emailName)
RegistrationManager
setEmailName in interface RegistrationManageremailName - the name that validation emails will appear to be frompublic java.lang.String getEmailAddress()
RegistrationManager
getEmailAddress in interface RegistrationManagerpublic void setEmailAddress(java.lang.String emailAddress)
RegistrationManager
setEmailAddress in interface RegistrationManageremailAddress - the email address that validation emails will appear to be frompublic java.lang.String getEmailSubject(java.util.Locale locale)
RegistrationManager
getEmailSubject in interface RegistrationManager
public void setEmailSubject(java.lang.String emailSubject,
java.util.Locale locale)
RegistrationManager
setEmailSubject in interface RegistrationManageremailSubject - the text for the subject of validation emailspublic java.lang.String getEmailBody(java.util.Locale locale)
RegistrationManager
getEmailBody in interface RegistrationManager
public void setEmailBody(java.lang.String emailBody,
java.util.Locale locale)
RegistrationManager
setEmailBody in interface RegistrationManageremailBody - the text for the body of the validation emailspublic boolean isTermsEnabled()
RegistrationManager
isTermsEnabled in interface RegistrationManagerpublic void setTermsEnabled(boolean termsEnabled)
RegistrationManager
setTermsEnabled in interface RegistrationManagertermsEnabled - true to enavled terms and conditions; false to disabledpublic java.lang.String getTermsURL()
RegistrationManager
getTermsURL in interface RegistrationManagerpublic void setTermsURL(java.lang.String termsURL)
RegistrationManager
setTermsURL in interface RegistrationManagertermsURL - the string url of the terms and conditions pagepublic void markAccountForValidation(User user)
RegistrationManager
markAccountForValidation in interface RegistrationManager
public boolean validateAccount(long userID,
java.lang.String validationKey)
throws UserNotFoundException
RegistrationManager
validateAccount in interface RegistrationManageruserID - the userID representing the user account to validatevalidationKey - the unique validation key
UserNotFoundException - if the user object can not be found
public boolean isAccountValidated(long userID)
throws UserNotFoundException
RegistrationManager
isAccountValidated in interface RegistrationManageruserID - the userID to check
UserNotFoundException - if the user object can not be found
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||