1
22
23 package com.liferay.portal.service;
24
25
26
51 public interface OrganizationService {
52 public void addGroupOrganizations(long groupId, long[] organizationIds)
53 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
54 com.liferay.portal.PortalException;
55
56 public void addPasswordPolicyOrganizations(long passwordPolicyId,
57 long[] organizationIds)
58 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
59 com.liferay.portal.PortalException;
60
61 public com.liferay.portal.model.Organization addOrganization(
62 long parentOrganizationId, java.lang.String name, int type,
63 boolean recursable, long regionId, long countryId, int statusId,
64 java.lang.String comments)
65 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
66 com.liferay.portal.PortalException;
67
68 public void deleteOrganization(long organizationId)
69 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
70 com.liferay.portal.PortalException;
71
72 public com.liferay.portal.model.Organization getOrganization(
73 long organizationId)
74 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
75 com.liferay.portal.PortalException;
76
77 public long getOrganizationId(long companyId, java.lang.String name)
78 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
79 com.liferay.portal.PortalException;
80
81 public java.util.List getUserOrganizations(long userId)
82 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
83 com.liferay.portal.PortalException;
84
85 public void setGroupOrganizations(long groupId, long[] organizationIds)
86 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
87 com.liferay.portal.PortalException;
88
89 public void unsetGroupOrganizations(long groupId, long[] organizationIds)
90 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
91 com.liferay.portal.PortalException;
92
93 public void unsetPasswordPolicyOrganizations(long passwordPolicyId,
94 long[] organizationIds)
95 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
96 com.liferay.portal.PortalException;
97
98 public com.liferay.portal.model.Organization updateOrganization(
99 long organizationId, long parentOrganizationId, java.lang.String name,
100 int type, boolean recursable, long regionId, long countryId,
101 int statusId, java.lang.String comments)
102 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
103 com.liferay.portal.PortalException;
104 }