/*
- * Copyright (C) 2016 Roland Haeder
+ * 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.phone;
import java.io.Serializable;
-import java.util.List;
-import javax.ejb.Local;
-import org.mxchange.jcountry.data.Country;
-import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
-import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
-import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
-import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
/**
* An interface for a request web controller (bean) for administrative phone
* number purposes.
* <p>
- * @author Roland Haeder<roland@mxchange.org>
+ * @author Roland Hรคder<roland@mxchange.org>
*/
-@Local
public interface JobsAdminPhoneWebRequestController extends Serializable {
- /**
- * Returns a list of all unused ("non-linked") mobile numbers
- * <p>
- * @return List with all unused mobile numbers
- */
- List<DialableMobileNumber> allNonLinkedMobileNumbers ();
-
- /**
- * Returns a list of all unused ("non-linked") land-line numbers
- * <p>
- * @return List with all unused land-line numbers
- */
- List<DialableFaxNumber> allNonLinkedFaxNumbers ();
-
- /**
- * Returns a list of all unused ("non-linked") land-line numbers
- * <p>
- * @return List with all unused land-line numbers
- */
- List<DialableLandLineNumber> allNonLinkedLandLineNumbers ();
-
- /**
- * Deletes given mobile entry data
- * <p>
- * @return Redirect outcome
- */
- String deleteMobileData ();
-
- /**
- * Changes mobile entry data
- * <p>
- * @return Redirect outcome
- */
- String editMobileData ();
-
- /**
- * Getter for mobile provider
- * <p>
- * @return Mobile provider
- */
- MobileProvider getMobileProvider ();
-
- /**
- * Setter for mobile provider
- * <p>
- * @param mobileProvider Mobile provider
- */
- void setMobileProvider (final MobileProvider mobileProvider);
-
- /**
- * Getter for choosen fax number
- * <p>
- * @return Choosen fax number
- */
- DialableFaxNumber getChoosenFaxNumber ();
-
- /**
- * Setter for choosen fax number
- * <p>
- * @param choosenFaxNumber Choosen fax number
- */
- void setChoosenFaxNumber (final DialableFaxNumber choosenFaxNumber);
-
- /**
- * Getter for choosen land-line number
- * <p>
- * @return Choosen land-line number
- */
- DialableLandLineNumber getChoosenLandLineNumber ();
-
- /**
- * Setter for choosen land-line number
- * <p>
- * @param choosenLandLineNumber Choosen land-line number
- */
- void setChoosenLandLineNumber (final DialableLandLineNumber choosenLandLineNumber);
-
- /**
- * Getter for choosen mobile number
- * <p>
- * @return Choosen mobile number
- */
- DialableMobileNumber getChoosenMobileNumber ();
-
- /**
- * Setter for choosen mobile number
- * <p>
- * @param choosenMobileNumber Choosen mobile number
- */
- void setChoosenMobileNumber (final DialableMobileNumber choosenMobileNumber);
-
- /**
- * Getter for phone area code
- * <p>
- * @return Phone area code
- */
- Integer getPhoneAreaCode ();
-
- /**
- * Setter for phone area code
- * <p>
- * @param phoneAreaCode Phone area code
- */
- void setPhoneAreaCode (final Integer phoneAreaCode);
-
- /**
- * Getter for phone country (for dial prefix)
- * <p>
- * @return Phone country
- */
- Country getPhoneCountry ();
-
- /**
- * Setter for phone country (for dial prefix)
- * <p>
- * @param phoneCountry Phone country
- */
- void setPhoneCountry (final Country phoneCountry);
-
- /**
- * Getter for dial number without prefix
- * <p>
- * @return Dial number without prefix
- */
- Long getPhoneNumber ();
-
- /**
- * Setter for dial number without prefix
- * <p>
- * @param phoneNumber Dial number without prefix
- */
- void setPhoneNumber (final Long phoneNumber);
-
}