* <p>
* @return Whether the user has created at least one addressbook
*/
- public boolean hasCreatedAddressbooks ();
+ boolean hasCreatedAddressbooks ();
/**
* Creates a new address book with a name and redirects to proper target.
* <p>
* @return Target to redirect to
*/
- public String addAddressbook ();
+ String addAddressbook ();
/**
* Getter for address book name
* <p>
* @return Address book name
*/
- public String getAddressbookName ();
+ String getAddressbookName ();
/**
* Setter for address book name
* <p>
* @param addressbookName Address book name
*/
- public void setAddressbookName (final String addressbookName);
+ void setAddressbookName (final String addressbookName);
/**
* Checks if the given address book name is already used by the user.
* <p>
* @return Whether the name has already been used by the user
*/
- public boolean isAddressbookNameUsed (final String addressbookName);
+ boolean isAddressbookNameUsed (final String addressbookName);
/**
* Returns all address books with this user
* <p>
* @return A list of all address books by this user
*/
- public List<Addressbook> allAddressbooks ();
+ List<Addressbook> allAddressbooks ();
/**
* Returns a list of all address book entries for given address book
* <p>
* @return List of all entries
*/
- public List<AddressbookEntry> allEntries (final Addressbook addressbook);
+ List<AddressbookEntry> allEntries (final Addressbook addressbook);
/**
* Returns a list of all address books the user is sharing with others.
* <p>
* @return List of all shared address books
*/
- public List<ShareableAddressbook> allShares ();
+ List<ShareableAddressbook> allShares ();
/**
* Size of all entries in given address book
* <p>
* @return Size of the entries in address book
*/
- public int allEntriesSize (final Addressbook addressbook);
+ int allEntriesSize (final Addressbook addressbook);
/**
* Getter for address book id number
* <p>
* @return Address book id number
*/
- public Long getAddressbookId ();
+ Long getAddressbookId ();
/**
* Setter for address book id number
* <p>
* @param addressbookId Address book id number
*/
- public void setAddressbookId (final Long addressbookId);
+ void setAddressbookId (final Long addressbookId);
}
* <p>
* @param user User instance
*/
- public void addUserNameEmailAddress (final User user);
+ void addUserNameEmailAddress (final User user);
/**
* All public user profiles
* <p>
* @return A list of all public user profiles
*/
- public List<User> allPublicUsers ();
+ List<User> allPublicUsers ();
/**
* Clears all data in this bean
*/
- public void clearData ();
+ void clearData ();
/**
* Copies given user into the controller
* <p>
* @param user User instance
*/
- public void copyUser (final User user);
+ void copyUser (final User user);
/**
* Creates an instance from all properties
* <p>
* @return A user instance
*/
- public User createUserInstance ();
+ User createUserInstance ();
/**
* Getter for birth day
* <p>
* @return Birth day
*/
- public Date getBirthday ();
+ Date getBirthday ();
/**
* Setter for birth day
* <p>
* @param birthday Birth day
*/
- public void setBirthday (final Date birthday);
+ void setBirthday (final Date birthday);
/**
* Getter for ellphone number's carrier
* <p>
* @return Cellphone number's carrier
*/
- public SmsProvider getCellphoneCarrier ();
+ SmsProvider getCellphoneCarrier ();
/**
* Setter for cellphone number's carrier prefix
* <p>
* @param cellphoneCarrier Cellphone number's carrier prefix
*/
- public void setCellphoneCarrier (final SmsProvider cellphoneCarrier);
+ void setCellphoneCarrier (final SmsProvider cellphoneCarrier);
/**
* Getter for ellphone number
* <p>
* @return Cellphone number
*/
- public Long getCellphoneNumber ();
+ Long getCellphoneNumber ();
/**
* Setter for ellphone number
* <p>
* @param cellphoneNumber Cellphone number
*/
- public void setCellphoneNumber (final Long cellphoneNumber);
+ void setCellphoneNumber (final Long cellphoneNumber);
/**
* City
* <p>
* @return the city
*/
- public String getCity ();
+ String getCity ();
/**
* City
* <p>
* @param city the city to set
*/
- public void setCity (final String city);
+ void setCity (final String city);
/**
* Getter for comments
* <p>
* @return Comments
*/
- public String getComment ();
+ String getComment ();
/**
* Setter for comment
* <p>
* @param comment Comments
*/
- public void setComment (final String comment);
+ void setComment (final String comment);
/**
* Getter for country instance
* <p>
* @return Country instance
*/
- public Country getCountry ();
+ Country getCountry ();
/**
* Setter for country instance
* <p>
* @param country Country instance
*/
- public void setCountry (final Country country);
+ void setCountry (final Country country);
/**
* Getter for email address
* <p>
* @return Email address
*/
- public String getEmailAddress ();
+ String getEmailAddress ();
/**
* Setter for email address
* <p>
* @param emailAddress Email address
*/
- public void setEmailAddress (final String emailAddress);
+ void setEmailAddress (final String emailAddress);
/**
* Getter for email address, repeated
* <p>
* @return the emailAddress, repeated
*/
- public String getEmailAddressRepeat ();
+ String getEmailAddressRepeat ();
/**
* Setter for email address repeated
* <p>
* @param emailAddressRepeat the emailAddress to set
*/
- public void setEmailAddressRepeat (final String emailAddressRepeat);
+ void setEmailAddressRepeat (final String emailAddressRepeat);
/**
* Family name
* <p>
* @return the familyName
*/
- public String getFamilyName ();
+ String getFamilyName ();
/**
* Family name
* <p>
* @param familyName the familyName to set
*/
- public void setFamilyName (final String familyName);
+ void setFamilyName (final String familyName);
/**
* Getter for fax number's area code
* <p>
* @return Fax number's area code
*/
- public Integer getFaxAreaCode ();
+ Integer getFaxAreaCode ();
/**
* Setter for fax number's area code
* <p>
* @param faxAreaCode Fax number's area code
*/
- public void setFaxAreaCode (final Integer faxAreaCode);
+ void setFaxAreaCode (final Integer faxAreaCode);
/**
* Getter for fax's country instance
* <p>
* @return Fax' country instance
*/
- public Country getFaxCountry ();
+ Country getFaxCountry ();
/**
* Setter for fax's country instance
* <p>
* @param faxCountry Fax' country instance
*/
- public void setFaxCountry (final Country faxCountry);
+ void setFaxCountry (final Country faxCountry);
/**
* Getter for fax number
* <p>
* @return Fax number
*/
- public Long getFaxNumber ();
+ Long getFaxNumber ();
/**
* Setter for fax number
* <p>
* @param faxNumber Fax number
*/
- public void setFaxNumber (final Long faxNumber);
+ void setFaxNumber (final Long faxNumber);
/**
* First name
* <p>
* @return the first name
*/
- public String getFirstName ();
+ String getFirstName ();
/**
* First name
* <p>
* @param firstName the first name to set
*/
- public void setFirstName (final String firstName);
+ void setFirstName (final String firstName);
/**
* Gender of the contact
* <p>
* @return the gender
*/
- public Gender getGender ();
+ Gender getGender ();
/**
* Gender of the contact
* <p>
* @param gender the gender to set
*/
- public void setGender (final Gender gender);
+ void setGender (final Gender gender);
/**
* House number
* <p>
* @return the houseNumber
*/
- public Short getHouseNumber ();
+ Short getHouseNumber ();
/**
* House number
* <p>
* @param houseNumber the houseNumber to set
*/
- public void setHouseNumber (final Short houseNumber);
+ void setHouseNumber (final Short houseNumber);
/**
* Getter for phone number's area code
* <p>
* @return Phone number's area code
*/
- public Integer getPhoneAreaCode ();
+ Integer getPhoneAreaCode ();
/**
* Setter for phone number's area code
* <p>
* @param phoneAreaCode Phone number's area code
*/
- public void setPhoneAreaCode (final Integer phoneAreaCode);
+ void setPhoneAreaCode (final Integer phoneAreaCode);
/**
* Getter for phone number's country instance
* <p>
* @return Phone number's country instance
*/
- public Country getPhoneCountry ();
+ Country getPhoneCountry ();
/**
* Setter for phone number's country instance
* <p>
* @param phoneCountry Phone number's country instance
*/
- public void setPhoneCountry (final Country phoneCountry);
+ void setPhoneCountry (final Country phoneCountry);
/**
* Getter for phone number
* <p>
* @return Phone number
*/
- public Long getPhoneNumber ();
+ Long getPhoneNumber ();
/**
* Setter for phone number
* <p>
* @param phoneNumber Phone number
*/
- public void setPhoneNumber (final Long phoneNumber);
+ void setPhoneNumber (final Long phoneNumber);
/**
* Street
* <p>
* @return the street
*/
- public String getStreet ();
+ String getStreet ();
/**
* Street
* <p>
* @param street the street to set
*/
- public void setStreet (final String street);
+ void setStreet (final String street);
/**
* Getter for user id
* <p>
* @return User id
*/
- public Long getUserId ();
+ Long getUserId ();
/**
* Setter for user id
* <p>
* @param userId User id
*/
- public void setUserId (final Long userId);
+ void setUserId (final Long userId);
/**
* Getter for user name
* <p>
* @return User name
*/
- public String getUserName ();
+ String getUserName ();
/**
* Setter for user name
* <p>
* @param userName User name
*/
- public void setUserName (final String userName);
+ void setUserName (final String userName);
/**
* Getter for unencrypted user password
* <p>
* @return Unencrypted user password
*/
- public String getUserPassword ();
+ String getUserPassword ();
/**
* Setter for unencrypted user password
* <p>
* @param userPassword Unencrypted user password
*/
- public void setUserPassword (final String userPassword);
+ void setUserPassword (final String userPassword);
/**
* Getter for unencrypted user password repeated
* <p>
* @return Unencrypted user password repeated
*/
- public String getUserPasswordRepeat ();
+ String getUserPasswordRepeat ();
/**
* Setter for unencrypted user password repeated
* <p>
* @param userPasswordRepeat Unencrypted user password repeated
*/
- public void setUserPasswordRepeat (final String userPasswordRepeat);
+ void setUserPasswordRepeat (final String userPasswordRepeat);
/**
* ZIP code
* <p>
* @return the zipCode
*/
- public Integer getZipCode ();
+ Integer getZipCode ();
/**
* ZIP code
* <p>
* @param zipCode the zipCode to set
*/
- public void setZipCode (final Integer zipCode);
+ void setZipCode (final Integer zipCode);
/**
* Getter for user public profile flag
* <p>
* @return User public profile flag
*/
- public Boolean getUserProfilePublic ();
+ Boolean getUserProfilePublic ();
/**
* Setter for user public profile flag
* <p>
* @param userProfilePublic User public profile flag
*/
- public void setUserProfilePublic (final Boolean userProfilePublic);
+ void setUserProfilePublic (final Boolean userProfilePublic);
/**
* Checks whether user instance's email address is used
* <p>
* @return Whether it is already used
*/
- public boolean isEmailAddressRegistered (final User user);
+ boolean isEmailAddressRegistered (final User user);
/**
* Checks whether all required personal data is set
* <p>
* @return Whether the required personal data is set
*/
- public boolean isRequiredPersonalDataSet ();
+ boolean isRequiredPersonalDataSet ();
/**
* Checks whether same email addresses have been entered
* <p>
* @return Whether same email addresses have been entered
*/
- public boolean isSameEmailAddressEntered ();
+ boolean isSameEmailAddressEntered ();
/**
* Checks whether same passwords has been entered
* <p>
* @return Whether same passwords has been entered
*/
- public boolean isSamePasswordEntered ();
+ boolean isSamePasswordEntered ();
/**
* Checks whether given user instance's name is used
* <p>
* @return Whether it is already used
*/
- public boolean isUserNameRegistered (final User user);
+ boolean isUserNameRegistered (final User user);
/**
* Checks whether a public user account is registered. This means that at
* <p>
* @return Whether at least one user has a public profile
*/
- public boolean isPublicUserRegistered ();
+ boolean isPublicUserRegistered ();
}