@ProviderType
public class PhoneServiceUtil
extends java.lang.Object
PhoneServiceImpl
and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.PhoneService
,
PhoneServiceBaseImpl
,
PhoneServiceImpl
Constructor and Description |
---|
PhoneServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static Phone |
addPhone(java.lang.String className,
long classPK,
java.lang.String number,
java.lang.String extension,
long typeId,
boolean primary,
ServiceContext serviceContext) |
static void |
deletePhone(long phoneId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static Phone |
getPhone(long phoneId) |
static java.util.List<Phone> |
getPhones(java.lang.String className,
long classPK) |
static PhoneService |
getService() |
static Phone |
updatePhone(long phoneId,
java.lang.String number,
java.lang.String extension,
long typeId,
boolean primary) |
public static Phone addPhone(java.lang.String className, long classPK, java.lang.String number, java.lang.String extension, long typeId, boolean primary, ServiceContext serviceContext) throws PortalException
PortalException
public static void deletePhone(long phoneId) throws PortalException
PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static Phone getPhone(long phoneId) throws PortalException
PortalException
public static java.util.List<Phone> getPhones(java.lang.String className, long classPK) throws PortalException
PortalException
public static Phone updatePhone(long phoneId, java.lang.String number, java.lang.String extension, long typeId, boolean primary) throws PortalException
PortalException
public static PhoneService getService()