Commit 818972b8 authored by michael.simon's avatar michael.simon
Browse files

Add project dao to scripting environment

parent 0f3be7e3
......@@ -11,6 +11,7 @@ import edu.kit.scc.webreg.dao.RegistryDao;
import edu.kit.scc.webreg.dao.ScriptDao;
import edu.kit.scc.webreg.dao.ServiceDao;
import edu.kit.scc.webreg.dao.UserDao;
import edu.kit.scc.webreg.dao.project.ProjectDao;
import edu.kit.scc.webreg.service.saml.SsoHelper;
@Named
......@@ -28,6 +29,9 @@ public class ScriptingEnv implements Serializable {
@Inject
private GroupDao groupDao;
@Inject
private ProjectDao projectDao;
@Inject
private ServiceDao serviceDao;
......@@ -85,4 +89,12 @@ public class ScriptingEnv implements Serializable {
this.ssoHelper = ssoHelper;
}
public ProjectDao getProjectDao() {
return projectDao;
}
public void setProjectDao(ProjectDao projectDao) {
this.projectDao = projectDao;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment