@ProviderType
public class PhoneServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.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,
com.liferay.portal.service.impl.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)
Deprecated.
As of 6.2.0, replaced by
#addPhone(String, long,
String, String, int, boolean, ServiceContext) |
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 |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static Phone |
getPhone(long phoneId) |
static java.util.List<Phone> |
getPhones(java.lang.String className,
long classPK) |
static PhoneService |
getService() |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(PhoneService service)
Deprecated.
As of 6.2.0
|
static Phone |
updatePhone(long phoneId,
java.lang.String number,
java.lang.String extension,
long typeId,
boolean primary) |
@Deprecated public static Phone addPhone(java.lang.String className, long classPK, java.lang.String number, java.lang.String extension, long typeId, boolean primary) throws PortalException
#addPhone(String, long,
String, String, int, boolean, ServiceContext)PortalExceptionpublic 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
PortalExceptionpublic static void deletePhone(long phoneId)
throws PortalException
PortalExceptionpublic static java.lang.String getBeanIdentifier()
public static Phone getPhone(long phoneId) throws PortalException
PortalExceptionpublic static java.util.List<Phone> getPhones(java.lang.String className, long classPK) throws PortalException
PortalExceptionpublic static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static Phone updatePhone(long phoneId, java.lang.String number, java.lang.String extension, long typeId, boolean primary) throws PortalException
PortalExceptionpublic static PhoneService getService()
@Deprecated public void setService(PhoneService service)