@Deprecated
public class CountryServiceSoap
extends Object
CountryServiceUtil
service
utility. The static methods of this class call the same methods of the
service utility. However, the signatures are different because it is
difficult for SOAP to support certain types.
ServiceBuilder follows certain rules in translating the methods. For example,
if the method in the service utility returns a java.util.List
,
that is translated to an array of
com.liferay.portal.kernel.model.CountrySoap
. If the method in the
service utility returns a
com.liferay.portal.kernel.model.Country
, that is translated to a
com.liferay.portal.kernel.model.CountrySoap
. Methods that SOAP
cannot safely wire are skipped.
The benefits of using the SOAP utility is that it is cross platform compatible. SOAP allows different languages like Java, .NET, C++, PHP, and even Perl, to call the generated services. One drawback of SOAP is that it is slow because it needs to serialize all calls into a text format (XML).
You can see a list of services at http://localhost:8080/api/axis. Set the property axis.servlet.hosts.allowed in portal.properties to configure security.
The SOAP utility is only generated for remote services.
CountryServiceHttp
Constructor and Description |
---|
CountryServiceSoap()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static com.liferay.portal.kernel.model.CountrySoap |
addCountry(String a2,
String a3,
boolean active,
boolean billingAllowed,
String idd,
String name,
String number,
double position,
boolean shippingAllowed,
boolean subjectToVAT,
boolean zipRequired,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
addCountry(String name,
String a2,
String a3,
String number,
String idd,
boolean active)
Deprecated.
As of Cavanaugh (7.4.x)
|
static void |
deleteCountry(long countryId)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
fetchCountry(long countryId)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
fetchCountryByA2(long companyId,
String a2)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
fetchCountryByA2(String a2)
Deprecated.
As of Cavanaugh (7.4.x)
|
static com.liferay.portal.kernel.model.CountrySoap |
fetchCountryByA3(long companyId,
String a3)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
fetchCountryByA3(String a3)
Deprecated.
As of Cavanaugh (7.4.x)
|
static com.liferay.portal.kernel.model.CountrySoap[] |
getCompanyCountries(long companyId)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap[] |
getCompanyCountries(long companyId,
boolean active)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap[] |
getCompanyCountries(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap[] |
getCompanyCountries(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator)
Deprecated.
|
static int |
getCompanyCountriesCount(long companyId)
Deprecated.
|
static int |
getCompanyCountriesCount(long companyId,
boolean active)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap[] |
getCountries()
Deprecated.
As of Cavanaugh (7.4.x)
|
static com.liferay.portal.kernel.model.CountrySoap[] |
getCountries(boolean active)
Deprecated.
As of Cavanaugh (7.4.x)
|
static com.liferay.portal.kernel.model.CountrySoap |
getCountry(long countryId)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
getCountryByA2(long companyId,
String a2)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
getCountryByA2(String a2)
Deprecated.
As of Cavanaugh (7.4.x)
|
static com.liferay.portal.kernel.model.CountrySoap |
getCountryByA3(long companyId,
String a3)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
getCountryByA3(String a3)
Deprecated.
As of Cavanaugh (7.4.x)
|
static com.liferay.portal.kernel.model.CountrySoap |
getCountryByName(long companyId,
String name)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
getCountryByName(String name)
Deprecated.
As of Cavanaugh (7.4.x)
|
static com.liferay.portal.kernel.model.CountrySoap |
getCountryByNumber(long companyId,
String number)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
updateActive(long countryId,
boolean active)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
updateCountry(long countryId,
String a2,
String a3,
boolean active,
boolean billingAllowed,
String idd,
String name,
String number,
double position,
boolean shippingAllowed,
boolean subjectToVAT)
Deprecated.
|
static com.liferay.portal.kernel.model.CountrySoap |
updateGroupFilterEnabled(long countryId,
boolean groupFilterEnabled)
Deprecated.
|
public static com.liferay.portal.kernel.model.CountrySoap addCountry(String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT, boolean zipRequired, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws RemoteException
RemoteException
@Deprecated public static com.liferay.portal.kernel.model.CountrySoap addCountry(String name, String a2, String a3, String number, String idd, boolean active) throws RemoteException
RemoteException
public static void deleteCountry(long countryId) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap fetchCountry(long countryId) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap fetchCountryByA2(long companyId, String a2) throws RemoteException
RemoteException
@Deprecated public static com.liferay.portal.kernel.model.CountrySoap fetchCountryByA2(String a2) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap fetchCountryByA3(long companyId, String a3) throws RemoteException
RemoteException
@Deprecated public static com.liferay.portal.kernel.model.CountrySoap fetchCountryByA3(String a3) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap[] getCompanyCountries(long companyId) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap[] getCompanyCountries(long companyId, boolean active) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap[] getCompanyCountries(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap[] getCompanyCountries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) throws RemoteException
RemoteException
public static int getCompanyCountriesCount(long companyId) throws RemoteException
RemoteException
public static int getCompanyCountriesCount(long companyId, boolean active) throws RemoteException
RemoteException
@Deprecated public static com.liferay.portal.kernel.model.CountrySoap[] getCountries() throws RemoteException
RemoteException
@Deprecated public static com.liferay.portal.kernel.model.CountrySoap[] getCountries(boolean active) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap getCountry(long countryId) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap getCountryByA2(long companyId, String a2) throws RemoteException
RemoteException
@Deprecated public static com.liferay.portal.kernel.model.CountrySoap getCountryByA2(String a2) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap getCountryByA3(long companyId, String a3) throws RemoteException
RemoteException
@Deprecated public static com.liferay.portal.kernel.model.CountrySoap getCountryByA3(String a3) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap getCountryByName(long companyId, String name) throws RemoteException
RemoteException
@Deprecated public static com.liferay.portal.kernel.model.CountrySoap getCountryByName(String name) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap getCountryByNumber(long companyId, String number) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap updateActive(long countryId, boolean active) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap updateCountry(long countryId, String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.CountrySoap updateGroupFilterEnabled(long countryId, boolean groupFilterEnabled) throws RemoteException
RemoteException