com.liferay.portlet.announcements.service
Interface AnnouncementsDeliveryLocalService

All Known Implementing Classes:
AnnouncementsDeliveryLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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
Generated:

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 dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 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)
           
 

Method Detail

addAnnouncementsDelivery

AnnouncementsDelivery addAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
                                               throws SystemException
Throws:
SystemException

createAnnouncementsDelivery

AnnouncementsDelivery createAnnouncementsDelivery(long deliveryId)

deleteAnnouncementsDelivery

void deleteAnnouncementsDelivery(long deliveryId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

deleteAnnouncementsDelivery

void deleteAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
                                 throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getAnnouncementsDelivery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AnnouncementsDelivery getAnnouncementsDelivery(long deliveryId)
                                               throws PortalException,
                                                      SystemException
Throws:
PortalException
SystemException

getAnnouncementsDeliveries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AnnouncementsDelivery> getAnnouncementsDeliveries(int start,
                                                                                                          int end)
                                                                 throws SystemException
Throws:
SystemException

getAnnouncementsDeliveriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getAnnouncementsDeliveriesCount()
                                    throws SystemException
Throws:
SystemException

updateAnnouncementsDelivery

AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery)
                                                  throws SystemException
Throws:
SystemException

updateAnnouncementsDelivery

AnnouncementsDelivery updateAnnouncementsDelivery(AnnouncementsDelivery announcementsDelivery,
                                                  boolean merge)
                                                  throws SystemException
Throws:
SystemException

addUserDelivery

AnnouncementsDelivery addUserDelivery(long userId,
                                      java.lang.String type)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

deleteDeliveries

void deleteDeliveries(long userId)
                      throws SystemException
Throws:
SystemException

deleteDelivery

void deleteDelivery(long deliveryId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteDelivery

void deleteDelivery(long userId,
                    java.lang.String type)
                    throws SystemException
Throws:
SystemException

getDelivery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AnnouncementsDelivery getDelivery(long deliveryId)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getUserDeliveries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<AnnouncementsDelivery> getUserDeliveries(long userId)
                                                        throws PortalException,
                                                               SystemException
Throws:
PortalException
SystemException

getUserDelivery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AnnouncementsDelivery getUserDelivery(long userId,
                                                                               java.lang.String type)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

updateDelivery

AnnouncementsDelivery updateDelivery(long userId,
                                     java.lang.String type,
                                     boolean email,
                                     boolean sms,
                                     boolean website)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException