Liferay 7.0-ce-m6

com.liferay.portal.service
Class PhoneServiceWrapper

java.lang.Object
  extended by 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

Constructor Summary
PhoneServiceWrapper(PhoneService 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 getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 Phone getPhone(long phoneId)
           
 List<Phone> getPhones(String className, long classPK)
           
 PhoneService getWrappedPhoneService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 PhoneService getWrappedService()
           
 void setBeanIdentifier(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, 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
 

Constructor Detail

PhoneServiceWrapper

public PhoneServiceWrapper(PhoneService phoneService)
Method Detail

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

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface PhoneService
Returns:
the Spring bean ID for this bean

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

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface PhoneService
Parameters:
beanIdentifier - the Spring bean ID for this bean

updatePhone

public Phone updatePhone(long phoneId,
                         String number,
                         String extension,
                         long typeId,
                         boolean primary)
                  throws PortalException
Specified by:
updatePhone in interface PhoneService
Throws:
PortalException

getWrappedPhoneService

@Deprecated
public PhoneService getWrappedPhoneService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedPhoneService

@Deprecated
public void setWrappedPhoneService(PhoneService phoneService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portal.service.PhoneService)


getWrappedService

public PhoneService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<PhoneService>

setWrappedService

public void setWrappedService(PhoneService phoneService)
Specified by:
setWrappedService in interface ServiceWrapper<PhoneService>

Liferay 7.0-ce-m6