Examples of findByUserId()


Examples of in.partake.model.dao.access.IUserTicketAccess.findByUserId()

            return doAllQuery(con, daos);
    }

    private Void doAllQuery(PartakeConnection con, IPartakeDAOs daos) throws DAOException, PartakeException {
        IUserTicketAccess enrollmentAccess = daos.getEnrollmentAccess();
        List<UserTicket> enrollments = enrollmentAccess.findByUserId(con, userId, offset, limit);
        this.numTotalTickets = enrollmentAccess.countByUserId(con, userId);

        for (UserTicket enrollment : enrollments) {
            if (enrollment == null)
                continue;
View Full Code Here

Examples of in.partake.model.dao.access.IUserTicketAccess.findByUserId()

    private Void doUpcomingQuery(PartakeConnection con, IPartakeDAOs daos) throws DAOException, PartakeException {
        IUserTicketAccess dao = daos.getEnrollmentAccess();

        DateTime now = TimeUtil.getCurrentDateTime();

        List<UserTicket> rawTickets = dao.findByUserId(con, userId, 0, Integer.MAX_VALUE);
        List<Pair<UserTicket, Event>> filtered = new ArrayList<Pair<UserTicket, Event>>();

        for (UserTicket userTicket : rawTickets) {
            if (userTicket == null)
                continue;
View Full Code Here

Examples of in.partake.model.dao.access.IUserTicketAccess.findByUserId()

    }

    @Override
    protected Void doExecute(PartakeConnection con, IPartakeDAOs daos) throws DAOException, PartakeException {
        IUserTicketAccess enrollmentAccess = daos.getEnrollmentAccess();
        List<UserTicket> enrollments = enrollmentAccess.findByUserId(con, userId, offset, limit);

        this.totalTicketCount = enrollmentAccess.countByUserId(con, userId);

        for (UserTicket enrollment : enrollments) {
            if (enrollment == null)
View Full Code Here

Examples of in.partake.model.dao.access.IUserTwitterLinkAccess.findByUserId()

        IUserTwitterLinkAccess twitterDAO = daos.getTwitterLinkageAccess();

        User user = userAccess.find(con, userId);
        if (user == null) { return null; }

        UserTwitterLink linkage = twitterDAO.findByUserId(con, userId);
        return new UserEx(user, linkage);
    }

}
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.