Package in.partake.model.dao.access

Examples of in.partake.model.dao.access.ITwitterMessageAccess.truncate()


    }

    @Override
    public void createFixtures(PartakeConnection con, IPartakeDAOs daos) throws DAOException {
        ITwitterMessageAccess dao = daos.getTwitterMessageAccess();
        dao.truncate(con);

        // Do not add TWITTER_MESSAGE_NONEXIST_ID here.
        dao.put(con, new TwitterMessage(TWITTER_MESSAGE_INQUEUE_ID, DEFAULT_USER_ID, "message", MessageDelivery.INQUEUE, new DateTime(0), null));
    }
}
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.