com.liferay.portal.service.impl
Class PhoneServiceImpl
java.lang.Object
com.liferay.portal.service.impl.PrincipalBean
com.liferay.portal.service.impl.PhoneServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.service.PhoneService
- public class PhoneServiceImpl
- extends PrincipalBean
- implements com.liferay.portal.service.PhoneService
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
com.liferay.portal.model.Phone |
addPhone(java.lang.String className,
long classPK,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary)
|
void |
deletePhone(long phoneId)
|
com.liferay.portal.model.Phone |
getPhone(long phoneId)
|
java.util.List |
getPhones(java.lang.String className,
long classPK)
|
com.liferay.portal.model.Phone |
updatePhone(long phoneId,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhoneServiceImpl
public PhoneServiceImpl()
addPhone
public com.liferay.portal.model.Phone addPhone(java.lang.String className,
long classPK,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addPhone
in interface com.liferay.portal.service.PhoneService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePhone
public void deletePhone(long phoneId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deletePhone
in interface com.liferay.portal.service.PhoneService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPhone
public com.liferay.portal.model.Phone getPhone(long phoneId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getPhone
in interface com.liferay.portal.service.PhoneService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPhones
public java.util.List getPhones(java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getPhones
in interface com.liferay.portal.service.PhoneService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePhone
public com.liferay.portal.model.Phone updatePhone(long phoneId,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
updatePhone
in interface com.liferay.portal.service.PhoneService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException