Interface AnnouncementsEntryService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
AnnouncementsEntryServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@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.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionaddEntry
(long classNameId, long classPK, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority, boolean alert) void
deleteEntry
(long entryId) getEntry
(long entryId) Returns the OSGi service identifier.updateEntry
(long entryId, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority)
-
Method Details
-
addEntry
AnnouncementsEntry addEntry(long classNameId, long classPK, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority, boolean alert) throws PortalException - Throws:
PortalException
-
deleteEntry
- Throws:
PortalException
-
getEntry
@Transactional(propagation=SUPPORTS, readOnly=true) AnnouncementsEntry getEntry(long entryId) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateEntry
AnnouncementsEntry updateEntry(long entryId, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority) throws PortalException - Throws:
PortalException
-