Liferay 6.2-ce-ga5

com.liferay.portlet.announcements.service
Interface AnnouncementsFlagService

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

@ProviderType
@AccessControlled
@JSONWebService
@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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 AnnouncementsFlag getFlag(long entryId, int value)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 

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

addFlag

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

deleteFlag

void deleteFlag(long flagId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getFlag

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

Liferay 6.2-ce-ga5