com.liferay.portal.service.http
Class OrganizationServiceSoap
java.lang.Object
com.liferay.portal.service.http.OrganizationServiceSoap
public class OrganizationServiceSoap
- extends Object
This class provides a SOAP utility for the
OrganizationServiceUtil
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 OrganizationSoap
.
If the method in the service utility returns a
Organization
, that is translated to a
OrganizationSoap
. 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:
OrganizationServiceHttp
,
OrganizationSoap
,
OrganizationServiceUtil
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
static void |
addGroupOrganizations(long groupId,
long[] organizationIds)
|
static OrganizationSoap |
addOrganization(long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
AddressSoap[] addresses,
EmailAddressSoap[] emailAddresses,
OrgLaborSoap[] orgLabors,
PhoneSoap[] phones,
WebsiteSoap[] websites,
ServiceContext serviceContext)
|
static OrganizationSoap |
addOrganization(long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
|
static void |
addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
|
static void |
deleteLogo(long organizationId)
|
static void |
deleteOrganization(long organizationId)
|
static OrganizationSoap[] |
getManageableOrganizations(String actionId,
int max)
|
static OrganizationSoap |
getOrganization(long organizationId)
|
static long |
getOrganizationId(long companyId,
String name)
|
static OrganizationSoap[] |
getUserOrganizations(long userId)
|
static OrganizationSoap[] |
getUserOrganizations(long userId,
boolean inheritUserGroups)
|
static void |
setGroupOrganizations(long groupId,
long[] organizationIds)
|
static void |
unsetGroupOrganizations(long groupId,
long[] organizationIds)
|
static void |
unsetPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
|
static OrganizationSoap |
updateOrganization(long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
AddressSoap[] addresses,
EmailAddressSoap[] emailAddresses,
OrgLaborSoap[] orgLabors,
PhoneSoap[] phones,
WebsiteSoap[] websites,
ServiceContext serviceContext)
|
static OrganizationSoap |
updateOrganization(long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrganizationServiceSoap
public OrganizationServiceSoap()
addGroupOrganizations
public static void addGroupOrganizations(long groupId,
long[] organizationIds)
throws RemoteException
- Throws:
RemoteException
addPasswordPolicyOrganizations
public static void addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
throws RemoteException
- Throws:
RemoteException
addOrganization
public static OrganizationSoap addOrganization(long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
throws RemoteException
- Throws:
RemoteException
addOrganization
public static OrganizationSoap addOrganization(long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
AddressSoap[] addresses,
EmailAddressSoap[] emailAddresses,
OrgLaborSoap[] orgLabors,
PhoneSoap[] phones,
WebsiteSoap[] websites,
ServiceContext serviceContext)
throws RemoteException
- Throws:
RemoteException
deleteLogo
public static void deleteLogo(long organizationId)
throws RemoteException
- Throws:
RemoteException
deleteOrganization
public static void deleteOrganization(long organizationId)
throws RemoteException
- Throws:
RemoteException
getManageableOrganizations
public static OrganizationSoap[] getManageableOrganizations(String actionId,
int max)
throws RemoteException
- Throws:
RemoteException
getOrganization
public static OrganizationSoap getOrganization(long organizationId)
throws RemoteException
- Throws:
RemoteException
getOrganizationId
public static long getOrganizationId(long companyId,
String name)
throws RemoteException
- Throws:
RemoteException
getUserOrganizations
public static OrganizationSoap[] getUserOrganizations(long userId)
throws RemoteException
- Throws:
RemoteException
getUserOrganizations
public static OrganizationSoap[] getUserOrganizations(long userId,
boolean inheritUserGroups)
throws RemoteException
- Throws:
RemoteException
setGroupOrganizations
public static void setGroupOrganizations(long groupId,
long[] organizationIds)
throws RemoteException
- Throws:
RemoteException
unsetGroupOrganizations
public static void unsetGroupOrganizations(long groupId,
long[] organizationIds)
throws RemoteException
- Throws:
RemoteException
unsetPasswordPolicyOrganizations
public static void unsetPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
throws RemoteException
- Throws:
RemoteException
updateOrganization
public static OrganizationSoap updateOrganization(long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
throws RemoteException
- Throws:
RemoteException
updateOrganization
public static OrganizationSoap updateOrganization(long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
AddressSoap[] addresses,
EmailAddressSoap[] emailAddresses,
OrgLaborSoap[] orgLabors,
PhoneSoap[] phones,
WebsiteSoap[] websites,
ServiceContext serviceContext)
throws RemoteException
- Throws:
RemoteException