com.liferay.portal.service.impl
Class PhoneServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portal.service.base.PhoneServiceBaseImpl
com.liferay.portal.service.impl.PhoneServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseService, PhoneService
public class PhoneServiceImpl
- extends PhoneServiceBaseImpl
| Fields inherited from class com.liferay.portal.service.base.PhoneServiceBaseImpl |
classNameLocalService, classNamePersistence, classNameService, counterLocalService, listTypeLocalService, listTypePersistence, listTypeService, phoneLocalService, phonePersistence, phoneService, userFinder, userLocalService, userPersistence, userService |
|
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)
|
Phone |
getPhone(long phoneId)
|
List<Phone> |
getPhones(String className,
long classPK)
|
Phone |
updatePhone(long phoneId,
String number,
String extension,
long typeId,
boolean primary)
|
| Methods inherited from class com.liferay.portal.service.base.PhoneServiceBaseImpl |
afterPropertiesSet, destroy, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getListTypeLocalService, getListTypePersistence, getListTypeService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPhoneLocalService, getPhonePersistence, getPhoneService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setListTypeLocalService, setListTypePersistence, setListTypeService, setPhoneLocalService, setPhonePersistence, setPhoneService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhoneServiceImpl
public PhoneServiceImpl()
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)
- Throws:
PortalException
addPhone
public Phone addPhone(String className,
long classPK,
String number,
String extension,
long typeId,
boolean primary,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deletePhone
public void deletePhone(long phoneId)
throws PortalException
- Throws:
PortalException
getPhone
public Phone getPhone(long phoneId)
throws PortalException
- Throws:
PortalException
getPhones
public List<Phone> getPhones(String className,
long classPK)
throws PortalException
- Throws:
PortalException
updatePhone
public Phone updatePhone(long phoneId,
String number,
String extension,
long typeId,
boolean primary)
throws PortalException
- Throws:
PortalException