/*
- * Copyright (C) 2016 Roland Häder GmbH
+ * 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.addressbook.beans.helper;
import java.io.Serializable;
-import org.mxchange.jcontacts.contact.Contact;
-import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
-import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
-import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
-import org.mxchange.jusercore.model.user.User;
/**
* An interface for general bean helper
*/
public interface AddressbookWebRequestHelperController extends Serializable {
- /**
- * Copies currently set fax number's data to admin phone controller
- */
- void copyFaxNumberToController ();
-
- /**
- * Copies currently set land-line number's data to admin phone controller
- */
- void copyLandLineNumberToController ();
-
- /**
- * Copies currently set mobile number's data to admin phone controller
- */
- void copyMobileNumberToController ();
-
- /**
- * Copies currently set contact instance's data to adminContactController
- */
- void copyContactToController ();
-
- /**
- * Copies currently set user instance's data to adminUserController
- */
- void copyUserToController ();
-
- /**
- * Returns a message key depending on if this contact is a user and/or a
- * contact. If this contact is unused, a default key is returned.
- * <p>
- * @param contact Contact instance to check
- * <p>
- * @return Message key
- */
- String getContactUsageMessageKey (final Contact contact);
-
- /**
- * Getter for contact instance
- * <p>
- * @return Contact instance
- */
- Contact getContact ();
-
- /**
- * Setter for contact instance
- * <p>
- * @param contact Contact instance
- */
- void setContact (final Contact contact);
-
- /**
- * Getter for user instance
- * <p>
- * @return User instance
- */
- User getUser ();
-
- /**
- * Setter for user instance
- * <p>
- * @param user User instance
- */
- void setUser (final User user);
-
- /**
- * Getter for dialable mobile number
- * <p>
- * @return Dialable mobile number
- */
- DialableMobileNumber getMobileNumber ();
-
- /**
- * Setter for dialable mobile number
- * <p>
- * @param mobileNumber Dialable mobile number
- */
- void setMobileNumber (final DialableMobileNumber mobileNumber);
-
- /**
- * Getter for dialable land-line number
- * <p>
- * @return Dialable land-line number
- */
- DialableLandLineNumber getLandLineNumber ();
-
- /**
- * Setter for dialable land-line number
- * <p>
- * @param landLine Dialable land-line number
- */
- void setLandLineNumber (final DialableLandLineNumber landLine);
-
- /**
- * Getter for dialable fax number
- * <p>
- * @return Dialable fax number
- */
- DialableFaxNumber getFaxNumber ();
-
- /**
- * Setter for dialable fax number
- * <p>
- * @param faxNumber Dialable fax number
- */
- void setFaxNumber (final DialableFaxNumber faxNumber);
-
}