/*
- * Copyright (C) 2016, 2017 Roland Häder
+ * Copyright (C) 2016 - 2022 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.mobileprovider;
import java.io.Serializable;
-import org.mxchange.jcountry.data.Country;
/**
* An interface for a request web controller (bean) for administrative mobile
*/
public interface JobsAdminMobileProviderWebRequestController extends Serializable {
- /**
- * Adds a mobile provider to database by calling the EJB. A pre-check on
- * dial-prefix and country combination is done, if found, an exception is
- * thrown. A redirect should take place after successfull creation.
- * <p>
- * @return Redirect outcome
- */
- String addMobileProvider ();
-
- /**
- * Getter for provider dial prefix
- * <p>
- * @return Provider dial prefix
- */
- Long getProviderDialPrefix ();
-
- /**
- * Setter for provider dial prefix
- * <p>
- * @param providerDialPrefix Provider dial prefix
- */
- void setProviderDialPrefix (final Long providerDialPrefix);
-
- /**
- * Getter for provider name
- * <p>
- * @return Provider name
- */
- String getProviderName ();
-
- /**
- * Setter for provider name
- * <p>
- * @param providerName Provider name
- */
- void setProviderName (final String providerName);
-
- /**
- * Getter for country instance ('s dial data)
- * <p>
- * @return Country instance
- */
- Country getProviderCountry ();
-
- /**
- * Setter for country instance ('s dial data)
- * <p>
- * @param country Country instance
- */
- void setProviderCountry (final Country country);
-
- /**
- * Getter for pattern for mail gateway
- * <p>
- * @return Pattern for mail gateway
- */
- String getProviderMailPattern ();
-
- /**
- * Setter for pattern for mail gateway
- * <p>
- * @param providerMailPattern Pattern for mail gateway
- */
- void setProviderMailPattern (final String providerMailPattern);
-
}