com.liferay.portal.service
Interface PhoneService
public interface PhoneService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.PhoneServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
PhoneServiceFactory
,
PhoneServiceUtil
Method Summary |
Phone |
addPhone(java.lang.String className,
long classPK,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary)
|
void |
deletePhone(long phoneId)
|
Phone |
getPhone(long phoneId)
|
java.util.List<Phone> |
getPhones(java.lang.String className,
long classPK)
|
Phone |
updatePhone(long phoneId,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary)
|
addPhone
Phone addPhone(java.lang.String className,
long classPK,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deletePhone
void deletePhone(long phoneId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPhone
Phone getPhone(long phoneId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getPhones
java.util.List<Phone> getPhones(java.lang.String className,
long classPK)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updatePhone
Phone updatePhone(long phoneId,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException