|
Liferay 7.0-ce-a2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.CountryServiceUtil
@ProviderType public class CountryServiceUtil
Provides the remote service utility for Country. This utility wraps
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,
CountryServiceImpl| Constructor Summary | |
|---|---|
CountryServiceUtil()
|
|
| Method Summary | |
|---|---|
static Country |
addCountry(String name,
String a2,
String a3,
String number,
String idd,
boolean active)
|
static Country |
fetchCountry(long countryId)
|
static Country |
fetchCountryByA2(String a2)
|
static Country |
fetchCountryByA3(String a3)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static List<Country> |
getCountries()
|
static List<Country> |
getCountries(boolean active)
|
static Country |
getCountry(long countryId)
|
static Country |
getCountryByA2(String a2)
|
static Country |
getCountryByA3(String a3)
|
static Country |
getCountryByName(String name)
|
static CountryService |
getService()
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(CountryService service)
Deprecated. As of 6.2.0 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CountryServiceUtil()
| Method Detail |
|---|
public static Country addCountry(String name,
String a2,
String a3,
String number,
String idd,
boolean active)
throws PortalException
PortalExceptionpublic static Country fetchCountry(long countryId)
public static Country fetchCountryByA2(String a2)
public static Country fetchCountryByA3(String a3)
public static String getBeanIdentifier()
public static List<Country> getCountries()
public static List<Country> getCountries(boolean active)
public static Country getCountry(long countryId)
throws PortalException
PortalException
public static Country getCountryByA2(String a2)
throws PortalException
PortalException
public static Country getCountryByA3(String a3)
throws PortalException
PortalException
public static Country getCountryByName(String name)
throws PortalException
PortalExceptionpublic static void setBeanIdentifier(String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static CountryService getService()
@Deprecated public void setService(CountryService service)
|
Liferay 7.0-ce-a2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||