Class CountryJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
fr.paris.lutece.plugins.geocodes.web.AbstractManageGeoCodesJspBean<Integer,Country>
fr.paris.lutece.plugins.geocodes.web.CountryJspBean
- All Implemented Interfaces:
Serializable
@Controller(controllerJsp="ManageCountries.jsp",
controllerPath="jsp/admin/plugins/geocodes/",
right="GEOCODES_MANAGEMENT")
public class CountryJspBean
extends AbstractManageGeoCodesJspBean<Integer,Country>
This class provides the user interface to manage Country features ( manage, create, modify, remove )
- See Also:
-
Field Summary
Fields inherited from class fr.paris.lutece.plugins.geocodes.web.AbstractManageGeoCodesJspBean
QUERY_PARAM_APPROXIMATE, QUERY_PARAM_INSEE_CITY_CODE, QUERY_PARAM_INSEE_CITY_LABEL, QUERY_PARAM_INSEE_COUNTRY_CODE, QUERY_PARAM_INSEE_COUNTRY_LABEL, QUERY_PARAM_INSEE_PLACE_CODE, QUERY_PARAM_STATUS_SEARCH, RIGHT_MANAGEGEOCODES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoApplyCountryModification(javax.servlet.http.HttpServletRequest request) doCreateCountry(javax.servlet.http.HttpServletRequest request) Process the data capture form of a new countryvoiddoExportCountries(javax.servlet.http.HttpServletRequest request) doModifyCountry(javax.servlet.http.HttpServletRequest request) Process the change form of a countrydoRefuseModification(javax.servlet.http.HttpServletRequest request) doRemoveCountry(javax.servlet.http.HttpServletRequest request) Handles the removal form of a countrygetConfirmRemoveCountry(javax.servlet.http.HttpServletRequest request) Manages the removal form of a country whose identifier is in the http requestgetCreateCountry(javax.servlet.http.HttpServletRequest request) Returns the form to create a countrygetManageCountries(javax.servlet.http.HttpServletRequest request) Build the Manage ViewgetModifyCountry(javax.servlet.http.HttpServletRequest request) Returns the form to update info about a countryvoidreset the _listIdCountries listMethods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
processControllerMethods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, initMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Constructor Details
-
CountryJspBean
public CountryJspBean()
-
-
Method Details
-
getManageCountries
@View(value="manageCountries", defaultView=true) public String getManageCountries(javax.servlet.http.HttpServletRequest request) Build the Manage View- Parameters:
request- The HTTP request- Returns:
- The page
-
resetListId
public void resetListId()reset the _listIdCountries list -
getCreateCountry
@View("createCountry") public String getCreateCountry(javax.servlet.http.HttpServletRequest request) Returns the form to create a country- Parameters:
request- The Http request- Returns:
- the html code of the country form
-
doCreateCountry
@Action("createCountry") public String doCreateCountry(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException, ParseException Process the data capture form of a new country- Parameters:
request- The Http Request- Returns:
- The Jsp URL of the process result
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedExceptionParseException
-
getConfirmRemoveCountry
@Action("confirmRemoveCountry") public String getConfirmRemoveCountry(javax.servlet.http.HttpServletRequest request) Manages the removal form of a country whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-
doRemoveCountry
@Action("removeCountry") public String doRemoveCountry(javax.servlet.http.HttpServletRequest request) Handles the removal form of a country- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage countries
-
getModifyCountry
@View("modifyCountry") public String getModifyCountry(javax.servlet.http.HttpServletRequest request) Returns the form to update info about a country- Parameters:
request- The Http request- Returns:
- The HTML form to update info
-
doModifyCountry
@Action("modifyCountry") public String doModifyCountry(javax.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException, ParseException Process the change form of a country- Parameters:
request- The Http request- Returns:
- The Jsp URL of the process result
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedExceptionParseException
-
doApplyCountryModification
@Action("applyCountryChanges") public String doApplyCountryModification(javax.servlet.http.HttpServletRequest request) -
doRefuseModification
@Action("denyChanges") public String doRefuseModification(javax.servlet.http.HttpServletRequest request) -
doExportCountries
@Action("exportCountries") public void doExportCountries(javax.servlet.http.HttpServletRequest request)
-