com.liferay.portlet.announcements.service
Interface AnnouncementsDeliveryLocalService
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface AnnouncementsDeliveryLocalService
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.portlet.announcements.service.impl.AnnouncementsDeliveryLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
AnnouncementsDeliveryLocalServiceUtil
Method Summary |
AnnouncementsDelivery |
addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
|
AnnouncementsDelivery |
addUserDelivery(long userId,
java.lang.String type)
|
AnnouncementsDelivery |
createAnnouncementsDelivery(long deliveryId)
|
void |
deleteAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
|
void |
deleteAnnouncementsDelivery(long deliveryId)
|
void |
deleteDeliveries(long userId)
|
void |
deleteDelivery(long deliveryId)
|
void |
deleteDelivery(long userId,
java.lang.String type)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List<AnnouncementsDelivery> |
getAnnouncementsDeliveries(int start,
int end)
|
int |
getAnnouncementsDeliveriesCount()
|
AnnouncementsDelivery |
getAnnouncementsDelivery(long deliveryId)
|
AnnouncementsDelivery |
getDelivery(long deliveryId)
|
java.util.List<AnnouncementsDelivery> |
getUserDeliveries(long userId)
|
AnnouncementsDelivery |
getUserDelivery(long userId,
java.lang.String type)
|
AnnouncementsDelivery |
updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
|
AnnouncementsDelivery |
updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery,
boolean merge)
|
AnnouncementsDelivery |
updateDelivery(long userId,
java.lang.String type,
boolean email,
boolean sms,
boolean website)
|
addAnnouncementsDelivery
AnnouncementsDelivery addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createAnnouncementsDelivery
AnnouncementsDelivery createAnnouncementsDelivery(long deliveryId)
deleteAnnouncementsDelivery
void deleteAnnouncementsDelivery(long deliveryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteAnnouncementsDelivery
void deleteAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAnnouncementsDelivery
@Transactional(propagation=SUPPORTS,
readOnly=true)
AnnouncementsDelivery getAnnouncementsDelivery(long deliveryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getAnnouncementsDeliveries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsDelivery> getAnnouncementsDeliveries(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAnnouncementsDeliveriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getAnnouncementsDeliveriesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateAnnouncementsDelivery
AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateAnnouncementsDelivery
AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserDelivery
AnnouncementsDelivery addUserDelivery(long userId,
java.lang.String type)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteDeliveries
void deleteDeliveries(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteDelivery
void deleteDelivery(long deliveryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteDelivery
void deleteDelivery(long userId,
java.lang.String type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getDelivery
@Transactional(propagation=SUPPORTS,
readOnly=true)
AnnouncementsDelivery getDelivery(long deliveryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserDeliveries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AnnouncementsDelivery> getUserDeliveries(long userId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getUserDelivery
@Transactional(propagation=SUPPORTS,
readOnly=true)
AnnouncementsDelivery getUserDelivery(long userId,
java.lang.String type)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateDelivery
AnnouncementsDelivery updateDelivery(long userId,
java.lang.String type,
boolean email,
boolean sms,
boolean website)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException