Package in.partake.model.dao.access

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


    }

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

        dao.put(con, new UserPreference(DEFAULT_USER_ID, true, true, false));
        dao.put(con, new UserPreference(USER_WITH_PRIVATE_PREF_ID, false, true, false));
    }
}
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.