com.liferay.portal.service
Class PhoneLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.PhoneLocalServiceWrapper
All Implemented Interfaces:
PhoneLocalService

public class PhoneLocalServiceWrapper
extends java.lang.Object
implements PhoneLocalService

View Source

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

This class is a wrapper for PhoneLocalService.

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

Constructor Summary
PhoneLocalServiceWrapper(PhoneLocalService phoneLocalService)
           
 
Method Summary
 Phone addPhone(long userId, java.lang.String className, long classPK, java.lang.String number, java.lang.String extension, int typeId, boolean primary)
           
 Phone addPhone(Phone phone)
           
 Phone createPhone(long phoneId)
           
 void deletePhone(long phoneId)
           
 void deletePhone(Phone phone)
           
 void deletePhones(long companyId, java.lang.String className, long classPK)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 Phone getPhone(long phoneId)
           
 java.util.List<Phone> getPhones()
           
 java.util.List<Phone> getPhones(int start, int end)
           
 java.util.List<Phone> getPhones(long companyId, java.lang.String className, long classPK)
           
 int getPhonesCount()
           
 PhoneLocalService getWrappedPhoneLocalService()
           
 Phone updatePhone(long phoneId, java.lang.String number, java.lang.String extension, int typeId, boolean primary)
           
 Phone updatePhone(Phone phone)
           
 Phone updatePhone(Phone phone, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhoneLocalServiceWrapper

public PhoneLocalServiceWrapper(PhoneLocalService phoneLocalService)
Method Detail

addPhone

public Phone addPhone(Phone phone)
               throws com.liferay.portal.kernel.exception.SystemException
Specified by:
addPhone in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

createPhone

public Phone createPhone(long phoneId)
Specified by:
createPhone in interface PhoneLocalService

deletePhone

public void deletePhone(long phoneId)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Specified by:
deletePhone in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deletePhone

public void deletePhone(Phone phone)
                 throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deletePhone in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPhone

public Phone getPhone(long phoneId)
               throws com.liferay.portal.kernel.exception.PortalException,
                      com.liferay.portal.kernel.exception.SystemException
Specified by:
getPhone in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getPhones

public java.util.List<Phone> getPhones(int start,
                                       int end)
                                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPhones in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPhonesCount

public int getPhonesCount()
                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPhonesCount in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updatePhone

public Phone updatePhone(Phone phone)
                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updatePhone in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updatePhone

public Phone updatePhone(Phone phone,
                         boolean merge)
                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updatePhone in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

addPhone

public Phone addPhone(long userId,
                      java.lang.String className,
                      long classPK,
                      java.lang.String number,
                      java.lang.String extension,
                      int typeId,
                      boolean primary)
               throws com.liferay.portal.kernel.exception.PortalException,
                      com.liferay.portal.kernel.exception.SystemException
Specified by:
addPhone in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deletePhones

public void deletePhones(long companyId,
                         java.lang.String className,
                         long classPK)
                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deletePhones in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPhones

public java.util.List<Phone> getPhones()
                                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPhones in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getPhones

public java.util.List<Phone> getPhones(long companyId,
                                       java.lang.String className,
                                       long classPK)
                                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getPhones in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updatePhone

public Phone updatePhone(long phoneId,
                         java.lang.String number,
                         java.lang.String extension,
                         int typeId,
                         boolean primary)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
updatePhone in interface PhoneLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedPhoneLocalService

public PhoneLocalService getWrappedPhoneLocalService()