All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jeeplus.modules.database.datalink.web.DataSourceController.class Maven / Gradle / Ivy

There is a newer version: 4.3
Show newest version
????4y>com/jeeplus/modules/database/datalink/web/DataSourceController1com/jeeplus/database/persistence/DsBaseControllerqa+Lorg/springframework/stereotype/Controller;8Lorg/springframework/web/bind/annotation/RequestMapping;value)${adminPath}/database/datalink/dataSource
ALLATORIxDEMOALcom/jeeplus/modules/database/datalink/service/DataSourceService;8Lorg/springframework/beans/factory/annotation/Autowired;data?(Lcom/jeeplus/modules/database/datalink/entity/DataSource;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/springframework/ui/Model;)Ljava/util/Map;?(Lcom/jeeplus/modules/database/datalink/entity/DataSource;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/springframework/ui/Model;)Ljava/util/Map;6Lorg/springframework/web/bind/annotation/ResponseBody;7Lorg/apache/shiro/authz/annotation/RequiresPermissions;!database:datalink:dataSource:listdsProperites2Lcom/jeeplus/modules/database/config/DsProperites;	0com/jeeplus/modules/database/config/DsProperitesgetPage()Ljava/lang/String;
java/lang/Class%javax/servlet/http/HttpServletRequest&javax/servlet/http/HttpServletResponse!java/lang/Object#-com/jeeplus/database/persistence/DsClassUtils%createInstanceK(Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;'(
&)
	+?com/jeeplus/modules/database/datalink/service/DataSourceService-findPage_(Ljava/lang/Object;Lcom/jeeplus/modules/database/datalink/entity/DataSource;)Ljava/lang/Object;/0
.1getBootstrapData#(Ljava/lang/Object;)Ljava/util/Map;34
5a@Lcom/jeeplus/modules/database/datalink/web/DataSourceController;9Lcom/jeeplus/modules/database/datalink/entity/DataSource;'Ljavax/servlet/http/HttpServletRequest;(Ljavax/servlet/http/HttpServletResponse;Lorg/springframework/ui/Model;save?(Lcom/jeeplus/modules/database/datalink/entity/DataSource;Lorg/springframework/ui/Model;)Lcom/jeeplus/database/persistence/DsAjaxJson;java/lang/Exception? database:datalink:dataSource:add!database:datalink:dataSource:editlogical+Lorg/apache/shiro/authz/annotation/Logical;OR+com/jeeplus/database/persistence/DsAjaxJsonF()VHI
GJ
beanValidator8(Ljava/lang/Object;[Ljava/lang/Class;)Ljava/lang/String;LM
N.com/jeeplus/database/persistence/DsStringUtilsP
isNotBlank(Ljava/lang/CharSequence;)ZRS
QT
setSuccess(Z)VVW
GXsetMsg(Ljava/lang/String;)VZ[
G\^7com/jeeplus/modules/database/datalink/entity/DataSource`getIdb
acgetM(Ljava/lang/String;)Lcom/jeeplus/modules/database/datalink/entity/DataSource;ef
.g	getEnNamei
ajgetTypel
amgetHosto
apgetPortr
asjava/lang/IntegeruvalueOf'(Ljava/lang/String;)Ljava/lang/Integer;wx
vyintValue()I{|
v}	getDbname
a?toUrlK(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;??
.?setUrl?[
a?<(Lcom/jeeplus/modules/database/datalink/entity/DataSource;)V=?
.?1com/jeeplus/modules/database/datalink/jdbc/DBPool?getInstance5()Lcom/jeeplus/modules/database/datalink/jdbc/DBPool;??
??destroy?[
??createn(Lcom/jeeplus/modules/database/datalink/entity/DataSource;)Lcom/jeeplus/modules/database/datalink/jdbc/DBPool;??
??侒嬍政挻廜辋揪扅勐?4com/jeeplus/modules/database/datatable/entity/JTable?&(Ljava/lang/String;)Ljava/lang/String;
?
??java/lang/Throwable?java/lang/String?test?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/jeeplus/database/persistence/DsAjaxJson;/test6Lorg/springframework/web/bind/annotation/RequestParam;typerequiredhostportdbnameusernamepasswordisBlank?S
Q?酱罕保恔丱兓?:com/jeeplus/database/datasource/DynamicDataSourceConfigure?
??	getDriver??
.?K(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z??
??辋揪扅勐?迢掞复贞?thisLjava/lang/String;Ljava/lang/Integer;	treeData2:(Ljavax/servlet/http/HttpServletResponse;)Ljava/util/List;q(Ljavax/servlet/http/HttpServletResponse;)Ljava/util/List;>;com/google/common/collect/Lists?newArrayList()Ljava/util/ArrayList;??
??com/google/common/collect/Maps?
newHashMap()Ljava/util/HashMap;??
??<+?
V]HH^NLZN^RO?
java/util/Map?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????%.'*;;?#?H^DO?麗诱政挻滟?HBL^?= &;?java/util/List?add(Ljava/lang/Object;)Z????U_?master?!*-;?朗圌敋捒庨?0!.8*?1-?
aJfindListK(Lcom/jeeplus/modules/database/datalink/entity/DataSource;)Ljava/util/List;??
.?java/util/HashSet
Jsize|?(I)Ljava/lang/Object;e?YUrZQ^
getName
a
?iterator()Ljava/util/Iterator;
java/util/IteratorhasNext()Znext()Ljava/lang/Object;!6%*TTOO :?0!0+"java/lang/Boolean$(Z)Ljava/lang/Boolean;w&
%'HHZH^)java/util/ArrayList+form}(Ljava/lang/String;Lcom/jeeplus/modules/database/datalink/entity/DataSource;Lorg/springframework/ui/Model;)Ljava/lang/String;!database:datalink:dataSource:viewform/{mode}6Lorg/springframework/web/bind/annotation/PathVariable;mode(8 1:9*&`1.!.7.&*z+4;4#`1.!.  =6* '"38 1*5org/springframework/ui/Model7addAttributeD(Ljava/lang/String;Ljava/lang/Object;)Lorg/springframework/ui/Model;9:8;
XZHZoTII_^=
dataSourcedeleteA(Ljava/lang/String;)Lcom/jeeplus/database/persistence/DsAjaxJson; database:datalink:dataSource:delidsDsplit'(Ljava/lang/String;)[Ljava/lang/String;FG
?H@?
.J副阱政挻廜辋揪扅勐L[Ljava/lang/String;Nlistk(Lcom/jeeplus/modules/database/datalink/entity/DataSource;Lorg/springframework/ui/Model;)Ljava/lang/String;(8 1:9*&`1.!.7.&*z+4;4#`1.!.  =6*&&;RtreeDataXYULZN^ROWSKYUY_Yq5??GY?KM*+?YX?OYN?U?-,Z[?Y?]??_N+?d?U?*?,+?d?h?kN+*?,+?n+?q+?t?z?~+??????-*?,+???U?
??-????+???,Z?Y???]W,?u!?(??aG?6rB_??$w'?)'6?E!go?u|M?~????s ?78?79?7<v@p([sAsBCeDE[s=??qt??GY?K:+???,??????????Z?Y???]????*?,+??*?,+,-?~??????Z[?Y???]???Z?Y???]?uZ?'G?????v???G?4????v???Gr2?	4'?2?8:^Rh?np?{y??sH??8????????????????7?p[s?wa?s??Z??s??Z??s??Z??s??Z??s??Z??s??Z???q#??L??YMո?׸???,߸???,??????,??????+,????YM????,߸?׸???,????????,?????,???????+,??*?,?aY???M?Y?N6WXXXXX,???,?	?a:??Y:???d??߸??q?????k???????????????+??-??q?WXXX??v?-?Y:??????:??Y:????߸?????????!??????YM#???(??*??,??+??WXXX??{?+?un??,?????,??,$????,$r?'".	??%5#E4LnQ?]?m?}?9?????X???9?K?<?7??
"3f;?G?QYlr?~O?S?J???s?D???s?78?7;t?p[s?-.qr"4-6??+?<->??,?<X???r?\s*"?8"2?"?9"7<p'[s/sAsBCeDE[s0w1s2@Aq?X?GY?KM+E???IYL?>Y6?1+2:*Y?,?h:?,?K????k????ҿ,YM???]?u1?OG?0??OGr&	E?$'0?8)F?L8W?sX?8X7?p[sB[s@w?sC?Z?PQqWS,>??+?<W???r
7Hs 78797<p[s[sPs^T?q5-??L*?,?aY???M?Y?NY6,??w,?	?a:??Y:???d??߸??q?????????V????+??-??q?XXX????-?Y:??????:??Y:ո???X?????????????????YMZ???(??\??,??+??WXXX??|?+?un?,??{??,??,$????,$rf??m@(?5^;LJ[?l??j?@?[?????G????????b?'J+	s-78-7;t?p[sT]^q?7,?,+?d?f????,?*?,???,?j?f????l???u.??????????r???(0?s 7?87`?77?p[s_w!?s`?Z??sa?Z?HIq/*?m?r3s78efqw M+?U?*?,+?hM,??aY??M,?u	?ark?	?z?s ?8 7?pnw?so?Z?xp[s	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy