com.liferay.portal.service
Class OrganizationServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.OrganizationServiceWrapper
All Implemented Interfaces:
OrganizationService

public class OrganizationServiceWrapper
extends java.lang.Object
implements OrganizationService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for OrganizationService.

Author:
Brian Wing Shun Chan
See Also:
OrganizationService
Generated:

Constructor Summary
OrganizationServiceWrapper(OrganizationService organizationService)
           
 
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)
           
 OrganizationService getWrappedOrganizationService()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationServiceWrapper

public OrganizationServiceWrapper(OrganizationService organizationService)
Method Detail

addGroupOrganizations

public void addGroupOrganizations(long groupId,
                                  long[] organizationIds)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Specified by:
addGroupOrganizations in interface 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 OrganizationService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addOrganization

public 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 com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Specified by:
addOrganization in interface OrganizationService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addOrganization

public 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 com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Specified by:
addOrganization in interface OrganizationService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteLogo

public void deleteLogo(long organizationId)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Specified by:
deleteLogo in interface 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 OrganizationService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getManageableOrganizations

public java.util.List<Organization> getManageableOrganizations(java.lang.String actionId,
                                                               int max)
                                                        throws com.liferay.portal.PortalException,
                                                               com.liferay.portal.SystemException
Specified by:
getManageableOrganizations in interface OrganizationService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrganization

public Organization getOrganization(long organizationId)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Specified by:
getOrganization in interface OrganizationService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrganizationId

public long getOrganizationId(long companyId,
                              java.lang.String name)
                       throws com.liferay.portal.SystemException
Specified by:
getOrganizationId in interface OrganizationService
Throws:
com.liferay.portal.SystemException

getUserOrganizations

public java.util.List<Organization> getUserOrganizations(long userId)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Specified by:
getUserOrganizations in interface OrganizationService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserOrganizations

public java.util.List<Organization> getUserOrganizations(long userId,
                                                         boolean inheritUserGroups)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Specified by:
getUserOrganizations in interface 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 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 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 OrganizationService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateOrganization

public 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 com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Specified by:
updateOrganization in interface OrganizationService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateOrganization

public 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 com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Specified by:
updateOrganization in interface OrganizationService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedOrganizationService

public OrganizationService getWrappedOrganizationService()