From 2a8893213a97566cbca4a7ab4d24523cf679a81a Mon Sep 17 00:00:00 2001 From: James Muehlner Date: Tue, 5 Feb 2013 22:07:46 -0800 Subject: [PATCH] Ticket #269: Created maven project. --- .../src/main/assembly/dist.xml | 54 ++ .../mysql/dao/guacamole/ConnectionMapper.java | 96 ---- .../guacamole/ConnectionParameterMapper.java | 97 ---- .../guacamole/ConnectionPermissionMapper.java | 72 --- .../dao/guacamole/SystemPermissionMapper.java | 72 --- .../auth/mysql/dao/guacamole/UserMapper.java | 120 ----- .../dao/guacamole/UserPermissionMapper.java | 72 --- .../mysql/model/guacamole/Connection.java | 99 ---- .../model/guacamole/ConnectionExample.java | 502 ------------------ .../model/guacamole/ConnectionParameter.java | 35 -- .../guacamole/ConnectionParameterExample.java | 502 ------------------ .../guacamole/ConnectionParameterKey.java | 67 --- .../ConnectionPermissionExample.java | 492 ----------------- .../guacamole/ConnectionPermissionKey.java | 99 ---- .../guacamole/SystemPermissionExample.java | 432 --------------- .../model/guacamole/SystemPermissionKey.java | 67 --- .../net/auth/mysql/model/guacamole/User.java | 131 ----- .../mysql/model/guacamole/UserExample.java | 502 ------------------ .../guacamole/UserPermissionExample.java | 492 ----------------- .../model/guacamole/UserPermissionKey.java | 99 ---- .../mysql/xml/guacamole/ConnectionMapper.xml | 256 --------- .../guacamole/ConnectionParameterMapper.xml | 256 --------- .../guacamole/ConnectionPermissionMapper.xml | 219 -------- .../xml/guacamole/SystemPermissionMapper.xml | 205 ------- .../auth/mysql/xml/guacamole/UserMapper.xml | 334 ------------ .../xml/guacamole/UserPermissionMapper.xml | 219 -------- 26 files changed, 54 insertions(+), 5537 deletions(-) create mode 100644 extensions/guacamole-auth-mysql/src/main/assembly/dist.xml delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionMapper.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionParameterMapper.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionPermissionMapper.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/SystemPermissionMapper.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/UserMapper.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/UserPermissionMapper.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/Connection.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionExample.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameter.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameterExample.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameterKey.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionPermissionExample.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionPermissionKey.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/SystemPermissionExample.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/SystemPermissionKey.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/User.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserExample.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserPermissionExample.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserPermissionKey.java delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionMapper.xml delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionParameterMapper.xml delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionPermissionMapper.xml delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/SystemPermissionMapper.xml delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/UserMapper.xml delete mode 100644 extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/UserPermissionMapper.xml diff --git a/extensions/guacamole-auth-mysql/src/main/assembly/dist.xml b/extensions/guacamole-auth-mysql/src/main/assembly/dist.xml new file mode 100644 index 000000000..a13bce3e2 --- /dev/null +++ b/extensions/guacamole-auth-mysql/src/main/assembly/dist.xml @@ -0,0 +1,54 @@ + + + dist + ${project.artifactId}-${project.version} + + + + tar.gz + + + + + + + + / + doc + + + + + /schema + schema + + + + + + + + + /lib + runtime + false + true + true + + + + + net.sourceforge.guacamole:guacamole-common + + + net.sourceforge.guacamole:guacamole-ext + + + + + + diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionMapper.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionMapper.java deleted file mode 100644 index 5366034c6..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionMapper.java +++ /dev/null @@ -1,96 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.dao.guacamole; - -import java.util.List; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.Connection; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.ConnectionExample; -import org.apache.ibatis.annotations.Param; - -public interface ConnectionMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int countByExample(ConnectionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByExample(ConnectionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByPrimaryKey(Integer connection_id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insert(Connection record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insertSelective(Connection record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - List selectByExample(ConnectionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - Connection selectByPrimaryKey(Integer connection_id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExampleSelective(@Param("record") Connection record, @Param("example") ConnectionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExample(@Param("record") Connection record, @Param("example") ConnectionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByPrimaryKeySelective(Connection record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByPrimaryKey(Connection record); -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionParameterMapper.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionParameterMapper.java deleted file mode 100644 index f17368249..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionParameterMapper.java +++ /dev/null @@ -1,97 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.dao.guacamole; - -import java.util.List; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.ConnectionParameter; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.ConnectionParameterExample; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.ConnectionParameterKey; -import org.apache.ibatis.annotations.Param; - -public interface ConnectionParameterMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int countByExample(ConnectionParameterExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByExample(ConnectionParameterExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByPrimaryKey(ConnectionParameterKey key); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insert(ConnectionParameter record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insertSelective(ConnectionParameter record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - List selectByExample(ConnectionParameterExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - ConnectionParameter selectByPrimaryKey(ConnectionParameterKey key); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExampleSelective(@Param("record") ConnectionParameter record, @Param("example") ConnectionParameterExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExample(@Param("record") ConnectionParameter record, @Param("example") ConnectionParameterExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByPrimaryKeySelective(ConnectionParameter record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByPrimaryKey(ConnectionParameter record); -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionPermissionMapper.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionPermissionMapper.java deleted file mode 100644 index 4c2d60456..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/ConnectionPermissionMapper.java +++ /dev/null @@ -1,72 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.dao.guacamole; - -import java.util.List; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.ConnectionPermissionExample; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.ConnectionPermissionKey; -import org.apache.ibatis.annotations.Param; - -public interface ConnectionPermissionMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int countByExample(ConnectionPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByExample(ConnectionPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByPrimaryKey(ConnectionPermissionKey key); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insert(ConnectionPermissionKey record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insertSelective(ConnectionPermissionKey record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - List selectByExample(ConnectionPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExampleSelective(@Param("record") ConnectionPermissionKey record, @Param("example") ConnectionPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExample(@Param("record") ConnectionPermissionKey record, @Param("example") ConnectionPermissionExample example); -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/SystemPermissionMapper.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/SystemPermissionMapper.java deleted file mode 100644 index 1669809b4..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/SystemPermissionMapper.java +++ /dev/null @@ -1,72 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.dao.guacamole; - -import java.util.List; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.SystemPermissionExample; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.SystemPermissionKey; -import org.apache.ibatis.annotations.Param; - -public interface SystemPermissionMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int countByExample(SystemPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByExample(SystemPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByPrimaryKey(SystemPermissionKey key); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insert(SystemPermissionKey record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insertSelective(SystemPermissionKey record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - List selectByExample(SystemPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExampleSelective(@Param("record") SystemPermissionKey record, @Param("example") SystemPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExample(@Param("record") SystemPermissionKey record, @Param("example") SystemPermissionExample example); -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/UserMapper.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/UserMapper.java deleted file mode 100644 index 27a5b3d2b..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/UserMapper.java +++ /dev/null @@ -1,120 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.dao.guacamole; - -import java.util.List; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.User; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.UserExample; -import org.apache.ibatis.annotations.Param; - -public interface UserMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int countByExample(UserExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByExample(UserExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByPrimaryKey(Integer user_id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insert(User record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insertSelective(User record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - List selectByExampleWithBLOBs(UserExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - List selectByExample(UserExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - User selectByPrimaryKey(Integer user_id); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExampleWithBLOBs(@Param("record") User record, @Param("example") UserExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExample(@Param("record") User record, @Param("example") UserExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByPrimaryKeySelective(User record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByPrimaryKeyWithBLOBs(User record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByPrimaryKey(User record); -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/UserPermissionMapper.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/UserPermissionMapper.java deleted file mode 100644 index 1f4356e90..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/dao/guacamole/UserPermissionMapper.java +++ /dev/null @@ -1,72 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.dao.guacamole; - -import java.util.List; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.UserPermissionExample; -import net.sourceforge.guacamole.net.auth.mysql.model.guacamole.UserPermissionKey; -import org.apache.ibatis.annotations.Param; - -public interface UserPermissionMapper { - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int countByExample(UserPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByExample(UserPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int deleteByPrimaryKey(UserPermissionKey key); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insert(UserPermissionKey record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int insertSelective(UserPermissionKey record); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - List selectByExample(UserPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExampleSelective(@Param("record") UserPermissionKey record, @Param("example") UserPermissionExample example); - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - int updateByExample(@Param("record") UserPermissionKey record, @Param("example") UserPermissionExample example); -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/Connection.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/Connection.java deleted file mode 100644 index 25ae414f3..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/Connection.java +++ /dev/null @@ -1,99 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -public class Connection { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_connection.connection_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private Integer connection_id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_connection.connection_name - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private String connection_name; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_connection.protocol - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private String protocol; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_connection.connection_id - * - * @return the value of guacamole..guacamole_connection.connection_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Integer getConnection_id() { - return connection_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_connection.connection_id - * - * @param connection_id the value for guacamole..guacamole_connection.connection_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setConnection_id(Integer connection_id) { - this.connection_id = connection_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_connection.connection_name - * - * @return the value of guacamole..guacamole_connection.connection_name - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getConnection_name() { - return connection_name; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_connection.connection_name - * - * @param connection_name the value for guacamole..guacamole_connection.connection_name - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setConnection_name(String connection_name) { - this.connection_name = connection_name == null ? null : connection_name.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_connection.protocol - * - * @return the value of guacamole..guacamole_connection.protocol - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getProtocol() { - return protocol; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_connection.protocol - * - * @param protocol the value for guacamole..guacamole_connection.protocol - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setProtocol(String protocol) { - this.protocol = protocol == null ? null : protocol.trim(); - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionExample.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionExample.java deleted file mode 100644 index 374a1cd78..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionExample.java +++ /dev/null @@ -1,502 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -import java.util.ArrayList; -import java.util.List; - -public class ConnectionExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public ConnectionExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andConnection_idIsNull() { - addCriterion("connection_id is null"); - return (Criteria) this; - } - - public Criteria andConnection_idIsNotNull() { - addCriterion("connection_id is not null"); - return (Criteria) this; - } - - public Criteria andConnection_idEqualTo(Integer value) { - addCriterion("connection_id =", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idNotEqualTo(Integer value) { - addCriterion("connection_id <>", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idGreaterThan(Integer value) { - addCriterion("connection_id >", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idGreaterThanOrEqualTo(Integer value) { - addCriterion("connection_id >=", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idLessThan(Integer value) { - addCriterion("connection_id <", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idLessThanOrEqualTo(Integer value) { - addCriterion("connection_id <=", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idIn(List values) { - addCriterion("connection_id in", values, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idNotIn(List values) { - addCriterion("connection_id not in", values, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idBetween(Integer value1, Integer value2) { - addCriterion("connection_id between", value1, value2, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idNotBetween(Integer value1, Integer value2) { - addCriterion("connection_id not between", value1, value2, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_nameIsNull() { - addCriterion("connection_name is null"); - return (Criteria) this; - } - - public Criteria andConnection_nameIsNotNull() { - addCriterion("connection_name is not null"); - return (Criteria) this; - } - - public Criteria andConnection_nameEqualTo(String value) { - addCriterion("connection_name =", value, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameNotEqualTo(String value) { - addCriterion("connection_name <>", value, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameGreaterThan(String value) { - addCriterion("connection_name >", value, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameGreaterThanOrEqualTo(String value) { - addCriterion("connection_name >=", value, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameLessThan(String value) { - addCriterion("connection_name <", value, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameLessThanOrEqualTo(String value) { - addCriterion("connection_name <=", value, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameLike(String value) { - addCriterion("connection_name like", value, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameNotLike(String value) { - addCriterion("connection_name not like", value, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameIn(List values) { - addCriterion("connection_name in", values, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameNotIn(List values) { - addCriterion("connection_name not in", values, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameBetween(String value1, String value2) { - addCriterion("connection_name between", value1, value2, "connection_name"); - return (Criteria) this; - } - - public Criteria andConnection_nameNotBetween(String value1, String value2) { - addCriterion("connection_name not between", value1, value2, "connection_name"); - return (Criteria) this; - } - - public Criteria andProtocolIsNull() { - addCriterion("protocol is null"); - return (Criteria) this; - } - - public Criteria andProtocolIsNotNull() { - addCriterion("protocol is not null"); - return (Criteria) this; - } - - public Criteria andProtocolEqualTo(String value) { - addCriterion("protocol =", value, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolNotEqualTo(String value) { - addCriterion("protocol <>", value, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolGreaterThan(String value) { - addCriterion("protocol >", value, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolGreaterThanOrEqualTo(String value) { - addCriterion("protocol >=", value, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolLessThan(String value) { - addCriterion("protocol <", value, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolLessThanOrEqualTo(String value) { - addCriterion("protocol <=", value, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolLike(String value) { - addCriterion("protocol like", value, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolNotLike(String value) { - addCriterion("protocol not like", value, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolIn(List values) { - addCriterion("protocol in", values, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolNotIn(List values) { - addCriterion("protocol not in", values, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolBetween(String value1, String value2) { - addCriterion("protocol between", value1, value2, "protocol"); - return (Criteria) this; - } - - public Criteria andProtocolNotBetween(String value1, String value2) { - addCriterion("protocol not between", value1, value2, "protocol"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated do_not_delete_during_merge Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_connection - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameter.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameter.java deleted file mode 100644 index 2a2d73bc1..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameter.java +++ /dev/null @@ -1,35 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -public class ConnectionParameter extends ConnectionParameterKey { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_connection_parameter.parameter_value - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private String parameter_value; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_connection_parameter.parameter_value - * - * @return the value of guacamole..guacamole_connection_parameter.parameter_value - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getParameter_value() { - return parameter_value; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_connection_parameter.parameter_value - * - * @param parameter_value the value for guacamole..guacamole_connection_parameter.parameter_value - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setParameter_value(String parameter_value) { - this.parameter_value = parameter_value == null ? null : parameter_value.trim(); - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameterExample.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameterExample.java deleted file mode 100644 index be25c918b..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameterExample.java +++ /dev/null @@ -1,502 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -import java.util.ArrayList; -import java.util.List; - -public class ConnectionParameterExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public ConnectionParameterExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andConnection_idIsNull() { - addCriterion("connection_id is null"); - return (Criteria) this; - } - - public Criteria andConnection_idIsNotNull() { - addCriterion("connection_id is not null"); - return (Criteria) this; - } - - public Criteria andConnection_idEqualTo(Integer value) { - addCriterion("connection_id =", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idNotEqualTo(Integer value) { - addCriterion("connection_id <>", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idGreaterThan(Integer value) { - addCriterion("connection_id >", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idGreaterThanOrEqualTo(Integer value) { - addCriterion("connection_id >=", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idLessThan(Integer value) { - addCriterion("connection_id <", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idLessThanOrEqualTo(Integer value) { - addCriterion("connection_id <=", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idIn(List values) { - addCriterion("connection_id in", values, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idNotIn(List values) { - addCriterion("connection_id not in", values, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idBetween(Integer value1, Integer value2) { - addCriterion("connection_id between", value1, value2, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idNotBetween(Integer value1, Integer value2) { - addCriterion("connection_id not between", value1, value2, "connection_id"); - return (Criteria) this; - } - - public Criteria andParameter_nameIsNull() { - addCriterion("parameter_name is null"); - return (Criteria) this; - } - - public Criteria andParameter_nameIsNotNull() { - addCriterion("parameter_name is not null"); - return (Criteria) this; - } - - public Criteria andParameter_nameEqualTo(String value) { - addCriterion("parameter_name =", value, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameNotEqualTo(String value) { - addCriterion("parameter_name <>", value, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameGreaterThan(String value) { - addCriterion("parameter_name >", value, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameGreaterThanOrEqualTo(String value) { - addCriterion("parameter_name >=", value, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameLessThan(String value) { - addCriterion("parameter_name <", value, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameLessThanOrEqualTo(String value) { - addCriterion("parameter_name <=", value, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameLike(String value) { - addCriterion("parameter_name like", value, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameNotLike(String value) { - addCriterion("parameter_name not like", value, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameIn(List values) { - addCriterion("parameter_name in", values, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameNotIn(List values) { - addCriterion("parameter_name not in", values, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameBetween(String value1, String value2) { - addCriterion("parameter_name between", value1, value2, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_nameNotBetween(String value1, String value2) { - addCriterion("parameter_name not between", value1, value2, "parameter_name"); - return (Criteria) this; - } - - public Criteria andParameter_valueIsNull() { - addCriterion("parameter_value is null"); - return (Criteria) this; - } - - public Criteria andParameter_valueIsNotNull() { - addCriterion("parameter_value is not null"); - return (Criteria) this; - } - - public Criteria andParameter_valueEqualTo(String value) { - addCriterion("parameter_value =", value, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueNotEqualTo(String value) { - addCriterion("parameter_value <>", value, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueGreaterThan(String value) { - addCriterion("parameter_value >", value, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueGreaterThanOrEqualTo(String value) { - addCriterion("parameter_value >=", value, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueLessThan(String value) { - addCriterion("parameter_value <", value, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueLessThanOrEqualTo(String value) { - addCriterion("parameter_value <=", value, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueLike(String value) { - addCriterion("parameter_value like", value, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueNotLike(String value) { - addCriterion("parameter_value not like", value, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueIn(List values) { - addCriterion("parameter_value in", values, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueNotIn(List values) { - addCriterion("parameter_value not in", values, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueBetween(String value1, String value2) { - addCriterion("parameter_value between", value1, value2, "parameter_value"); - return (Criteria) this; - } - - public Criteria andParameter_valueNotBetween(String value1, String value2) { - addCriterion("parameter_value not between", value1, value2, "parameter_value"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated do_not_delete_during_merge Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_connection_parameter - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameterKey.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameterKey.java deleted file mode 100644 index 986dbb4e4..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionParameterKey.java +++ /dev/null @@ -1,67 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -public class ConnectionParameterKey { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_connection_parameter.connection_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private Integer connection_id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_connection_parameter.parameter_name - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private String parameter_name; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_connection_parameter.connection_id - * - * @return the value of guacamole..guacamole_connection_parameter.connection_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Integer getConnection_id() { - return connection_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_connection_parameter.connection_id - * - * @param connection_id the value for guacamole..guacamole_connection_parameter.connection_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setConnection_id(Integer connection_id) { - this.connection_id = connection_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_connection_parameter.parameter_name - * - * @return the value of guacamole..guacamole_connection_parameter.parameter_name - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getParameter_name() { - return parameter_name; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_connection_parameter.parameter_name - * - * @param parameter_name the value for guacamole..guacamole_connection_parameter.parameter_name - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setParameter_name(String parameter_name) { - this.parameter_name = parameter_name == null ? null : parameter_name.trim(); - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionPermissionExample.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionPermissionExample.java deleted file mode 100644 index a65cde408..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionPermissionExample.java +++ /dev/null @@ -1,492 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -import java.util.ArrayList; -import java.util.List; - -public class ConnectionPermissionExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public ConnectionPermissionExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andUser_idIsNull() { - addCriterion("user_id is null"); - return (Criteria) this; - } - - public Criteria andUser_idIsNotNull() { - addCriterion("user_id is not null"); - return (Criteria) this; - } - - public Criteria andUser_idEqualTo(Integer value) { - addCriterion("user_id =", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotEqualTo(Integer value) { - addCriterion("user_id <>", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idGreaterThan(Integer value) { - addCriterion("user_id >", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idGreaterThanOrEqualTo(Integer value) { - addCriterion("user_id >=", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idLessThan(Integer value) { - addCriterion("user_id <", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idLessThanOrEqualTo(Integer value) { - addCriterion("user_id <=", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idIn(List values) { - addCriterion("user_id in", values, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotIn(List values) { - addCriterion("user_id not in", values, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idBetween(Integer value1, Integer value2) { - addCriterion("user_id between", value1, value2, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotBetween(Integer value1, Integer value2) { - addCriterion("user_id not between", value1, value2, "user_id"); - return (Criteria) this; - } - - public Criteria andConnection_idIsNull() { - addCriterion("connection_id is null"); - return (Criteria) this; - } - - public Criteria andConnection_idIsNotNull() { - addCriterion("connection_id is not null"); - return (Criteria) this; - } - - public Criteria andConnection_idEqualTo(Integer value) { - addCriterion("connection_id =", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idNotEqualTo(Integer value) { - addCriterion("connection_id <>", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idGreaterThan(Integer value) { - addCriterion("connection_id >", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idGreaterThanOrEqualTo(Integer value) { - addCriterion("connection_id >=", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idLessThan(Integer value) { - addCriterion("connection_id <", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idLessThanOrEqualTo(Integer value) { - addCriterion("connection_id <=", value, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idIn(List values) { - addCriterion("connection_id in", values, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idNotIn(List values) { - addCriterion("connection_id not in", values, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idBetween(Integer value1, Integer value2) { - addCriterion("connection_id between", value1, value2, "connection_id"); - return (Criteria) this; - } - - public Criteria andConnection_idNotBetween(Integer value1, Integer value2) { - addCriterion("connection_id not between", value1, value2, "connection_id"); - return (Criteria) this; - } - - public Criteria andPermissionIsNull() { - addCriterion("permission is null"); - return (Criteria) this; - } - - public Criteria andPermissionIsNotNull() { - addCriterion("permission is not null"); - return (Criteria) this; - } - - public Criteria andPermissionEqualTo(String value) { - addCriterion("permission =", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotEqualTo(String value) { - addCriterion("permission <>", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionGreaterThan(String value) { - addCriterion("permission >", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionGreaterThanOrEqualTo(String value) { - addCriterion("permission >=", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionLessThan(String value) { - addCriterion("permission <", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionLessThanOrEqualTo(String value) { - addCriterion("permission <=", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionLike(String value) { - addCriterion("permission like", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotLike(String value) { - addCriterion("permission not like", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionIn(List values) { - addCriterion("permission in", values, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotIn(List values) { - addCriterion("permission not in", values, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionBetween(String value1, String value2) { - addCriterion("permission between", value1, value2, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotBetween(String value1, String value2) { - addCriterion("permission not between", value1, value2, "permission"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated do_not_delete_during_merge Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_connection_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionPermissionKey.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionPermissionKey.java deleted file mode 100644 index 7e496190e..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/ConnectionPermissionKey.java +++ /dev/null @@ -1,99 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -public class ConnectionPermissionKey { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_connection_permission.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private Integer user_id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_connection_permission.connection_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private Integer connection_id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_connection_permission.permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private String permission; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_connection_permission.user_id - * - * @return the value of guacamole..guacamole_connection_permission.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Integer getUser_id() { - return user_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_connection_permission.user_id - * - * @param user_id the value for guacamole..guacamole_connection_permission.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setUser_id(Integer user_id) { - this.user_id = user_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_connection_permission.connection_id - * - * @return the value of guacamole..guacamole_connection_permission.connection_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Integer getConnection_id() { - return connection_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_connection_permission.connection_id - * - * @param connection_id the value for guacamole..guacamole_connection_permission.connection_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setConnection_id(Integer connection_id) { - this.connection_id = connection_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_connection_permission.permission - * - * @return the value of guacamole..guacamole_connection_permission.permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getPermission() { - return permission; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_connection_permission.permission - * - * @param permission the value for guacamole..guacamole_connection_permission.permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setPermission(String permission) { - this.permission = permission == null ? null : permission.trim(); - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/SystemPermissionExample.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/SystemPermissionExample.java deleted file mode 100644 index 7c972fd93..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/SystemPermissionExample.java +++ /dev/null @@ -1,432 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -import java.util.ArrayList; -import java.util.List; - -public class SystemPermissionExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public SystemPermissionExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andUser_idIsNull() { - addCriterion("user_id is null"); - return (Criteria) this; - } - - public Criteria andUser_idIsNotNull() { - addCriterion("user_id is not null"); - return (Criteria) this; - } - - public Criteria andUser_idEqualTo(Integer value) { - addCriterion("user_id =", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotEqualTo(Integer value) { - addCriterion("user_id <>", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idGreaterThan(Integer value) { - addCriterion("user_id >", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idGreaterThanOrEqualTo(Integer value) { - addCriterion("user_id >=", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idLessThan(Integer value) { - addCriterion("user_id <", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idLessThanOrEqualTo(Integer value) { - addCriterion("user_id <=", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idIn(List values) { - addCriterion("user_id in", values, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotIn(List values) { - addCriterion("user_id not in", values, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idBetween(Integer value1, Integer value2) { - addCriterion("user_id between", value1, value2, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotBetween(Integer value1, Integer value2) { - addCriterion("user_id not between", value1, value2, "user_id"); - return (Criteria) this; - } - - public Criteria andPermissionIsNull() { - addCriterion("permission is null"); - return (Criteria) this; - } - - public Criteria andPermissionIsNotNull() { - addCriterion("permission is not null"); - return (Criteria) this; - } - - public Criteria andPermissionEqualTo(String value) { - addCriterion("permission =", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotEqualTo(String value) { - addCriterion("permission <>", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionGreaterThan(String value) { - addCriterion("permission >", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionGreaterThanOrEqualTo(String value) { - addCriterion("permission >=", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionLessThan(String value) { - addCriterion("permission <", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionLessThanOrEqualTo(String value) { - addCriterion("permission <=", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionLike(String value) { - addCriterion("permission like", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotLike(String value) { - addCriterion("permission not like", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionIn(List values) { - addCriterion("permission in", values, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotIn(List values) { - addCriterion("permission not in", values, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionBetween(String value1, String value2) { - addCriterion("permission between", value1, value2, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotBetween(String value1, String value2) { - addCriterion("permission not between", value1, value2, "permission"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated do_not_delete_during_merge Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_system_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/SystemPermissionKey.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/SystemPermissionKey.java deleted file mode 100644 index 920341d47..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/SystemPermissionKey.java +++ /dev/null @@ -1,67 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -public class SystemPermissionKey { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_system_permission.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private Integer user_id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_system_permission.permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private String permission; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_system_permission.user_id - * - * @return the value of guacamole..guacamole_system_permission.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Integer getUser_id() { - return user_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_system_permission.user_id - * - * @param user_id the value for guacamole..guacamole_system_permission.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setUser_id(Integer user_id) { - this.user_id = user_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_system_permission.permission - * - * @return the value of guacamole..guacamole_system_permission.permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getPermission() { - return permission; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_system_permission.permission - * - * @param permission the value for guacamole..guacamole_system_permission.permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setPermission(String permission) { - this.permission = permission == null ? null : permission.trim(); - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/User.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/User.java deleted file mode 100644 index 3f2da3baa..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/User.java +++ /dev/null @@ -1,131 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -public class User { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_user.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private Integer user_id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_user.username - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private String username; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_user.password_salt - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private String password_salt; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_user.password_hash - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private byte[] password_hash; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_user.user_id - * - * @return the value of guacamole..guacamole_user.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Integer getUser_id() { - return user_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_user.user_id - * - * @param user_id the value for guacamole..guacamole_user.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setUser_id(Integer user_id) { - this.user_id = user_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_user.username - * - * @return the value of guacamole..guacamole_user.username - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getUsername() { - return username; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_user.username - * - * @param username the value for guacamole..guacamole_user.username - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setUsername(String username) { - this.username = username == null ? null : username.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_user.password_salt - * - * @return the value of guacamole..guacamole_user.password_salt - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getPassword_salt() { - return password_salt; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_user.password_salt - * - * @param password_salt the value for guacamole..guacamole_user.password_salt - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setPassword_salt(String password_salt) { - this.password_salt = password_salt == null ? null : password_salt.trim(); - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_user.password_hash - * - * @return the value of guacamole..guacamole_user.password_hash - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public byte[] getPassword_hash() { - return password_hash; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_user.password_hash - * - * @param password_hash the value for guacamole..guacamole_user.password_hash - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setPassword_hash(byte[] password_hash) { - this.password_hash = password_hash; - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserExample.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserExample.java deleted file mode 100644 index 3b8d8f09c..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserExample.java +++ /dev/null @@ -1,502 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -import java.util.ArrayList; -import java.util.List; - -public class UserExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public UserExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andUser_idIsNull() { - addCriterion("user_id is null"); - return (Criteria) this; - } - - public Criteria andUser_idIsNotNull() { - addCriterion("user_id is not null"); - return (Criteria) this; - } - - public Criteria andUser_idEqualTo(Integer value) { - addCriterion("user_id =", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotEqualTo(Integer value) { - addCriterion("user_id <>", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idGreaterThan(Integer value) { - addCriterion("user_id >", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idGreaterThanOrEqualTo(Integer value) { - addCriterion("user_id >=", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idLessThan(Integer value) { - addCriterion("user_id <", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idLessThanOrEqualTo(Integer value) { - addCriterion("user_id <=", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idIn(List values) { - addCriterion("user_id in", values, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotIn(List values) { - addCriterion("user_id not in", values, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idBetween(Integer value1, Integer value2) { - addCriterion("user_id between", value1, value2, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotBetween(Integer value1, Integer value2) { - addCriterion("user_id not between", value1, value2, "user_id"); - return (Criteria) this; - } - - public Criteria andUsernameIsNull() { - addCriterion("username is null"); - return (Criteria) this; - } - - public Criteria andUsernameIsNotNull() { - addCriterion("username is not null"); - return (Criteria) this; - } - - public Criteria andUsernameEqualTo(String value) { - addCriterion("username =", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotEqualTo(String value) { - addCriterion("username <>", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameGreaterThan(String value) { - addCriterion("username >", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameGreaterThanOrEqualTo(String value) { - addCriterion("username >=", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameLessThan(String value) { - addCriterion("username <", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameLessThanOrEqualTo(String value) { - addCriterion("username <=", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameLike(String value) { - addCriterion("username like", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotLike(String value) { - addCriterion("username not like", value, "username"); - return (Criteria) this; - } - - public Criteria andUsernameIn(List values) { - addCriterion("username in", values, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotIn(List values) { - addCriterion("username not in", values, "username"); - return (Criteria) this; - } - - public Criteria andUsernameBetween(String value1, String value2) { - addCriterion("username between", value1, value2, "username"); - return (Criteria) this; - } - - public Criteria andUsernameNotBetween(String value1, String value2) { - addCriterion("username not between", value1, value2, "username"); - return (Criteria) this; - } - - public Criteria andPassword_saltIsNull() { - addCriterion("password_salt is null"); - return (Criteria) this; - } - - public Criteria andPassword_saltIsNotNull() { - addCriterion("password_salt is not null"); - return (Criteria) this; - } - - public Criteria andPassword_saltEqualTo(String value) { - addCriterion("password_salt =", value, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltNotEqualTo(String value) { - addCriterion("password_salt <>", value, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltGreaterThan(String value) { - addCriterion("password_salt >", value, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltGreaterThanOrEqualTo(String value) { - addCriterion("password_salt >=", value, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltLessThan(String value) { - addCriterion("password_salt <", value, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltLessThanOrEqualTo(String value) { - addCriterion("password_salt <=", value, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltLike(String value) { - addCriterion("password_salt like", value, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltNotLike(String value) { - addCriterion("password_salt not like", value, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltIn(List values) { - addCriterion("password_salt in", values, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltNotIn(List values) { - addCriterion("password_salt not in", values, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltBetween(String value1, String value2) { - addCriterion("password_salt between", value1, value2, "password_salt"); - return (Criteria) this; - } - - public Criteria andPassword_saltNotBetween(String value1, String value2) { - addCriterion("password_salt not between", value1, value2, "password_salt"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated do_not_delete_during_merge Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_user - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserPermissionExample.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserPermissionExample.java deleted file mode 100644 index 6902d9515..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserPermissionExample.java +++ /dev/null @@ -1,492 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -import java.util.ArrayList; -import java.util.List; - -public class UserPermissionExample { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected String orderByClause; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected boolean distinct; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected List oredCriteria; - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public UserPermissionExample() { - oredCriteria = new ArrayList(); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setOrderByClause(String orderByClause) { - this.orderByClause = orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getOrderByClause() { - return orderByClause; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setDistinct(boolean distinct) { - this.distinct = distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public boolean isDistinct() { - return distinct; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public List getOredCriteria() { - return oredCriteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void or(Criteria criteria) { - oredCriteria.add(criteria); - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria or() { - Criteria criteria = createCriteriaInternal(); - oredCriteria.add(criteria); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Criteria createCriteria() { - Criteria criteria = createCriteriaInternal(); - if (oredCriteria.size() == 0) { - oredCriteria.add(criteria); - } - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected Criteria createCriteriaInternal() { - Criteria criteria = new Criteria(); - return criteria; - } - - /** - * This method was generated by MyBatis Generator. - * This method corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void clear() { - oredCriteria.clear(); - orderByClause = null; - distinct = false; - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - protected abstract static class GeneratedCriteria { - protected List criteria; - - protected GeneratedCriteria() { - super(); - criteria = new ArrayList(); - } - - public boolean isValid() { - return criteria.size() > 0; - } - - public List getAllCriteria() { - return criteria; - } - - public List getCriteria() { - return criteria; - } - - protected void addCriterion(String condition) { - if (condition == null) { - throw new RuntimeException("Value for condition cannot be null"); - } - criteria.add(new Criterion(condition)); - } - - protected void addCriterion(String condition, Object value, String property) { - if (value == null) { - throw new RuntimeException("Value for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value)); - } - - protected void addCriterion(String condition, Object value1, Object value2, String property) { - if (value1 == null || value2 == null) { - throw new RuntimeException("Between values for " + property + " cannot be null"); - } - criteria.add(new Criterion(condition, value1, value2)); - } - - public Criteria andUser_idIsNull() { - addCriterion("user_id is null"); - return (Criteria) this; - } - - public Criteria andUser_idIsNotNull() { - addCriterion("user_id is not null"); - return (Criteria) this; - } - - public Criteria andUser_idEqualTo(Integer value) { - addCriterion("user_id =", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotEqualTo(Integer value) { - addCriterion("user_id <>", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idGreaterThan(Integer value) { - addCriterion("user_id >", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idGreaterThanOrEqualTo(Integer value) { - addCriterion("user_id >=", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idLessThan(Integer value) { - addCriterion("user_id <", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idLessThanOrEqualTo(Integer value) { - addCriterion("user_id <=", value, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idIn(List values) { - addCriterion("user_id in", values, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotIn(List values) { - addCriterion("user_id not in", values, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idBetween(Integer value1, Integer value2) { - addCriterion("user_id between", value1, value2, "user_id"); - return (Criteria) this; - } - - public Criteria andUser_idNotBetween(Integer value1, Integer value2) { - addCriterion("user_id not between", value1, value2, "user_id"); - return (Criteria) this; - } - - public Criteria andAffected_user_idIsNull() { - addCriterion("affected_user_id is null"); - return (Criteria) this; - } - - public Criteria andAffected_user_idIsNotNull() { - addCriterion("affected_user_id is not null"); - return (Criteria) this; - } - - public Criteria andAffected_user_idEqualTo(Integer value) { - addCriterion("affected_user_id =", value, "affected_user_id"); - return (Criteria) this; - } - - public Criteria andAffected_user_idNotEqualTo(Integer value) { - addCriterion("affected_user_id <>", value, "affected_user_id"); - return (Criteria) this; - } - - public Criteria andAffected_user_idGreaterThan(Integer value) { - addCriterion("affected_user_id >", value, "affected_user_id"); - return (Criteria) this; - } - - public Criteria andAffected_user_idGreaterThanOrEqualTo(Integer value) { - addCriterion("affected_user_id >=", value, "affected_user_id"); - return (Criteria) this; - } - - public Criteria andAffected_user_idLessThan(Integer value) { - addCriterion("affected_user_id <", value, "affected_user_id"); - return (Criteria) this; - } - - public Criteria andAffected_user_idLessThanOrEqualTo(Integer value) { - addCriterion("affected_user_id <=", value, "affected_user_id"); - return (Criteria) this; - } - - public Criteria andAffected_user_idIn(List values) { - addCriterion("affected_user_id in", values, "affected_user_id"); - return (Criteria) this; - } - - public Criteria andAffected_user_idNotIn(List values) { - addCriterion("affected_user_id not in", values, "affected_user_id"); - return (Criteria) this; - } - - public Criteria andAffected_user_idBetween(Integer value1, Integer value2) { - addCriterion("affected_user_id between", value1, value2, "affected_user_id"); - return (Criteria) this; - } - - public Criteria andAffected_user_idNotBetween(Integer value1, Integer value2) { - addCriterion("affected_user_id not between", value1, value2, "affected_user_id"); - return (Criteria) this; - } - - public Criteria andPermissionIsNull() { - addCriterion("permission is null"); - return (Criteria) this; - } - - public Criteria andPermissionIsNotNull() { - addCriterion("permission is not null"); - return (Criteria) this; - } - - public Criteria andPermissionEqualTo(String value) { - addCriterion("permission =", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotEqualTo(String value) { - addCriterion("permission <>", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionGreaterThan(String value) { - addCriterion("permission >", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionGreaterThanOrEqualTo(String value) { - addCriterion("permission >=", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionLessThan(String value) { - addCriterion("permission <", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionLessThanOrEqualTo(String value) { - addCriterion("permission <=", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionLike(String value) { - addCriterion("permission like", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotLike(String value) { - addCriterion("permission not like", value, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionIn(List values) { - addCriterion("permission in", values, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotIn(List values) { - addCriterion("permission not in", values, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionBetween(String value1, String value2) { - addCriterion("permission between", value1, value2, "permission"); - return (Criteria) this; - } - - public Criteria andPermissionNotBetween(String value1, String value2) { - addCriterion("permission not between", value1, value2, "permission"); - return (Criteria) this; - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated do_not_delete_during_merge Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criteria extends GeneratedCriteria { - - protected Criteria() { - super(); - } - } - - /** - * This class was generated by MyBatis Generator. - * This class corresponds to the database table guacamole..guacamole_user_permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public static class Criterion { - private String condition; - - private Object value; - - private Object secondValue; - - private boolean noValue; - - private boolean singleValue; - - private boolean betweenValue; - - private boolean listValue; - - private String typeHandler; - - public String getCondition() { - return condition; - } - - public Object getValue() { - return value; - } - - public Object getSecondValue() { - return secondValue; - } - - public boolean isNoValue() { - return noValue; - } - - public boolean isSingleValue() { - return singleValue; - } - - public boolean isBetweenValue() { - return betweenValue; - } - - public boolean isListValue() { - return listValue; - } - - public String getTypeHandler() { - return typeHandler; - } - - protected Criterion(String condition) { - super(); - this.condition = condition; - this.typeHandler = null; - this.noValue = true; - } - - protected Criterion(String condition, Object value, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.typeHandler = typeHandler; - if (value instanceof List) { - this.listValue = true; - } else { - this.singleValue = true; - } - } - - protected Criterion(String condition, Object value) { - this(condition, value, null); - } - - protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { - super(); - this.condition = condition; - this.value = value; - this.secondValue = secondValue; - this.typeHandler = typeHandler; - this.betweenValue = true; - } - - protected Criterion(String condition, Object value, Object secondValue) { - this(condition, value, secondValue, null); - } - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserPermissionKey.java b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserPermissionKey.java deleted file mode 100644 index f9e966bb7..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/model/guacamole/UserPermissionKey.java +++ /dev/null @@ -1,99 +0,0 @@ -package net.sourceforge.guacamole.net.auth.mysql.model.guacamole; - -public class UserPermissionKey { - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_user_permission.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private Integer user_id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_user_permission.affected_user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private Integer affected_user_id; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column guacamole..guacamole_user_permission.permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - private String permission; - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_user_permission.user_id - * - * @return the value of guacamole..guacamole_user_permission.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Integer getUser_id() { - return user_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_user_permission.user_id - * - * @param user_id the value for guacamole..guacamole_user_permission.user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setUser_id(Integer user_id) { - this.user_id = user_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_user_permission.affected_user_id - * - * @return the value of guacamole..guacamole_user_permission.affected_user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public Integer getAffected_user_id() { - return affected_user_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_user_permission.affected_user_id - * - * @param affected_user_id the value for guacamole..guacamole_user_permission.affected_user_id - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setAffected_user_id(Integer affected_user_id) { - this.affected_user_id = affected_user_id; - } - - /** - * This method was generated by MyBatis Generator. - * This method returns the value of the database column guacamole..guacamole_user_permission.permission - * - * @return the value of guacamole..guacamole_user_permission.permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public String getPermission() { - return permission; - } - - /** - * This method was generated by MyBatis Generator. - * This method sets the value of the database column guacamole..guacamole_user_permission.permission - * - * @param permission the value for guacamole..guacamole_user_permission.permission - * - * @mbggenerated Tue Feb 05 15:45:11 PST 2013 - */ - public void setPermission(String permission) { - this.permission = permission == null ? null : permission.trim(); - } -} \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionMapper.xml b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionMapper.xml deleted file mode 100644 index 376ac3269..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionMapper.xml +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - connection_id, connection_name, protocol - - - - - - delete from guacamole..guacamole_connection - where connection_id = #{connection_id,jdbcType=INTEGER} - - - - delete from guacamole..guacamole_connection - - - - - - - insert into guacamole..guacamole_connection (connection_id, connection_name, protocol - ) - values (#{connection_id,jdbcType=INTEGER}, #{connection_name,jdbcType=VARCHAR}, #{protocol,jdbcType=VARCHAR} - ) - - - - insert into guacamole..guacamole_connection - - - connection_id, - - - connection_name, - - - protocol, - - - - - #{connection_id,jdbcType=INTEGER}, - - - #{connection_name,jdbcType=VARCHAR}, - - - #{protocol,jdbcType=VARCHAR}, - - - - - - - update guacamole..guacamole_connection - - - connection_id = #{record.connection_id,jdbcType=INTEGER}, - - - connection_name = #{record.connection_name,jdbcType=VARCHAR}, - - - protocol = #{record.protocol,jdbcType=VARCHAR}, - - - - - - - - - update guacamole..guacamole_connection - set connection_id = #{record.connection_id,jdbcType=INTEGER}, - connection_name = #{record.connection_name,jdbcType=VARCHAR}, - protocol = #{record.protocol,jdbcType=VARCHAR} - - - - - - - update guacamole..guacamole_connection - - - connection_name = #{connection_name,jdbcType=VARCHAR}, - - - protocol = #{protocol,jdbcType=VARCHAR}, - - - where connection_id = #{connection_id,jdbcType=INTEGER} - - - - update guacamole..guacamole_connection - set connection_name = #{connection_name,jdbcType=VARCHAR}, - protocol = #{protocol,jdbcType=VARCHAR} - where connection_id = #{connection_id,jdbcType=INTEGER} - - \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionParameterMapper.xml b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionParameterMapper.xml deleted file mode 100644 index 44b175d1f..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionParameterMapper.xml +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - connection_id, parameter_name, parameter_value - - - - - - delete from guacamole..guacamole_connection_parameter - where connection_id = #{connection_id,jdbcType=INTEGER} - and parameter_name = #{parameter_name,jdbcType=VARCHAR} - - - - delete from guacamole..guacamole_connection_parameter - - - - - - - insert into guacamole..guacamole_connection_parameter (connection_id, parameter_name, parameter_value - ) - values (#{connection_id,jdbcType=INTEGER}, #{parameter_name,jdbcType=VARCHAR}, #{parameter_value,jdbcType=VARCHAR} - ) - - - - insert into guacamole..guacamole_connection_parameter - - - connection_id, - - - parameter_name, - - - parameter_value, - - - - - #{connection_id,jdbcType=INTEGER}, - - - #{parameter_name,jdbcType=VARCHAR}, - - - #{parameter_value,jdbcType=VARCHAR}, - - - - - - - update guacamole..guacamole_connection_parameter - - - connection_id = #{record.connection_id,jdbcType=INTEGER}, - - - parameter_name = #{record.parameter_name,jdbcType=VARCHAR}, - - - parameter_value = #{record.parameter_value,jdbcType=VARCHAR}, - - - - - - - - - update guacamole..guacamole_connection_parameter - set connection_id = #{record.connection_id,jdbcType=INTEGER}, - parameter_name = #{record.parameter_name,jdbcType=VARCHAR}, - parameter_value = #{record.parameter_value,jdbcType=VARCHAR} - - - - - - - update guacamole..guacamole_connection_parameter - - - parameter_value = #{parameter_value,jdbcType=VARCHAR}, - - - where connection_id = #{connection_id,jdbcType=INTEGER} - and parameter_name = #{parameter_name,jdbcType=VARCHAR} - - - - update guacamole..guacamole_connection_parameter - set parameter_value = #{parameter_value,jdbcType=VARCHAR} - where connection_id = #{connection_id,jdbcType=INTEGER} - and parameter_name = #{parameter_name,jdbcType=VARCHAR} - - \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionPermissionMapper.xml b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionPermissionMapper.xml deleted file mode 100644 index 8f522958b..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/ConnectionPermissionMapper.xml +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - user_id, connection_id, permission - - - - - delete from guacamole..guacamole_connection_permission - where user_id = #{user_id,jdbcType=INTEGER} - and connection_id = #{connection_id,jdbcType=INTEGER} - and permission = #{permission,jdbcType=CHAR} - - - - delete from guacamole..guacamole_connection_permission - - - - - - - insert into guacamole..guacamole_connection_permission (user_id, connection_id, permission - ) - values (#{user_id,jdbcType=INTEGER}, #{connection_id,jdbcType=INTEGER}, #{permission,jdbcType=CHAR} - ) - - - - insert into guacamole..guacamole_connection_permission - - - user_id, - - - connection_id, - - - permission, - - - - - #{user_id,jdbcType=INTEGER}, - - - #{connection_id,jdbcType=INTEGER}, - - - #{permission,jdbcType=CHAR}, - - - - - - - update guacamole..guacamole_connection_permission - - - user_id = #{record.user_id,jdbcType=INTEGER}, - - - connection_id = #{record.connection_id,jdbcType=INTEGER}, - - - permission = #{record.permission,jdbcType=CHAR}, - - - - - - - - - update guacamole..guacamole_connection_permission - set user_id = #{record.user_id,jdbcType=INTEGER}, - connection_id = #{record.connection_id,jdbcType=INTEGER}, - permission = #{record.permission,jdbcType=CHAR} - - - - - \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/SystemPermissionMapper.xml b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/SystemPermissionMapper.xml deleted file mode 100644 index 40f3da6bc..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/SystemPermissionMapper.xml +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - user_id, permission - - - - - delete from guacamole..guacamole_system_permission - where user_id = #{user_id,jdbcType=INTEGER} - and permission = #{permission,jdbcType=CHAR} - - - - delete from guacamole..guacamole_system_permission - - - - - - - insert into guacamole..guacamole_system_permission (user_id, permission) - values (#{user_id,jdbcType=INTEGER}, #{permission,jdbcType=CHAR}) - - - - insert into guacamole..guacamole_system_permission - - - user_id, - - - permission, - - - - - #{user_id,jdbcType=INTEGER}, - - - #{permission,jdbcType=CHAR}, - - - - - - - update guacamole..guacamole_system_permission - - - user_id = #{record.user_id,jdbcType=INTEGER}, - - - permission = #{record.permission,jdbcType=CHAR}, - - - - - - - - - update guacamole..guacamole_system_permission - set user_id = #{record.user_id,jdbcType=INTEGER}, - permission = #{record.permission,jdbcType=CHAR} - - - - - \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/UserMapper.xml b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/UserMapper.xml deleted file mode 100644 index d1abca0f6..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/UserMapper.xml +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - user_id, username, password_salt - - - - password_hash - - - - - - - delete from guacamole..guacamole_user - where user_id = #{user_id,jdbcType=INTEGER} - - - - delete from guacamole..guacamole_user - - - - - - - insert into guacamole..guacamole_user (user_id, username, password_salt, - password_hash) - values (#{user_id,jdbcType=INTEGER}, #{username,jdbcType=VARCHAR}, #{password_salt,jdbcType=VARCHAR}, - #{password_hash,jdbcType=BINARY}) - - - - insert into guacamole..guacamole_user - - - user_id, - - - username, - - - password_salt, - - - password_hash, - - - - - #{user_id,jdbcType=INTEGER}, - - - #{username,jdbcType=VARCHAR}, - - - #{password_salt,jdbcType=VARCHAR}, - - - #{password_hash,jdbcType=BINARY}, - - - - - - - update guacamole..guacamole_user - - - user_id = #{record.user_id,jdbcType=INTEGER}, - - - username = #{record.username,jdbcType=VARCHAR}, - - - password_salt = #{record.password_salt,jdbcType=VARCHAR}, - - - password_hash = #{record.password_hash,jdbcType=BINARY}, - - - - - - - - - update guacamole..guacamole_user - set user_id = #{record.user_id,jdbcType=INTEGER}, - username = #{record.username,jdbcType=VARCHAR}, - password_salt = #{record.password_salt,jdbcType=VARCHAR}, - password_hash = #{record.password_hash,jdbcType=BINARY} - - - - - - - update guacamole..guacamole_user - set user_id = #{record.user_id,jdbcType=INTEGER}, - username = #{record.username,jdbcType=VARCHAR}, - password_salt = #{record.password_salt,jdbcType=VARCHAR} - - - - - - - update guacamole..guacamole_user - - - username = #{username,jdbcType=VARCHAR}, - - - password_salt = #{password_salt,jdbcType=VARCHAR}, - - - password_hash = #{password_hash,jdbcType=BINARY}, - - - where user_id = #{user_id,jdbcType=INTEGER} - - - - update guacamole..guacamole_user - set username = #{username,jdbcType=VARCHAR}, - password_salt = #{password_salt,jdbcType=VARCHAR}, - password_hash = #{password_hash,jdbcType=BINARY} - where user_id = #{user_id,jdbcType=INTEGER} - - - - update guacamole..guacamole_user - set username = #{username,jdbcType=VARCHAR}, - password_salt = #{password_salt,jdbcType=VARCHAR} - where user_id = #{user_id,jdbcType=INTEGER} - - \ No newline at end of file diff --git a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/UserPermissionMapper.xml b/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/UserPermissionMapper.xml deleted file mode 100644 index 5d27de207..000000000 --- a/extensions/guacamole-auth-mysql/src/net/sourceforge/guacamole/net/auth/mysql/xml/guacamole/UserPermissionMapper.xml +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - user_id, affected_user_id, permission - - - - - delete from guacamole..guacamole_user_permission - where user_id = #{user_id,jdbcType=INTEGER} - and affected_user_id = #{affected_user_id,jdbcType=INTEGER} - and permission = #{permission,jdbcType=CHAR} - - - - delete from guacamole..guacamole_user_permission - - - - - - - insert into guacamole..guacamole_user_permission (user_id, affected_user_id, permission - ) - values (#{user_id,jdbcType=INTEGER}, #{affected_user_id,jdbcType=INTEGER}, #{permission,jdbcType=CHAR} - ) - - - - insert into guacamole..guacamole_user_permission - - - user_id, - - - affected_user_id, - - - permission, - - - - - #{user_id,jdbcType=INTEGER}, - - - #{affected_user_id,jdbcType=INTEGER}, - - - #{permission,jdbcType=CHAR}, - - - - - - - update guacamole..guacamole_user_permission - - - user_id = #{record.user_id,jdbcType=INTEGER}, - - - affected_user_id = #{record.affected_user_id,jdbcType=INTEGER}, - - - permission = #{record.permission,jdbcType=CHAR}, - - - - - - - - - update guacamole..guacamole_user_permission - set user_id = #{record.user_id,jdbcType=INTEGER}, - affected_user_id = #{record.affected_user_id,jdbcType=INTEGER}, - permission = #{record.permission,jdbcType=CHAR} - - - - - \ No newline at end of file