Package in.partake.model.dao.access

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


        return array;
    }

    public void createFixtures(PartakeConnection con, IPartakeDAOs daos) throws DAOException {
        IUserOpenIDLinkAccess dao = daos.getOpenIDLinkageAccess();
        dao.truncate(con);

        dao.put(con, new UserOpenIDLink(DEFAULT_USER_OPENID_ID, DEFAULT_USER_ID, DEFAULT_USER_OPENID_IDENTIFIER));
        dao.put(con, new UserOpenIDLink(DEFAULT_USER_OPENID_ALTERNATIVE_ID, DEFAULT_USER_ID, DEFAULT_USER_OPENID_ALTERNATIVE_IDENTIFIER));
    }
}
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.