com.liferay.portal.service
Class PhoneServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.PhoneServiceWrapper
All Implemented Interfaces:
PhoneService

public class PhoneServiceWrapper
extends java.lang.Object
implements PhoneService

View Source

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

This class is a wrapper for PhoneService.

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

Constructor Summary
PhoneServiceWrapper(PhoneService phoneService)
           
 
Method Summary
 Phone addPhone(java.lang.String className, long classPK, java.lang.String number, java.lang.String extension, int typeId, boolean primary)
           
 void deletePhone(long phoneId)
           
 Phone getPhone(long phoneId)
           
 java.util.List<Phone> getPhones(java.lang.String className, long classPK)
           
 PhoneService getWrappedPhoneService()
           
 Phone updatePhone(long phoneId, java.lang.String number, java.lang.String extension, int typeId, boolean primary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhoneServiceWrapper

public PhoneServiceWrapper(PhoneService phoneService)
Method Detail

addPhone

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

deletePhone

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

getPhone

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

getPhones

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

updatePhone

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

getWrappedPhoneService

public PhoneService getWrappedPhoneService()