@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface PhoneService extends BaseService
PhoneServiceUtil,
PhoneServiceBaseImpl,
com.liferay.portal.service.impl.PhoneServiceImpl| Modifier and Type | Method and Description |
|---|---|
Phone |
addPhone(java.lang.String className,
long classPK,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary)
Deprecated.
As of 6.2.0, replaced by
addPhone( String, long,
String, String, int, boolean, ServiceContext) |
Phone |
addPhone(java.lang.String className,
long classPK,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary,
ServiceContext serviceContext) |
void |
deletePhone(long phoneId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
Phone |
getPhone(long phoneId) |
java.util.List<Phone> |
getPhones(java.lang.String className,
long classPK) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
Phone |
updatePhone(long phoneId,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary) |
java.lang.String getBeanIdentifier()
void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanPhone addPhone(java.lang.String className, long classPK, java.lang.String number, java.lang.String extension, int typeId, boolean primary) throws PortalException, SystemException
addPhone( String, long,
String, String, int, boolean, ServiceContext)PortalExceptionSystemExceptionPhone addPhone(java.lang.String className, long classPK, java.lang.String number, java.lang.String extension, int typeId, boolean primary, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid deletePhone(long phoneId)
throws PortalException,
SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) Phone getPhone(long phoneId) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<Phone> getPhones(java.lang.String className, long classPK) throws PortalException, SystemException
PortalExceptionSystemExceptionPhone updatePhone(long phoneId, java.lang.String number, java.lang.String extension, int typeId, boolean primary) throws PortalException, SystemException
PortalExceptionSystemException