com.liferay.portal.service
Interface OrganizationService
public interface OrganizationService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.OrganizationServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
OrganizationServiceFactory
,
OrganizationServiceUtil
Method Summary |
void |
addGroupOrganizations(long groupId,
long[] organizationIds)
|
Organization |
addOrganization(long parentOrganizationId,
java.lang.String name,
int type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments)
|
void |
addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
|
void |
deleteOrganization(long organizationId)
|
Organization |
getOrganization(long organizationId)
|
long |
getOrganizationId(long companyId,
java.lang.String name)
|
java.util.List<Organization> |
getUserOrganizations(long userId)
|
void |
setGroupOrganizations(long groupId,
long[] organizationIds)
|
void |
unsetGroupOrganizations(long groupId,
long[] organizationIds)
|
void |
unsetPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
|
Organization |
updateOrganization(long organizationId,
long parentOrganizationId,
java.lang.String name,
int type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments)
|
addGroupOrganizations
void addGroupOrganizations(long groupId,
long[] organizationIds)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addPasswordPolicyOrganizations
void addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addOrganization
Organization addOrganization(long parentOrganizationId,
java.lang.String name,
int type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteOrganization
void deleteOrganization(long organizationId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getOrganization
Organization getOrganization(long organizationId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getOrganizationId
long getOrganizationId(long companyId,
java.lang.String name)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getUserOrganizations
java.util.List<Organization> getUserOrganizations(long userId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
setGroupOrganizations
void setGroupOrganizations(long groupId,
long[] organizationIds)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsetGroupOrganizations
void unsetGroupOrganizations(long groupId,
long[] organizationIds)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsetPasswordPolicyOrganizations
void unsetPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateOrganization
Organization updateOrganization(long organizationId,
long parentOrganizationId,
java.lang.String name,
int type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException