@ProviderType
public class PollsVoteServiceUtil
extends java.lang.Object
com.liferay.polls.service.impl.PollsVoteServiceImpl
and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.PollsVoteService
,
com.liferay.polls.service.base.PollsVoteServiceBaseImpl
,
com.liferay.polls.service.impl.PollsVoteServiceImpl
Constructor and Description |
---|
PollsVoteServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static PollsVote |
addVote(long questionId,
long choiceId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static PollsVoteService |
getService() |
public static PollsVote addVote(long questionId, long choiceId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static PollsVoteService getService()