Liferay 6.2-ce-ga5

com.liferay.portlet.announcements.service
Interface AnnouncementsEntryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
AnnouncementsEntryServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AnnouncementsEntryService
extends BaseService

Provides the remote service interface for AnnouncementsEntry. 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, com.liferay.portlet.announcements.service.base.AnnouncementsEntryServiceBaseImpl, com.liferay.portlet.announcements.service.impl.AnnouncementsEntryServiceImpl

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, boolean displayImmediately, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority, boolean alert)
           
 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)
          Deprecated. As of 6.2.0, replaced by addEntry(long, long, long, String, String, String, String, int, int, int, int, int, boolean, int, int, int, int, int, int, boolean)
 void deleteEntry(long entryId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 AnnouncementsEntry getEntry(long entryId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 AnnouncementsEntry updateEntry(long entryId, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean displayImmediately, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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,
                            boolean displayImmediately,
                            int expirationDateMonth,
                            int expirationDateDay,
                            int expirationDateYear,
                            int expirationDateHour,
                            int expirationDateMinute,
                            int priority,
                            boolean alert)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

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
Deprecated. As of 6.2.0, replaced by addEntry(long, long, long, String, String, String, String, int, int, int, int, int, boolean, int, int, int, int, int, int, boolean)

Throws:
PortalException
SystemException

deleteEntry

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

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AnnouncementsEntry getEntry(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,
                               boolean displayImmediately,
                               int expirationDateMonth,
                               int expirationDateDay,
                               int expirationDateYear,
                               int expirationDateHour,
                               int expirationDateMinute,
                               int priority)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5