Skip to content

Commit

Permalink
admin confirmation key added
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed May 9, 2015
1 parent 4cbe24f commit a4722af
Showing 1 changed file with 22 additions and 0 deletions.
Expand Up @@ -20,6 +20,7 @@ public class UserRegistrationBean {
private String phone;

private boolean confirmedByAdministrator = false;
private String adminConfirmationKey = null;

/**
*
Expand All @@ -41,13 +42,34 @@ public void setUUID(String uuid) {
this.uuid = uuid;
}

/**
* Set flag whether administrator has confirmed registration request
*/
public void setAdministratorConfirmed(boolean hasConfirmed) {
this.confirmedByAdministrator = hasConfirmed;
}

/**
*
*/
public boolean hasAdministratorConfirmedRegistration() {
return confirmedByAdministrator;
}

/**
*
*/
public void setAdministratorConfirmationKey(String key) {
this.adminConfirmationKey = key;
}

/**
*
*/
public String getAdministratorConfirmationKey() {
return adminConfirmationKey;
}

/**
*
*/
Expand Down

0 comments on commit a4722af

Please sign in to comment.