Liferay 6.2-ce-ga5

com.liferay.portlet.polls.service
Interface PollsVoteService

All Superinterfaces:
BaseService
All Known Implementing Classes:
PollsVoteServiceWrapper

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

Provides the remote service interface for PollsVote. 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:
PollsVoteServiceUtil, com.liferay.portlet.polls.service.base.PollsVoteServiceBaseImpl, com.liferay.portlet.polls.service.impl.PollsVoteServiceImpl

Method Summary
 PollsVote addVote(long questionId, long choiceId, ServiceContext serviceContext)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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

addVote

PollsVote addVote(long questionId,
                  long choiceId,
                  ServiceContext serviceContext)
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

Liferay 6.2-ce-ga5