/*
- * 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.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 ();
-
- /**
- * 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 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 mobile number
- * <p>
- * @return Mobile number
- */
- Long getMobileNumber ();
-
- /**
- * Setter for mobile number
- * <p>
- * @param mobileNumber Mobile number
- */
- void setMobileNumber (final Long mobileNumber);
-
- /**
- * 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);
-
}