Class PhoneServiceWrapper
Object
com.liferay.portal.kernel.service.PhoneServiceWrapper
- All Implemented Interfaces:
BaseService,PhoneService,ServiceWrapper<PhoneService>
public class PhoneServiceWrapper
extends Object
implements PhoneService, ServiceWrapper<PhoneService>
Provides a wrapper for
PhoneService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPhone(String externalReferenceCode, String className, long classPK, String number, String extension, long typeId, boolean primary, ServiceContext serviceContext) voiddeletePhone(long phoneId) fetchPhoneByExternalReferenceCode(String externalReferenceCode, long companyId) Returns the OSGi service identifier.getPhone(long phoneId) getPhoneByExternalReferenceCode(String externalReferenceCode, long companyId) voidsetWrappedService(PhoneService phoneService) updatePhone(String externalReferenceCode, long phoneId, String number, String extension, long typeId, boolean primary)
-
Constructor Details
-
PhoneServiceWrapper
public PhoneServiceWrapper() -
PhoneServiceWrapper
-
-
Method Details
-
addPhone
public Phone addPhone(String externalReferenceCode, String className, long classPK, String number, String extension, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException - Specified by:
addPhonein interfacePhoneService- Throws:
PortalException
-
deletePhone
- Specified by:
deletePhonein interfacePhoneService- Throws:
PortalException
-
fetchPhoneByExternalReferenceCode
public Phone fetchPhoneByExternalReferenceCode(String externalReferenceCode, long companyId) throws PortalException - Specified by:
fetchPhoneByExternalReferenceCodein interfacePhoneService- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacePhoneService- Returns:
- the OSGi service identifier
-
getPhone
- Specified by:
getPhonein interfacePhoneService- Throws:
PortalException
-
getPhoneByExternalReferenceCode
public Phone getPhoneByExternalReferenceCode(String externalReferenceCode, long companyId) throws PortalException - Specified by:
getPhoneByExternalReferenceCodein interfacePhoneService- Throws:
PortalException
-
getPhones
- Specified by:
getPhonesin interfacePhoneService- Throws:
PortalException
-
updatePhone
public Phone updatePhone(String externalReferenceCode, long phoneId, String number, String extension, long typeId, boolean primary) throws PortalException - Specified by:
updatePhonein interfacePhoneService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<PhoneService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<PhoneService>
-