com.liferay.portal.service.impl
Class OrganizationServiceImpl
java.lang.Object
com.liferay.portal.service.impl.PrincipalBean
com.liferay.portal.service.impl.OrganizationServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.service.OrganizationService
- public class OrganizationServiceImpl
- extends PrincipalBean
- implements com.liferay.portal.service.OrganizationService
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
addGroupOrganizations(long groupId,
long[] organizationIds)
|
com.liferay.portal.model.Organization |
addOrganization(long parentOrganizationId,
java.lang.String name,
boolean location,
boolean recursable,
long regionId,
long countryId,
int statusId)
|
void |
addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
|
protected void |
checkPermission(long organizationId,
java.lang.String actionId)
|
void |
deleteOrganization(long organizationId)
|
com.liferay.portal.model.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)
|
com.liferay.portal.model.Organization |
updateOrganization(long organizationId,
long parentOrganizationId,
java.lang.String name,
boolean location,
boolean recursable,
long regionId,
long countryId,
int statusId)
|
com.liferay.portal.model.Organization |
updateOrganization(long organizationId,
java.lang.String comments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrganizationServiceImpl
public OrganizationServiceImpl()
addGroupOrganizations
public void addGroupOrganizations(long groupId,
long[] organizationIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addGroupOrganizations
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addPasswordPolicyOrganizations
public void addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addPasswordPolicyOrganizations
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addOrganization
public com.liferay.portal.model.Organization addOrganization(long parentOrganizationId,
java.lang.String name,
boolean location,
boolean recursable,
long regionId,
long countryId,
int statusId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addOrganization
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteOrganization
public void deleteOrganization(long organizationId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteOrganization
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getOrganization
public com.liferay.portal.model.Organization getOrganization(long organizationId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getOrganization
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getOrganizationId
public long getOrganizationId(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getOrganizationId
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserOrganizations
public java.util.List getUserOrganizations(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getUserOrganizations
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
setGroupOrganizations
public void setGroupOrganizations(long groupId,
long[] organizationIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
setGroupOrganizations
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsetGroupOrganizations
public void unsetGroupOrganizations(long groupId,
long[] organizationIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
unsetGroupOrganizations
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsetPasswordPolicyOrganizations
public void unsetPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
unsetPasswordPolicyOrganizations
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateOrganization
public com.liferay.portal.model.Organization updateOrganization(long organizationId,
long parentOrganizationId,
java.lang.String name,
boolean location,
boolean recursable,
long regionId,
long countryId,
int statusId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateOrganization
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateOrganization
public com.liferay.portal.model.Organization updateOrganization(long organizationId,
java.lang.String comments)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateOrganization
in interface com.liferay.portal.service.OrganizationService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkPermission
protected void checkPermission(long organizationId,
java.lang.String actionId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException