Liferay 7.0-ce-b4

com.liferay.portlet.announcements.service
Interface AnnouncementsFlagService

All Superinterfaces:
BaseService
All Known Implementing Classes:
AnnouncementsFlagServiceBaseImpl, AnnouncementsFlagServiceImpl, AnnouncementsFlagServiceWrapper

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

Provides the remote service interface for AnnouncementsFlag. 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:
AnnouncementsFlagServiceUtil, AnnouncementsFlagServiceBaseImpl, AnnouncementsFlagServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 void addFlag(long entryId, int value)
           
 void deleteFlag(long flagId)
           
 AnnouncementsFlag getFlag(long entryId, int value)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 

Method Detail

addFlag

void addFlag(long entryId,
             int value)
             throws PortalException
Throws:
PortalException

deleteFlag

void deleteFlag(long flagId)
                throws PortalException
Throws:
PortalException

getFlag

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AnnouncementsFlag getFlag(long entryId,
                                                                   int value)
                          throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

Liferay 7.0-ce-b4