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 |
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
public 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
public 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
public 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
public 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
public 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
public 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
public java.util.List 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
public 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
public 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
public 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
public 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