package org.encuestame.core.persistence.dao.imp;

import java.util.List;

import org.encuestame.core.persistence.pojo.SecGroupPermission;
import org.encuestame.core.persistence.pojo.SecGroupUser;
import org.encuestame.core.persistence.pojo.SecGroups;
import org.encuestame.core.persistence.pojo.SecPermission;
import org.encuestame.core.persistence.pojo.SecUserPermission;
import org.encuestame.core.persistence.pojo.SecUsers;

/**
 * encuestame:  system online surveys
 * Copyright (C) 2005-2008 encuestame Development Team
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of version 3 of the GNU General Public
 * License as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 * USA
 *
 * Id: IUserDao.java Date: 07/05/2009 
 * @author juanpicado
 * package: org.encuestame.core.persistence.dao.imp
 * @version 1.0
 */
public interface ISecUserDao extends IBaseDao {
	
	public SecUsers getUser(String username);
	
	public List<SecGroupPermission> getGroupPermission(List<SecGroupUser> groups);
	
	public List<SecUserPermission> getUserPermission(SecUsers user);
	
	public List<SecGroupUser> getUserGroups(SecUsers username);
}

@@ -429,16 +429,58 @@
 cUsers;%0D
+%0Aimport org.hibernate.HibernateException;%0D
 %0A%0D%0A/**%0D%0A
@@ -1288,11 +1288,10 @@
 2009
- 
 %0D%0A
+
  * @
@@ -1433,20 +1433,22 @@
 eDao %7B%0D%0A
-%09
 %0D%0A
-%09
+    
 public S
@@ -1478,28 +1478,30 @@
 username);%0D%0A
-%09
 %0D%0A
-%09
+    
 public List%3C
@@ -1564,28 +1564,30 @@
 %3E groups);%0D%0A
-%09
 %0D%0A
-%09
+    
 public List%3C
@@ -1644,12 +1644,14 @@
 );%0D%0A
-%09
 %0D%0A
-%09
+    
 publ
@@ -1706,12 +1706,152 @@
 rname);%0D
+%0A%0D%0A    public void delete(SecUsers user) throws HibernateException;%0D%0A%0D%0A    public void createUser(SecUsers user) throws HibernateException;%0D
 %0A%7D%0D%0A

Add Method Create User