Examples of PollsVotePK


Examples of com.liferay.portlet.polls.ejb.PollsVotePK

    _choiceId = choiceId;
    _voteDate = voteDate;
  }

  public PollsVotePK getPrimaryKey() {
    return new PollsVotePK(_questionId, _userId);
  }
View Full Code Here

Examples of com.liferay.portlet.polls.ejb.PollsVotePK

    if (obj == null) {
      return -1;
    }

    PollsVote pollsVote = (PollsVote)obj;
    PollsVotePK pk = pollsVote.getPrimaryKey();

    return getPrimaryKey().compareTo(pk);
  }
View Full Code Here

Examples of com.liferay.portlet.polls.ejb.PollsVotePK

    }
    catch (ClassCastException cce) {
      return false;
    }

    PollsVotePK pk = pollsVote.getPrimaryKey();

    if (getPrimaryKey().equals(pk)) {
      return true;
    }
    else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.