@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface PhoneService extends BaseService
PhoneServiceUtil
,
PhoneServiceBaseImpl
,
PhoneServiceImpl
Modifier and Type | Method and Description |
---|---|
Phone |
addPhone(String className,
long classPK,
String number,
String extension,
long typeId,
boolean primary,
ServiceContext serviceContext) |
void |
deletePhone(long phoneId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Phone |
getPhone(long phoneId) |
List<Phone> |
getPhones(String className,
long classPK) |
Phone |
updatePhone(long phoneId,
String number,
String extension,
long typeId,
boolean primary) |
Phone addPhone(String className, long classPK, String number, String extension, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
PortalException
void deletePhone(long phoneId) throws PortalException
PortalException
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) Phone getPhone(long phoneId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Phone> getPhones(String className, long classPK) throws PortalException
PortalException
Phone updatePhone(long phoneId, String number, String extension, long typeId, boolean primary) throws PortalException
PortalException