X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fjava%2Forg%2Fmxchange%2Fjjobs%2Fbeans%2Fcountry%2FJobsCountryWebApplicationBean.java;h=f2f15c02ca776551ede273b3666851e296215b2c;hb=9af5f7e8b841b05862cf025f64df8d4bab116583;hp=d52d26850cdb201405e0d9bf920d5c63df56a20f;hpb=cdc6674b111254a03a66fff89cdf3796d5a1eb8c;p=jjobs-war.git diff --git a/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java index d52d2685..f2f15c02 100644 --- a/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java @@ -30,15 +30,16 @@ import javax.naming.NamingException; import org.mxchange.jcountry.data.Country; import org.mxchange.jcountry.data.CountrySingletonBeanRemote; import org.mxchange.jcountry.events.AdminAddedCountryEvent; +import org.mxchange.jjobs.beans.BaseJobsController; /** * A country bean *

* @author Roland Haeder */ -@Named ("country") +@Named ("countryController") @ApplicationScoped -public class JobsCountryWebApplicationBean implements JobsCountryWebApplicationController { +public class JobsCountryWebApplicationBean extends BaseJobsController implements JobsCountryWebApplicationController { /** * Serial number @@ -99,6 +100,11 @@ public class JobsCountryWebApplicationBean implements JobsCountryWebApplicationC return Collections.unmodifiableList(this.countryList); } + @Override + public boolean hasCountries () { + return (!this.countryList.isEmpty()); + } + /** * Post-initialization of this class */