* <p>
* @return Id number
*/
- public Long getAddressbookId ();
+ Long getAddressbookId ();
/**
* Setter for id number
* <p>
* @param addressbookId Id number
*/
- public void setAddressbookId (final Long addressbookId);
+ void setAddressbookId (final Long addressbookId);
/**
* Getter for addressbook creation timestamp
* <p>
* @return Addressbook creation timestamp
*/
- public Calendar getAddressbookCreated ();
+ Calendar getAddressbookCreated ();
/**
* Setter for addressbook creation timestamp
* <p>
* @param addressbookCreated Addressbook creation timestamp
*/
- public void setAddressbookCreated (final Calendar addressbookCreated);
+ void setAddressbookCreated (final Calendar addressbookCreated);
/**
* Getter for addressbook's name
* <p>
* @return Addressbook's name
*/
- public String getAddressbookName ();
+ String getAddressbookName ();
/**
* Setter for addressbook's name
* <p>
* @param addressbookName Addressbook's name
*/
- public void setAddressbookName (final String addressbookName);
+ void setAddressbookName (final String addressbookName);
/**
* Getter for addressbook status
* <p>
* @return Addressbook status
*/
- public AddressbokStatus getAddressbookStatus ();
+ AddressbokStatus getAddressbookStatus ();
/**
* Setter for addressbook status
* <p>
* @param addressbookStatus Addressbook status
*/
- public void setAddressbookStatus (final AddressbokStatus addressbookStatus);
+ void setAddressbookStatus (final AddressbokStatus addressbookStatus);
/**
* Getter for addressbook's user (owner)
* <p>
* @return Addressbook's user (owner)
*/
- public User getAddressbookUser ();
+ User getAddressbookUser ();
/**
* Setter for addressbook's user (owner)
* <p>
* @param addressbookUser Addressbook's user (owner)
*/
- public void setAddressbookUser (final User addressbookUser);
+ void setAddressbookUser (final User addressbookUser);
@Override
- public boolean equals (final Object object);
+ boolean equals (final Object object);
@Override
- public int hashCode ();
+ int hashCode ();
}
* <p>
* @return List of all entries
*/
- public List<AddressbookEntry> allEntries (final Addressbook addressbook);
+ List<AddressbookEntry> allEntries (final Addressbook addressbook);
/**
* Some "getter" for a list of address books the logged-in user has created
* <p>
* @return List of all address books
*/
- public List<Addressbook> getUsersList (final User loggedInUser);
+ List<Addressbook> getUsersList (final User loggedInUser);
/**
* Creates given address book by persisting it. A User instance must be set,
* org.mxchange.addressbook.exceptions.AddressbookNameAlreadyUsedException
* If the address book's name has already been used by the user.
*/
- public Addressbook createAddressbook (final Addressbook addressbook) throws AddressbookNameAlreadyUsedException;
+ Addressbook createAddressbook (final Addressbook addressbook) throws AddressbookNameAlreadyUsedException;
/**
* Checks whether the given address book id is used (means available).
* @param addressbookId Address book id to check
* @return Whether the id is valid
*/
- public boolean isAddressbookIdUsed (final Long addressbookId);
+ boolean isAddressbookIdUsed (final Long addressbookId);
/**
* Checks if the given address book's name is already used by the user.
* <p>
* @return Whether the name has already been used by the user
*/
- public boolean isAddressbookNameUsed (final Addressbook addressbook);
+ boolean isAddressbookNameUsed (final Addressbook addressbook);
}
* <p>
* @return Id number
*/
- public Long getAddressbookEntryId ();
+ Long getAddressbookEntryId ();
/**
* Setter for id number
* <p>
* @param addressbookEntryId Id number
*/
- public void setAddressbookEntryId (final Long addressbookEntryId);
+ void setAddressbookEntryId (final Long addressbookEntryId);
/**
* Getter for business contact
* <p>
* @return Business contact
*/
- public BusinessContact getAddressbookEntryBusinessContact ();
+ BusinessContact getAddressbookEntryBusinessContact ();
/**
* Setter for business contact
* <p>
* @param addressbookEntryBusinessContact Business contact
*/
- public void setAddressbookEntryBusinessContact (final BusinessContact addressbookEntryBusinessContact);
+ void setAddressbookEntryBusinessContact (final BusinessContact addressbookEntryBusinessContact);
/**
* Getter for entry created timestamp
* <p>
* @return Entry created timestamp
*/
- public Calendar getAddressbookEntryCreated ();
+ Calendar getAddressbookEntryCreated ();
/**
* Setter for entry created timestamp
* <p>
* @param addressbookEntryCreated Entry created timestamp
*/
- public void setAddressbookEntryCreated (final Calendar addressbookEntryCreated);
+ void setAddressbookEntryCreated (final Calendar addressbookEntryCreated);
/**
* Getter for private contact
* <p>
* @return Private contact
*/
- public Contact getAddressbookEntryPrivateContact ();
+ Contact getAddressbookEntryPrivateContact ();
/**
* Setter for private contact
* <p>
* @param addressbookEntryPrivateContact Private contact
*/
- public void setAddressbookEntryPrivateContact (final Contact addressbookEntryPrivateContact);
+ void setAddressbookEntryPrivateContact (final Contact addressbookEntryPrivateContact);
/**
* Getter for user who has added this entry to his/her addressbook
* <p>
* @return User who has added this entry
*/
- public User getAddressbookEntryUserSharer ();
+ User getAddressbookEntryUserSharer ();
/**
* Setter for user who has added this entry to his/her addressbook
* <p>
* @param addressbookEntryUserAdded User who has added this entry
*/
- public void setAddressbookEntryUserSharer (final User addressbookEntryUserAdded);
+ void setAddressbookEntryUserSharer (final User addressbookEntryUserAdded);
/**
* Getter for user who has initially created the address book entry
* <p>
* @return User who has created initially this address book entry
*/
- public User getAddressbookEntryUserOwner ();
+ User getAddressbookEntryUserOwner ();
/**
* Setter for user who has initially created the address book entry
* @param addressbookEntryUserOrigin User who has created initially this
* address book entry
*/
- public void setAddressbookEntryUserOwner (final User addressbookEntryUserOrigin);
+ void setAddressbookEntryUserOwner (final User addressbookEntryUserOrigin);
/**
* Getter for address book
* <p>
* @return Address book
*/
- public Addressbook getAddressbookId ();
+ Addressbook getAddressbookId ();
/**
* Setter for address book
* <p>
* @param addressbookId Address book
*/
- public void setAddressbookId (final Addressbook addressbookId);
+ void setAddressbookId (final Addressbook addressbookId);
@Override
- public boolean equals (final Object object);
+ boolean equals (final Object object);
@Override
- public int hashCode ();
+ int hashCode ();
}
* <p>
* @return Shared address book instance
*/
- public Addressbook getShareAddressbook ();
+ Addressbook getShareAddressbook ();
/**
* Setter for shared address book instance
* <p>
* @param shareAddressbook Shared address book instance
*/
- public void setShareAddressbook (final Addressbook shareAddressbook);
+ void setShareAddressbook (final Addressbook shareAddressbook);
/**
* Getter for id number
* <p>
* @return Id number
*/
- public Long getShareId ();
+ Long getShareId ();
/**
* Setter for id number
* <p>
* @param shareId Id number
*/
- public void setShareId (final Long shareId);
+ void setShareId (final Long shareId);
/**
* Getter for address book owner instance
* <p>
* @return Address book owner instance
*/
- public User getShareUserOwner ();
+ User getShareUserOwner ();
/**
* Setter for address book owner instance
* <p>
* @param shareUserOwner Address book owner instance
*/
- public void setShareUserOwner (final User shareUserOwner);
+ void setShareUserOwner (final User shareUserOwner);
/**
* Getter for address book sharee instance
* <p>
* @return Address book sharee instance
*/
- public User getShareUserSharee ();
+ User getShareUserSharee ();
/**
* Setter for address book sharee instance
* <p>
* @param shareUserSharer Address book sharee instance
*/
- public void setShareUserSharee (final User shareUserSharer);
+ void setShareUserSharee (final User shareUserSharer);
@Override
- public boolean equals (final Object object);
+ boolean equals (final Object object);
@Override
- public int hashCode ();
+ int hashCode ();
}
* @param user User instance
* @return Whether the user is sharing address books
*/
- public Boolean isUserSharingAddressbooks (final User user);
+ Boolean isUserSharingAddressbooks (final User user);
}
* <p>
* @return A list of all countries
*/
- public List<Country> allCountries ();
+ List<Country> allCountries ();
}
* <p>
* @return A list of all SMS providers
*/
- public List<SmsProvider> allSmsProvider ();
+ List<SmsProvider> allSmsProvider ();
}