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:
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.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePhone
void deletePhone(long phoneId)
throws java.rmi.RemoteException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPhone
Phone getPhone(long phoneId)
throws java.rmi.RemoteException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPhones
java.util.List<Phone> getPhones(java.lang.String className,
long classPK)
throws java.rmi.RemoteException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updatePhone
Phone updatePhone(long phoneId,
java.lang.String number,
java.lang.String extension,
int typeId,
boolean primary)
throws java.rmi.RemoteException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException