|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.http.OrganizationServiceHttp
public class OrganizationServiceHttp
Provides the HTTP 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 requires an additional
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.
OrganizationServiceSoap,
HttpPrincipal,
OrganizationServiceUtil| Constructor Summary | |
|---|---|
OrganizationServiceHttp()
|
|
| Method Summary | |
|---|---|
static void |
addGroupOrganizations(HttpPrincipal httpPrincipal,
long groupId,
long[] organizationIds)
|
static Organization |
addOrganization(HttpPrincipal httpPrincipal,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
|
static Organization |
addOrganization(HttpPrincipal httpPrincipal,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
ServiceContext serviceContext)
|
static Organization |
addOrganization(HttpPrincipal httpPrincipal,
long parentOrganizationId,
String name,
String type,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
|
static Organization |
addOrganization(HttpPrincipal httpPrincipal,
long parentOrganizationId,
String name,
String type,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
ServiceContext serviceContext)
|
static void |
addPasswordPolicyOrganizations(HttpPrincipal httpPrincipal,
long passwordPolicyId,
long[] organizationIds)
|
static void |
deleteLogo(HttpPrincipal httpPrincipal,
long organizationId)
|
static void |
deleteOrganization(HttpPrincipal httpPrincipal,
long organizationId)
|
static List<Organization> |
getManageableOrganizations(HttpPrincipal httpPrincipal,
String actionId,
int max)
|
static Organization |
getOrganization(HttpPrincipal httpPrincipal,
long organizationId)
|
static long |
getOrganizationId(HttpPrincipal httpPrincipal,
long companyId,
String name)
|
static List<Organization> |
getOrganizations(HttpPrincipal httpPrincipal,
long companyId,
long parentOrganizationId)
|
static List<Organization> |
getOrganizations(HttpPrincipal httpPrincipal,
long companyId,
long parentOrganizationId,
int start,
int end)
|
static int |
getOrganizationsCount(HttpPrincipal httpPrincipal,
long companyId,
long parentOrganizationId)
|
static List<Organization> |
getUserOrganizations(HttpPrincipal httpPrincipal,
long userId)
|
static void |
setGroupOrganizations(HttpPrincipal httpPrincipal,
long groupId,
long[] organizationIds)
|
static void |
unsetGroupOrganizations(HttpPrincipal httpPrincipal,
long groupId,
long[] organizationIds)
|
static void |
unsetPasswordPolicyOrganizations(HttpPrincipal httpPrincipal,
long passwordPolicyId,
long[] organizationIds)
|
static Organization |
updateOrganization(HttpPrincipal httpPrincipal,
long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
|
static Organization |
updateOrganization(HttpPrincipal httpPrincipal,
long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
ServiceContext serviceContext)
|
static Organization |
updateOrganization(HttpPrincipal httpPrincipal,
long organizationId,
long parentOrganizationId,
String name,
String type,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
|
static Organization |
updateOrganization(HttpPrincipal httpPrincipal,
long organizationId,
long parentOrganizationId,
String name,
String type,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
ServiceContext serviceContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrganizationServiceHttp()
| Method Detail |
|---|
public static void addGroupOrganizations(HttpPrincipal httpPrincipal,
long groupId,
long[] organizationIds)
throws PortalException,
SystemException
PortalException
SystemException
public static Organization addOrganization(HttpPrincipal httpPrincipal,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Organization addOrganization(HttpPrincipal httpPrincipal,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Organization addOrganization(HttpPrincipal httpPrincipal,
long parentOrganizationId,
String name,
String type,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Organization addOrganization(HttpPrincipal httpPrincipal,
long parentOrganizationId,
String name,
String type,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static void addPasswordPolicyOrganizations(HttpPrincipal httpPrincipal,
long passwordPolicyId,
long[] organizationIds)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteLogo(HttpPrincipal httpPrincipal,
long organizationId)
throws PortalException,
SystemException
PortalException
SystemException
public static void deleteOrganization(HttpPrincipal httpPrincipal,
long organizationId)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Organization> getManageableOrganizations(HttpPrincipal httpPrincipal,
String actionId,
int max)
throws PortalException,
SystemException
PortalException
SystemException
public static Organization getOrganization(HttpPrincipal httpPrincipal,
long organizationId)
throws PortalException,
SystemException
PortalException
SystemException
public static long getOrganizationId(HttpPrincipal httpPrincipal,
long companyId,
String name)
throws PortalException,
SystemException
PortalException
SystemException
public static List<Organization> getOrganizations(HttpPrincipal httpPrincipal,
long companyId,
long parentOrganizationId)
throws SystemException
SystemException
public static List<Organization> getOrganizations(HttpPrincipal httpPrincipal,
long companyId,
long parentOrganizationId,
int start,
int end)
throws SystemException
SystemException
public static int getOrganizationsCount(HttpPrincipal httpPrincipal,
long companyId,
long parentOrganizationId)
throws SystemException
SystemException
public static List<Organization> getUserOrganizations(HttpPrincipal httpPrincipal,
long userId)
throws PortalException,
SystemException
PortalException
SystemException
public static void setGroupOrganizations(HttpPrincipal httpPrincipal,
long groupId,
long[] organizationIds)
throws PortalException,
SystemException
PortalException
SystemException
public static void unsetGroupOrganizations(HttpPrincipal httpPrincipal,
long groupId,
long[] organizationIds)
throws PortalException,
SystemException
PortalException
SystemException
public static void unsetPasswordPolicyOrganizations(HttpPrincipal httpPrincipal,
long passwordPolicyId,
long[] organizationIds)
throws PortalException,
SystemException
PortalException
SystemException
public static Organization updateOrganization(HttpPrincipal httpPrincipal,
long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Organization updateOrganization(HttpPrincipal httpPrincipal,
long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Organization updateOrganization(HttpPrincipal httpPrincipal,
long organizationId,
long parentOrganizationId,
String name,
String type,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
public static Organization updateOrganization(HttpPrincipal httpPrincipal,
long organizationId,
long parentOrganizationId,
String name,
String type,
long regionId,
long countryId,
int statusId,
String comments,
boolean site,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||