com.atlassian.jira.bc.issue.vote
Class VoteService.VoteValidationResult

java.lang.Object
  extended by com.atlassian.jira.bc.ServiceResultImpl
      extended by com.atlassian.jira.bc.issue.vote.VoteService.VoteValidationResult
All Implemented Interfaces:
ServiceResult
Enclosing interface:
VoteService

@PublicApi
public static class VoteService.VoteValidationResult
extends ServiceResultImpl

A simple validation result that holds the user trying to vote, and the issue being voted on.


Constructor Summary
VoteService.VoteValidationResult(ErrorCollection errors, com.atlassian.crowd.embedded.api.User voter, Issue issue)
           
 
Method Summary
 Issue getIssue()
           
 com.atlassian.crowd.embedded.api.User getVoter()
           
 
Methods inherited from class com.atlassian.jira.bc.ServiceResultImpl
getErrorCollection, isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoteService.VoteValidationResult

public VoteService.VoteValidationResult(ErrorCollection errors,
                                        com.atlassian.crowd.embedded.api.User voter,
                                        Issue issue)
Method Detail

getIssue

public Issue getIssue()

getVoter

public com.atlassian.crowd.embedded.api.User getVoter()


Copyright © 2002-2013 Atlassian. All Rights Reserved.