@ProviderType
public class CountryServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.CountryServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.CountryService,
CountryServiceBaseImpl,
com.liferay.portal.service.impl.CountryServiceImpl| Constructor and Description |
|---|
CountryServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Country |
addCountry(java.lang.String name,
java.lang.String a2,
java.lang.String a3,
java.lang.String number,
java.lang.String idd,
boolean active) |
static Country |
fetchCountry(long countryId) |
static Country |
fetchCountryByA2(java.lang.String a2) |
static Country |
fetchCountryByA3(java.lang.String a3) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static java.util.List<Country> |
getCountries() |
static java.util.List<Country> |
getCountries(boolean active) |
static Country |
getCountry(long countryId) |
static Country |
getCountryByA2(java.lang.String a2) |
static Country |
getCountryByA3(java.lang.String a3) |
static Country |
getCountryByName(java.lang.String name) |
static CountryService |
getService() |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(CountryService service)
Deprecated.
As of 6.2.0
|
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static Country addCountry(java.lang.String name, java.lang.String a2, java.lang.String a3, java.lang.String number, java.lang.String idd, boolean active) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static Country fetchCountry(long countryId) throws SystemException
SystemExceptionpublic static Country fetchCountryByA2(java.lang.String a2) throws SystemException
SystemExceptionpublic static Country fetchCountryByA3(java.lang.String a3) throws SystemException
SystemExceptionpublic static java.util.List<Country> getCountries() throws SystemException
SystemExceptionpublic static java.util.List<Country> getCountries(boolean active) throws SystemException
SystemExceptionpublic static Country getCountry(long countryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static Country getCountryByA2(java.lang.String a2) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static Country getCountryByA3(java.lang.String a3) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static Country getCountryByName(java.lang.String name) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static CountryService getService()
public void setService(CountryService service)