]> git.mxchange.org Git - jjobs-war.git/blobdiff - src/java/org/mxchange/jjobs/beans/contact/JobsContactWebRequestController.java
Please cherry-pick:
[jjobs-war.git] / src / java / org / mxchange / jjobs / beans / contact / JobsContactWebRequestController.java
index f31b1f2fd6c1867229a7b0b965162c4c34128ef4..205a6c830f81c34cb8c46e2e92a8666fd855bdaa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -17,8 +17,6 @@
 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;
 
 /**
@@ -45,20 +43,6 @@ public interface JobsContactWebRequestController extends Serializable {
         */
        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>
@@ -66,23 +50,6 @@ public interface JobsContactWebRequestController extends Serializable {
         */
        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>
@@ -121,17 +88,6 @@ public interface JobsContactWebRequestController extends Serializable {
         */
        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