]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.hibernate/src/main/java/org/argeo/slc/hibernate/process/SlcExecutionDaoHibernate.java
Add license headers
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.hibernate / src / main / java / org / argeo / slc / hibernate / process / SlcExecutionDaoHibernate.java
index a6c387868a9ea21f82147762d26954a6faec8b16..b60f6f5828a271de4d781ce8c60644764a8dbfb3 100644 (file)
@@ -1,3 +1,19 @@
+/*\r
+ * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ *         http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
 package org.argeo.slc.hibernate.process;\r
 \r
 import java.sql.SQLException;\r
@@ -6,10 +22,10 @@ import java.util.List;
 import org.springframework.orm.hibernate3.HibernateCallback;\r
 import org.springframework.orm.hibernate3.support.HibernateDaoSupport;\r
 \r
-import org.argeo.slc.core.SlcException;\r
-import org.argeo.slc.core.process.SlcExecution;\r
-import org.argeo.slc.core.process.SlcExecutionStep;\r
+import org.argeo.slc.SlcException;\r
 import org.argeo.slc.dao.process.SlcExecutionDao;\r
+import org.argeo.slc.process.SlcExecution;\r
+import org.argeo.slc.process.SlcExecutionStep;\r
 import org.hibernate.HibernateException;\r
 import org.hibernate.Session;\r
 \r
@@ -33,6 +49,7 @@ public class SlcExecutionDaoHibernate extends HibernateDaoSupport implements
                                uuid);\r
        }\r
 \r
+       @SuppressWarnings("unchecked")\r
        public List<SlcExecution> listSlcExecutions() {\r
                return (List<SlcExecution>) getHibernateTemplate().loadAll(\r
                                SlcExecution.class);\r