com.liferay.portal.service
Class PhoneServiceWrapper
java.lang.Object
com.liferay.portal.service.PhoneServiceWrapper
- All Implemented Interfaces:
- PhoneService
public class PhoneServiceWrapper
- extends Object
- implements PhoneService
This class is a wrapper for PhoneService
.
- See Also:
PhoneService
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
Method Summary |
Phone |
addPhone(String className,
long classPK,
String number,
String extension,
int typeId,
boolean primary)
|
void |
deletePhone(long phoneId)
|
Phone |
getPhone(long phoneId)
|
List<Phone> |
getPhones(String className,
long classPK)
|
PhoneService |
getWrappedPhoneService()
|
Phone |
updatePhone(long phoneId,
String number,
String extension,
int typeId,
boolean primary)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhoneServiceWrapper
public PhoneServiceWrapper(PhoneService phoneService)
addPhone
public Phone addPhone(String className,
long classPK,
String number,
String extension,
int typeId,
boolean primary)
throws PortalException,
SystemException
- Specified by:
addPhone
in interface PhoneService
- Throws:
PortalException
SystemException
deletePhone
public void deletePhone(long phoneId)
throws PortalException,
SystemException
- Specified by:
deletePhone
in interface PhoneService
- Throws:
PortalException
SystemException
getPhone
public Phone getPhone(long phoneId)
throws PortalException,
SystemException
- Specified by:
getPhone
in interface PhoneService
- Throws:
PortalException
SystemException
getPhones
public List<Phone> getPhones(String className,
long classPK)
throws PortalException,
SystemException
- Specified by:
getPhones
in interface PhoneService
- Throws:
PortalException
SystemException
updatePhone
public Phone updatePhone(long phoneId,
String number,
String extension,
int typeId,
boolean primary)
throws PortalException,
SystemException
- Specified by:
updatePhone
in interface PhoneService
- Throws:
PortalException
SystemException
getWrappedPhoneService
public PhoneService getWrappedPhoneService()