@Deprecated
public class RegionServiceSoap
extends Object
RegionServiceUtil
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.RegionSoap
. If the method in the
service utility returns a
com.liferay.portal.kernel.model.Region
, that is translated to a
com.liferay.portal.kernel.model.RegionSoap
. 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.
RegionServiceHttp
Constructor and Description |
---|
RegionServiceSoap()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static com.liferay.portal.kernel.model.RegionSoap |
addRegion(long countryId,
boolean active,
String name,
double position,
String regionCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap |
addRegion(long countryId,
String regionCode,
String name,
boolean active)
Deprecated.
As of Cavanaugh (7.4.x)
|
static void |
deleteRegion(long regionId)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap |
fetchRegion(long regionId)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap |
fetchRegion(long countryId,
String regionCode)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap |
getRegion(long regionId)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap |
getRegion(long countryId,
String regionCode)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap[] |
getRegions()
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap[] |
getRegions(boolean active)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap[] |
getRegions(long countryId)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap[] |
getRegions(long countryId,
boolean active)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap[] |
getRegions(long countryId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region> orderByComparator)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap[] |
getRegions(long countryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region> orderByComparator)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap[] |
getRegions(long companyId,
String a2,
boolean active)
Deprecated.
|
static int |
getRegionsCount(long countryId)
Deprecated.
|
static int |
getRegionsCount(long countryId,
boolean active)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap |
updateActive(long regionId,
boolean active)
Deprecated.
|
static com.liferay.portal.kernel.model.RegionSoap |
updateRegion(long regionId,
boolean active,
String name,
double position,
String regionCode)
Deprecated.
|
public static com.liferay.portal.kernel.model.RegionSoap addRegion(long countryId, boolean active, String name, double position, String regionCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws RemoteException
RemoteException
@Deprecated public static com.liferay.portal.kernel.model.RegionSoap addRegion(long countryId, String regionCode, String name, boolean active) throws RemoteException
RemoteException
public static void deleteRegion(long regionId) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap fetchRegion(long regionId) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap fetchRegion(long countryId, String regionCode) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap getRegion(long regionId) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap getRegion(long countryId, String regionCode) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap[] getRegions() throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap[] getRegions(boolean active) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap[] getRegions(long countryId) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap[] getRegions(long countryId, boolean active) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap[] getRegions(long countryId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region> orderByComparator) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap[] getRegions(long countryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Region> orderByComparator) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap[] getRegions(long companyId, String a2, boolean active) throws RemoteException
RemoteException
public static int getRegionsCount(long countryId) throws RemoteException
RemoteException
public static int getRegionsCount(long countryId, boolean active) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap updateActive(long regionId, boolean active) throws RemoteException
RemoteException
public static com.liferay.portal.kernel.model.RegionSoap updateRegion(long regionId, boolean active, String name, double position, String regionCode) throws RemoteException
RemoteException