com.liferay.portal.service.http
Class CompanyServiceSoap
java.lang.Object
com.liferay.portal.service.http.CompanyServiceSoap
public class CompanyServiceSoap
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides a SOAP utility for the
com.liferay.portal.service.CompanyServiceUtil
service
utility. The static methods of this class calls 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.model.CompanySoap
. If the method in the
service utility returns a com.liferay.portal.model.Company
,
that is translated to a com.liferay.portal.model.CompanySoap
.
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/tunnel-web/secure/axis. Set the property
tunnel.servlet.hosts.allowed
in portal.properties to configure
security.
The SOAP utility is only generated for remote services.
- Author:
- Brian Wing Shun Chan
- See Also:
CompanySoap
,
CompanyServiceUtil
,
CompanyServiceHttp
Method Summary |
static com.liferay.portal.model.CompanySoap |
addCompany(java.lang.String webId,
java.lang.String virtualHost,
java.lang.String mx,
java.lang.String shardName,
boolean system)
|
static com.liferay.portal.model.CompanySoap |
getCompanyById(long companyId)
|
static com.liferay.portal.model.CompanySoap |
getCompanyByLogoId(long logoId)
|
static com.liferay.portal.model.CompanySoap |
getCompanyByMx(java.lang.String mx)
|
static com.liferay.portal.model.CompanySoap |
getCompanyByVirtualHost(java.lang.String virtualHost)
|
static com.liferay.portal.model.CompanySoap |
getCompanyByWebId(java.lang.String webId)
|
static com.liferay.portal.model.CompanySoap |
updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx)
|
static com.liferay.portal.model.CompanySoap |
updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx,
java.lang.String homeURL,
java.lang.String name,
java.lang.String legalName,
java.lang.String legalId,
java.lang.String legalType,
java.lang.String sicCode,
java.lang.String tickerSymbol,
java.lang.String industry,
java.lang.String type,
java.lang.String size)
|
static void |
updateDisplay(long companyId,
java.lang.String languageId,
java.lang.String timeZoneId)
|
static void |
updateSecurity(long companyId,
java.lang.String authType,
boolean autoLogin,
boolean sendPassword,
boolean strangers,
boolean strangersWithMx,
boolean strangersVerify,
boolean communityLogo)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompanyServiceSoap
public CompanyServiceSoap()
addCompany
public static com.liferay.portal.model.CompanySoap addCompany(java.lang.String webId,
java.lang.String virtualHost,
java.lang.String mx,
java.lang.String shardName,
boolean system)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getCompanyById
public static com.liferay.portal.model.CompanySoap getCompanyById(long companyId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getCompanyByLogoId
public static com.liferay.portal.model.CompanySoap getCompanyByLogoId(long logoId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getCompanyByMx
public static com.liferay.portal.model.CompanySoap getCompanyByMx(java.lang.String mx)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getCompanyByVirtualHost
public static com.liferay.portal.model.CompanySoap getCompanyByVirtualHost(java.lang.String virtualHost)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getCompanyByWebId
public static com.liferay.portal.model.CompanySoap getCompanyByWebId(java.lang.String webId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
updateCompany
public static com.liferay.portal.model.CompanySoap updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
updateCompany
public static com.liferay.portal.model.CompanySoap updateCompany(long companyId,
java.lang.String virtualHost,
java.lang.String mx,
java.lang.String homeURL,
java.lang.String name,
java.lang.String legalName,
java.lang.String legalId,
java.lang.String legalType,
java.lang.String sicCode,
java.lang.String tickerSymbol,
java.lang.String industry,
java.lang.String type,
java.lang.String size)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
updateDisplay
public static void updateDisplay(long companyId,
java.lang.String languageId,
java.lang.String timeZoneId)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
updateSecurity
public static void updateSecurity(long companyId,
java.lang.String authType,
boolean autoLogin,
boolean sendPassword,
boolean strangers,
boolean strangersWithMx,
boolean strangersVerify,
boolean communityLogo)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException