com.liferay.portal.service
Class PhoneServiceWrapper
java.lang.Object
com.liferay.portal.service.PhoneServiceWrapper
- All Implemented Interfaces:
- BaseService, PhoneService, ServiceWrapper<PhoneService>
@ProviderType
public class PhoneServiceWrapper
- extends Object
- implements PhoneService, ServiceWrapper<PhoneService>
Provides a wrapper for PhoneService.
- See Also:
PhoneService
|
Method Summary |
Phone |
addPhone(String className,
long classPK,
String number,
String extension,
long typeId,
boolean primary)
Deprecated. As of 6.2.0, replaced by #addPhone(String, long,
String, String, int, boolean, ServiceContext) |
Phone |
addPhone(String className,
long classPK,
String number,
String extension,
long typeId,
boolean primary,
ServiceContext serviceContext)
|
void |
deletePhone(long phoneId)
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
Phone |
getPhone(long phoneId)
|
List<Phone> |
getPhones(String className,
long classPK)
|
PhoneService |
getWrappedService()
|
void |
setWrappedService(PhoneService phoneService)
|
Phone |
updatePhone(long phoneId,
String number,
String extension,
long 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
@Deprecated
public Phone addPhone(String className,
long classPK,
String number,
String extension,
long typeId,
boolean primary)
throws PortalException
- Deprecated. As of 6.2.0, replaced by
#addPhone(String, long,
String, String, int, boolean, ServiceContext)
- Specified by:
addPhone in interface PhoneService
- Throws:
PortalException
addPhone
public Phone addPhone(String className,
long classPK,
String number,
String extension,
long typeId,
boolean primary,
ServiceContext serviceContext)
throws PortalException
- Specified by:
addPhone in interface PhoneService
- Throws:
PortalException
deletePhone
public void deletePhone(long phoneId)
throws PortalException
- Specified by:
deletePhone in interface PhoneService
- Throws:
PortalException
getOSGiServiceIdentifier
public String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Specified by:
getOSGiServiceIdentifier in interface PhoneService
- Returns:
- the OSGi service identifier
getPhone
public Phone getPhone(long phoneId)
throws PortalException
- Specified by:
getPhone in interface PhoneService
- Throws:
PortalException
getPhones
public List<Phone> getPhones(String className,
long classPK)
throws PortalException
- Specified by:
getPhones in interface PhoneService
- Throws:
PortalException
updatePhone
public Phone updatePhone(long phoneId,
String number,
String extension,
long typeId,
boolean primary)
throws PortalException
- Specified by:
updatePhone in interface PhoneService
- Throws:
PortalException
getWrappedService
public PhoneService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<PhoneService>
setWrappedService
public void setWrappedService(PhoneService phoneService)
- Specified by:
setWrappedService in interface ServiceWrapper<PhoneService>