@ProviderType public class PhoneServiceWrapper extends java.lang.Object implements PhoneService, ServiceWrapper<PhoneService>
PhoneService.PhoneService| Constructor and Description |
|---|
PhoneServiceWrapper(PhoneService phoneService) |
| Modifier and Type | Method and Description |
|---|---|
Phone |
addPhone(java.lang.String className,
long classPK,
java.lang.String number,
java.lang.String extension,
long typeId,
boolean primary)
Deprecated.
As of 6.2.0, replaced by
#addPhone(String, long,
String, String, int, boolean, ServiceContext) |
Phone |
addPhone(java.lang.String className,
long classPK,
java.lang.String number,
java.lang.String extension,
long typeId,
boolean primary,
ServiceContext serviceContext) |
void |
deletePhone(long phoneId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
Phone |
getPhone(long phoneId) |
java.util.List<Phone> |
getPhones(java.lang.String className,
long classPK) |
PhoneService |
getWrappedPhoneService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
PhoneService |
getWrappedService() |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedPhoneService(PhoneService phoneService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portal.service.PhoneService) |
void |
setWrappedService(PhoneService phoneService) |
Phone |
updatePhone(long phoneId,
java.lang.String number,
java.lang.String extension,
long typeId,
boolean primary) |
public PhoneServiceWrapper(PhoneService phoneService)
@Deprecated public Phone addPhone(java.lang.String className, long classPK, java.lang.String number, java.lang.String extension, long typeId, boolean primary) throws PortalException
#addPhone(String, long,
String, String, int, boolean, ServiceContext)addPhone in interface PhoneServicePortalExceptionpublic Phone addPhone(java.lang.String className, long classPK, java.lang.String number, java.lang.String extension, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
addPhone in interface PhoneServicePortalExceptionpublic void deletePhone(long phoneId)
throws PortalException
deletePhone in interface PhoneServicePortalExceptionpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface PhoneServicepublic Phone getPhone(long phoneId) throws PortalException
getPhone in interface PhoneServicePortalExceptionpublic java.util.List<Phone> getPhones(java.lang.String className, long classPK) throws PortalException
getPhones in interface PhoneServicePortalExceptionpublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface PhoneServicebeanIdentifier - the Spring bean ID for this beanpublic Phone updatePhone(long phoneId, java.lang.String number, java.lang.String extension, long typeId, boolean primary) throws PortalException
updatePhone in interface PhoneServicePortalException@Deprecated public PhoneService getWrappedPhoneService()
getWrappedService()@Deprecated public void setWrappedPhoneService(PhoneService phoneService)
setWrappedService(com.liferay.portal.service.PhoneService)public PhoneService getWrappedService()
getWrappedService in interface ServiceWrapper<PhoneService>public void setWrappedService(PhoneService phoneService)
setWrappedService in interface ServiceWrapper<PhoneService>