/*
- * Copyright (C) 2016, 2017 Roland Häder
+ * Copyright (C) 2016 - 2020 Free Software Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
package org.mxchange.jjobs.beans.contact;
import java.io.Serializable;
-import java.util.List;
-import org.mxchange.jcontacts.exceptions.ContactNotFoundException;
import org.mxchange.jcontacts.model.contact.Contact;
/**
*/
void clearEmailAddresses ();
- /**
- * Returns a list of all found contacts
- * <p>
- * @return A list of all contacts.
- */
- List<Contact> allContacts ();
-
- /**
- * Updates all data from bean in given contact instance
- * <p>
- * @param userContact Contact instance to update
- */
- void updateContactDataFromController (final Contact userContact);
-
/**
* Creates an instance from all properties
* <p>
*/
Contact createContactInstance ();
- /**
- * Getter for controller type
- * <p>
- * @return controller type
- */
- String getControllerType ();
-
- /**
- * Setter for controller type
- * <p>
- * @param controllerType Controller type
- * <p>
- * @deprecated Don't use this method.
- */
- @Deprecated
- void setControllerType (final String controllerType);
-
/**
* Checks whether contact instance's email address is used
* <p>
*/
String doChangePersonalContactData ();
- /**
- * Returns a contact instance which has the given id number.
- * <p>
- * @param contactId Contact id
- * <p>
- * @return Contact instance
- * <p>
- * @throws ContactNotFoundException If the contact was not found
- */
- Contact findContactById (final Long contactId) throws ContactNotFoundException;
-
/**
* Checks whether the given email address is already registered. The email
* address should be validated by EmailAddressValidator before calling this