/*
- * 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.phone;
import java.io.Serializable;
-import java.util.List;
-import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber;
-import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber;
-import org.mxchange.jphone.phonenumbers.mobile.DialableMobileNumber;
/**
* An interface for a request web controller (bean) for administrative phone
*/
public interface JobsPhoneWebRequestController extends Serializable {
- /**
- * Returns a list of all mobile numbers. For performance reasons, the
- * controller (bean) should be application-scoped as from user to user
- * nothing changes. And the controller's post-construct method should load
- * all numbers and cache it in the controller.
- * <p>
- * @return List of all mobile numbers
- */
- List<DialableMobileNumber> allMobileNumbers ();
-
- /**
- * Returns a list of all fax numbers. For performance reasons, the
- * controller (bean) should be application-scoped as from user to user
- * nothing changes. And the controller's post-construct method should load
- * all numbers and cache it in the controller.
- * <p>
- * @return List of all fax numbers
- */
- List<DialableFaxNumber> allFaxNumbers ();
-
- /**
- * Returns a list of all land-line numbers. For performance reasons, the
- * controller (bean) should be application-scoped as from user to user
- * nothing changes. And the controller's post-construct method should load
- * all numbers and cache it in the controller.
- * <p>
- * @return List of all land-line numbers
- */
- List<DialableLandLineNumber> allLandLineNumbers ();
-
}