/**
* A remote interface for country informations
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
@Remote
public interface JobsCountrySingletonBeanRemote extends Serializable {
/**
* An interface for an event if an address book has been loaded
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public interface AddressbookLoadedEvent extends Serializable {
/**
* An event fired when an address book has been loaded
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public class LoadedAddressbookEvent implements AddressbookLoadedEvent {
/**
* An interface for address book sharing events
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public interface AddressbookSharingEvent extends Serializable {
/**
* An event fired when a user ends sharing address books
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public class EndedAddressbookSharingEvent implements AddressbookSharingEvent {
/**
* An event fired when a user starts sharing address books
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public class StartedAddressbookSharingEvent implements AddressbookSharingEvent {
/**
* An enum for sharing types
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public enum SharingType {
/**
* An exception thrown when the user has already used the name.
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public class AddressbookNameAlreadyUsedException extends Exception {
* An exception thrown when the address book's id number is not valid, so no
* address book can be found.
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public class AddressbookNotFoundException extends Exception {
/**
* An exception thrown whent the address book is already shared with given user
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public class UserAlreadySharingAddressbookException extends Exception {
/**
* A POJI for addressbooks
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public interface Addressbook extends Serializable {
/**
* A remote session interface for addressbook handling
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
@Remote
public interface AddressbookSessionBeanRemote extends Serializable {
/**
* A POJO for user addressbooks
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
@Entity (name = "addressbooks")
@Table (name = "addressbooks")
}
/**
- * Default protected constructor
+ * Default constructor
*/
- protected UserAddressbook () {
+ public UserAddressbook () {
// Set status to UNLOCKED
this.addressbookStatus = AddressbokStatus.UNLOCKED;
}
/**
* A POJI for addressbook entries
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public interface AddressbookEntry extends Serializable {
/**
* A POJO for address book entries
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
@Entity (name = "addressbook_entries")
@Table (name = "addressbook_entries")
/**
* A POJO for sharing address books with other users
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
@Entity (name = "addressbook_shares")
@Table (name = "addressbook_shares")
* @param sharee User sharee instance
*/
public AddressbookShare (final Addressbook addressbook, final User sharee) {
- // Call protected constructor
+ // Call constructor
this();
// Check all conditions
}
/**
- * Default constructor for entity manager
+ * Default constructor
*/
- protected AddressbookShare () {
+ public AddressbookShare () {
}
@Override
/**
* A POJI for shared address books
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public interface ShareableAddressbook extends Serializable {
/**
* An enum for the addressbook status
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
public enum AddressbokStatus implements Serializable {
/**
* A validator for address book id verification
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
@FacesValidator (value = "AddressbookIdValidator")
public class AddressbookIdValidator extends BaseLongValidator {
/**
* A validator for user profile visibility
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
@FacesValidator (value = "UserProfileVisibilityValidator")
public class UserProfileVisibilityValidator extends BaseBooleanValidator implements Validator {
/**
* A validator for user ids
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
@FacesValidator (value = "UserIdValidator")
public class UserIdValidator extends BaseLongValidator implements Validator {
/**
* A remote interface for cellphone carrier data retrieval
* <p>
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
*/
@Remote
public interface AddressbookSmsProviderSingletonBeanRemote extends Serializable {