001
014
015 package com.liferay.portal.service;
016
017
026 public class PhoneServiceWrapper implements PhoneService,
027 ServiceWrapper<PhoneService> {
028 public PhoneServiceWrapper(PhoneService phoneService) {
029 _phoneService = phoneService;
030 }
031
032
037 public java.lang.String getBeanIdentifier() {
038 return _phoneService.getBeanIdentifier();
039 }
040
041
046 public void setBeanIdentifier(java.lang.String beanIdentifier) {
047 _phoneService.setBeanIdentifier(beanIdentifier);
048 }
049
050 public com.liferay.portal.model.Phone addPhone(java.lang.String className,
051 long classPK, java.lang.String number, java.lang.String extension,
052 int typeId, boolean primary)
053 throws com.liferay.portal.kernel.exception.PortalException,
054 com.liferay.portal.kernel.exception.SystemException {
055 return _phoneService.addPhone(className, classPK, number, extension,
056 typeId, primary);
057 }
058
059 public void deletePhone(long phoneId)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException {
062 _phoneService.deletePhone(phoneId);
063 }
064
065 public com.liferay.portal.model.Phone getPhone(long phoneId)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 return _phoneService.getPhone(phoneId);
069 }
070
071 public java.util.List<com.liferay.portal.model.Phone> getPhones(
072 java.lang.String className, long classPK)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _phoneService.getPhones(className, classPK);
076 }
077
078 public com.liferay.portal.model.Phone updatePhone(long phoneId,
079 java.lang.String number, java.lang.String extension, int typeId,
080 boolean primary)
081 throws com.liferay.portal.kernel.exception.PortalException,
082 com.liferay.portal.kernel.exception.SystemException {
083 return _phoneService.updatePhone(phoneId, number, extension, typeId,
084 primary);
085 }
086
087
090 public PhoneService getWrappedPhoneService() {
091 return _phoneService;
092 }
093
094
097 public void setWrappedPhoneService(PhoneService phoneService) {
098 _phoneService = phoneService;
099 }
100
101 public PhoneService getWrappedService() {
102 return _phoneService;
103 }
104
105 public void setWrappedService(PhoneService phoneService) {
106 _phoneService = phoneService;
107 }
108
109 private PhoneService _phoneService;
110 }