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