com.liferay.portal.service.http
Class CompanyServiceSoap
java.lang.Object
com.liferay.portal.service.http.CompanyServiceSoap
public class CompanyServiceSoap
- extends Object
This class provides a SOAP utility for the
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 List
, that
is translated to an array of CompanySoap
.
If the method in the service utility returns a
Company
, that is translated to a
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.
- See Also:
CompanyServiceHttp
,
CompanySoap
,
CompanyServiceUtil
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
static CompanySoap |
addCompany(String webId,
String virtualHost,
String mx,
String shardName,
boolean system,
int maxUsers)
|
static void |
deleteLogo(long companyId)
|
static CompanySoap |
getCompanyById(long companyId)
|
static CompanySoap |
getCompanyByLogoId(long logoId)
|
static CompanySoap |
getCompanyByMx(String mx)
|
static CompanySoap |
getCompanyByVirtualHost(String virtualHost)
|
static CompanySoap |
getCompanyByWebId(String webId)
|
static void |
removePreferences(long companyId,
String[] keys)
|
static CompanySoap |
updateCompany(long companyId,
String virtualHost,
String mx,
int maxUsers)
|
static CompanySoap |
updateCompany(long companyId,
String virtualHost,
String mx,
String homeURL,
String name,
String legalName,
String legalId,
String legalType,
String sicCode,
String tickerSymbol,
String industry,
String type,
String size)
|
static void |
updateDisplay(long companyId,
String languageId,
String timeZoneId)
|
static void |
updateSecurity(long companyId,
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 CompanySoap addCompany(String webId,
String virtualHost,
String mx,
String shardName,
boolean system,
int maxUsers)
throws RemoteException
- Throws:
RemoteException
deleteLogo
public static void deleteLogo(long companyId)
throws RemoteException
- Throws:
RemoteException
getCompanyById
public static CompanySoap getCompanyById(long companyId)
throws RemoteException
- Throws:
RemoteException
getCompanyByLogoId
public static CompanySoap getCompanyByLogoId(long logoId)
throws RemoteException
- Throws:
RemoteException
getCompanyByMx
public static CompanySoap getCompanyByMx(String mx)
throws RemoteException
- Throws:
RemoteException
getCompanyByVirtualHost
public static CompanySoap getCompanyByVirtualHost(String virtualHost)
throws RemoteException
- Throws:
RemoteException
getCompanyByWebId
public static CompanySoap getCompanyByWebId(String webId)
throws RemoteException
- Throws:
RemoteException
removePreferences
public static void removePreferences(long companyId,
String[] keys)
throws RemoteException
- Throws:
RemoteException
updateCompany
public static CompanySoap updateCompany(long companyId,
String virtualHost,
String mx,
int maxUsers)
throws RemoteException
- Throws:
RemoteException
updateCompany
public static CompanySoap updateCompany(long companyId,
String virtualHost,
String mx,
String homeURL,
String name,
String legalName,
String legalId,
String legalType,
String sicCode,
String tickerSymbol,
String industry,
String type,
String size)
throws RemoteException
- Throws:
RemoteException
updateDisplay
public static void updateDisplay(long companyId,
String languageId,
String timeZoneId)
throws RemoteException
- Throws:
RemoteException
updateSecurity
public static void updateSecurity(long companyId,
String authType,
boolean autoLogin,
boolean sendPassword,
boolean strangers,
boolean strangersWithMx,
boolean strangersVerify,
boolean communityLogo)
throws RemoteException
- Throws:
RemoteException