Class PhoneServiceImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.PhoneServiceBaseImpl
com.liferay.portal.service.impl.PhoneServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.PhoneService

public class PhoneServiceImpl extends PhoneServiceBaseImpl
Author:
Brian Wing Shun Chan
  • Constructor Details

    • PhoneServiceImpl

      public PhoneServiceImpl()
  • Method Details

    • addPhone

      public com.liferay.portal.kernel.model.Phone addPhone(String externalReferenceCode, String className, long classPK, String number, String extension, long typeId, boolean primary, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deletePhone

      public void deletePhone(long phoneId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchPhoneByExternalReferenceCode

      public com.liferay.portal.kernel.model.Phone fetchPhoneByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPhone

      public com.liferay.portal.kernel.model.Phone getPhone(long phoneId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPhoneByExternalReferenceCode

      public com.liferay.portal.kernel.model.Phone getPhoneByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPhones

      public List<com.liferay.portal.kernel.model.Phone> getPhones(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updatePhone

      public com.liferay.portal.kernel.model.Phone updatePhone(String externalReferenceCode, long phoneId, String number, String extension, long typeId, boolean primary) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException