Package io.meeds.poll.utils
Class PollUtils
java.lang.Object
io.meeds.poll.utils.PollUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbroadcastEvent(String eventName, Object source, Object data) static final longgetCurrentUserIdentityId(org.exoplatform.social.core.manager.IdentityManager identityManager, String currentUser) static longgetPollDuration(io.meeds.poll.model.Poll poll) static DatetoDate(ZonedDateTime datetime)
-
Field Details
-
POLL_ACTIVITY_TYPE
- See Also:
-
POLL_ID
- See Also:
-
CREATE_POLL
- See Also:
-
VOTE_POLL
- See Also:
-
-
Method Details
-
getCurrentUserIdentityId
public static final long getCurrentUserIdentityId(org.exoplatform.social.core.manager.IdentityManager identityManager, String currentUser) -
toDate
-
broadcastEvent
-
getPollDuration
public static long getPollDuration(io.meeds.poll.model.Poll poll)
-