public class ControlDAO extends Control {
private static final long serialVersionUID = -377385419379203053L;
public static Control load(String siteId, String controlKey) throws SecurityException, Exception {
EntityManager em = JpaConnection.getInstance().getCurrentEntityManager();
Control control = (Control) em.find(Control.class, controlKey);
return control;
}