com.liferay.portal.service
Interface OrganizationService
- All Known Implementing Classes:
- OrganizationServiceBaseImpl, OrganizationServiceImpl, OrganizationServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface OrganizationService
The interface for the organization remote service.
Never modify or reference this interface directly. Always use OrganizationServiceUtil
to access the organization remote service. Add custom service methods to OrganizationServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
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.
- See Also:
OrganizationServiceUtil
,
OrganizationServiceBaseImpl
,
OrganizationServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
void |
addGroupOrganizations(long groupId,
long[] organizationIds)
|
Organization |
addOrganization(long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
|
Organization |
addOrganization(long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
|
void |
addPasswordPolicyOrganizations(long passwordPolicyId,
long[] organizationIds)
|
void |
deleteLogo(long organizationId)
|
void |
deleteOrganization(long organizationId)
|
List<Organization> |
getManageableOrganizations(String actionId,
int max)
|
Organization |
getOrganization(long organizationId)
|
long |
getOrganizationId(long companyId,
String name)
|
List<Organization> |
getUserOrganizations(long userId)
|
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,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
|
Organization |
updateOrganization(long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
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,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addOrganization
Organization addOrganization(long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
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)
List<Organization> getManageableOrganizations(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,
String name)
throws SystemException
- Throws:
SystemException
getUserOrganizations
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Organization> getUserOrganizations(long userId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserOrganizations
@Transactional(propagation=SUPPORTS,
readOnly=true)
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,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateOrganization
Organization updateOrganization(long organizationId,
long parentOrganizationId,
String name,
String type,
boolean recursable,
long regionId,
long countryId,
int statusId,
String comments,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<OrgLabor> orgLabors,
List<Phone> phones,
List<Website> websites,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException