com.liferay.portal.service
Interface OrganizationService
- All Known Implementing Classes:
- OrganizationServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
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:
OrganizationServiceUtil
- Generated:
Method Summary |
void |
addGroupOrganizations(long groupId,
long[] organizationIds)
|
Organization |
addOrganization(long parentOrganizationId,
java.lang.String name,
java.lang.String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments,
java.util.List<Address> addresses,
java.util.List<EmailAddress> emailAddresses,
java.util.List<OrgLabor> orgLabors,
java.util.List<Phone> phones,
java.util.List<Website> websites,
ServiceContext serviceContext)
|
Organization |
addOrganization(long parentOrganizationId,
java.lang.String name,
java.lang.String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments,
ServiceContext serviceContext)
|
void |
addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
|
void |
deleteLogo(long organizationId)
|
void |
deleteOrganization(long organizationId)
|
java.util.List<Organization> |
getManageableOrganizations(java.lang.String actionId,
int max)
|
Organization |
getOrganization(long organizationId)
|
long |
getOrganizationId(long companyId,
java.lang.String name)
|
java.util.List<Organization> |
getUserOrganizations(long userId)
|
java.util.List<Organization> |
getUserOrganizations(long userId,
boolean inheritUserGroups)
|
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,
java.lang.String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments,
java.util.List<Address> addresses,
java.util.List<EmailAddress> emailAddresses,
java.util.List<OrgLabor> orgLabors,
java.util.List<Phone> phones,
java.util.List<Website> websites,
ServiceContext serviceContext)
|
Organization |
updateOrganization(long organizationId,
long parentOrganizationId,
java.lang.String name,
java.lang.String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments,
ServiceContext serviceContext)
|
addGroupOrganizations
void addGroupOrganizations(long groupId,
long[] organizationIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addPasswordPolicyOrganizations
void addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addOrganization
Organization addOrganization(long parentOrganizationId,
java.lang.String name,
java.lang.String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addOrganization
Organization addOrganization(long parentOrganizationId,
java.lang.String name,
java.lang.String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments,
java.util.List<Address> addresses,
java.util.List<EmailAddress> emailAddresses,
java.util.List<OrgLabor> orgLabors,
java.util.List<Phone> phones,
java.util.List<Website> websites,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLogo
void deleteLogo(long organizationId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteOrganization
void deleteOrganization(long organizationId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getManageableOrganizations
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> getManageableOrganizations(java.lang.String actionId,
int max)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOrganization
@Transactional(propagation=SUPPORTS,
readOnly=true)
Organization getOrganization(long organizationId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOrganizationId
@Transactional(propagation=SUPPORTS,
readOnly=true)
long getOrganizationId(long companyId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
getUserOrganizations
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> getUserOrganizations(long userId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserOrganizations
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Organization> getUserOrganizations(long userId,
boolean inheritUserGroups)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setGroupOrganizations
void setGroupOrganizations(long groupId,
long[] organizationIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsetGroupOrganizations
void unsetGroupOrganizations(long groupId,
long[] organizationIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsetPasswordPolicyOrganizations
void unsetPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateOrganization
Organization updateOrganization(long organizationId,
long parentOrganizationId,
java.lang.String name,
java.lang.String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateOrganization
Organization updateOrganization(long organizationId,
long parentOrganizationId,
java.lang.String name,
java.lang.String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
java.lang.String comments,
java.util.List<Address> addresses,
java.util.List<EmailAddress> emailAddresses,
java.util.List<OrgLabor> orgLabors,
java.util.List<Phone> phones,
java.util.List<Website> websites,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException