Liferay 6.0.5

com.liferay.portlet.announcements.service
Interface AnnouncementsEntryService

All Known Implementing Classes:
AnnouncementsEntryServiceBaseImpl, AnnouncementsEntryServiceImpl, AnnouncementsEntryServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AnnouncementsEntryService

The interface for the announcements entry remote service.

Never modify or reference this interface directly. Always use AnnouncementsEntryServiceUtil to access the announcements entry remote service. Add custom service methods to AnnouncementsEntryServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

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.

See Also:
AnnouncementsEntryServiceUtil, AnnouncementsEntryServiceBaseImpl, AnnouncementsEntryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 AnnouncementsEntry addEntry(long plid, long classNameId, long classPK, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority, boolean alert)
           
 void deleteEntry(long entryId)
           
 AnnouncementsEntry updateEntry(long entryId, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority)
           
 

Method Detail

addEntry

AnnouncementsEntry addEntry(long plid,
                            long classNameId,
                            long classPK,
                            String title,
                            String content,
                            String url,
                            String type,
                            int displayDateMonth,
                            int displayDateDay,
                            int displayDateYear,
                            int displayDateHour,
                            int displayDateMinute,
                            int expirationDateMonth,
                            int expirationDateDay,
                            int expirationDateYear,
                            int expirationDateHour,
                            int expirationDateMinute,
                            int priority,
                            boolean alert)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

deleteEntry

void deleteEntry(long entryId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

updateEntry

AnnouncementsEntry updateEntry(long entryId,
                               String title,
                               String content,
                               String url,
                               String type,
                               int displayDateMonth,
                               int displayDateDay,
                               int displayDateYear,
                               int displayDateHour,
                               int displayDateMinute,
                               int expirationDateMonth,
                               int expirationDateDay,
                               int expirationDateYear,
                               int expirationDateHour,
                               int expirationDateMinute,
                               int priority)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5