| java.lang.Object com.liferay.portal.service.http.CompanyServiceHttp
CompanyServiceHttp | public class CompanyServiceHttp (Code) | | View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides a HTTP 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 requires an
additional com.liferay.portal.security.auth.HttpPrincipal
parameter.
The benefits of using the HTTP utility is that it is fast and allows for
tunneling without the cost of serializing to text. The drawback is that it
only works with Java.
Set the property tunnel.servlet.hosts.allowed in
portal.properties to configure security.
The HTTP utility is only generated for remote services.
author: Brian Wing Shun Chan See Also: com.liferay.portal.security.auth.HttpPrincipal See Also: com.liferay.portal.service.CompanyServiceUtil See Also: com.liferay.portal.service.http.CompanyServiceSoap |
Method Summary | |
public static com.liferay.portal.model.Company | addCompany(HttpPrincipal httpPrincipal, java.lang.String webId, java.lang.String virtualHost, java.lang.String mx) | public static com.liferay.portal.model.Company | updateCompany(HttpPrincipal httpPrincipal, long companyId, java.lang.String virtualHost, java.lang.String mx) | public static com.liferay.portal.model.Company | updateCompany(HttpPrincipal httpPrincipal, long companyId, java.lang.String virtualHost, java.lang.String mx, 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) | public static void | updateDisplay(HttpPrincipal httpPrincipal, long companyId, java.lang.String languageId, java.lang.String timeZoneId) | public static void | updateLogo(HttpPrincipal httpPrincipal, long companyId, java.io.File file) | public static void | updateSecurity(HttpPrincipal httpPrincipal, long companyId, java.lang.String authType, boolean autoLogin, boolean sendPassword, boolean strangers, boolean strangersWithMx, boolean strangersVerify, boolean communityLogo) |
updateCompany | public static com.liferay.portal.model.Company updateCompany(HttpPrincipal httpPrincipal, long companyId, java.lang.String virtualHost, java.lang.String mx, 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 com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
|
|