Package com.liferay.portal.service.impl
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
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.PhoneServiceBaseImpl
counterLocalService, phoneLocalService, phonePersistence, phoneService
Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.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) void
deletePhone
(long phoneId) com.liferay.portal.kernel.model.Phone
fetchPhoneByExternalReferenceCode
(String externalReferenceCode, long companyId) com.liferay.portal.kernel.model.Phone
getPhone
(long phoneId) com.liferay.portal.kernel.model.Phone
getPhoneByExternalReferenceCode
(String externalReferenceCode, long companyId) List<com.liferay.portal.kernel.model.Phone>
com.liferay.portal.kernel.model.Phone
updatePhone
(String externalReferenceCode, long phoneId, String number, String extension, long typeId, boolean primary) Methods inherited from class com.liferay.portal.service.base.PhoneServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPhoneLocalService, getPhonePersistence, getPhoneService, runSQL, setCounterLocalService, setPhoneLocalService, setPhonePersistence, setPhoneService
Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
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
-