├── webside-dtgrid ├── .gitignore ├── src │ ├── main │ │ ├── webapp │ │ │ ├── index.html │ │ │ ├── META-INF │ │ │ │ └── MANIFEST.MF │ │ │ ├── resources │ │ │ │ ├── css │ │ │ │ │ └── customer │ │ │ │ │ │ ├── webside.min.css │ │ │ │ │ │ └── webside-icon.min.css │ │ │ │ ├── images │ │ │ │ │ ├── logo.png │ │ │ │ │ ├── user.jpg │ │ │ │ │ ├── webside.ico │ │ │ │ │ ├── background │ │ │ │ │ │ ├── 1.jpg │ │ │ │ │ │ ├── 2.jpg │ │ │ │ │ │ ├── 3.jpg │ │ │ │ │ │ ├── 4.jpg │ │ │ │ │ │ └── 5.jpg │ │ │ │ │ └── logo_no_title.png │ │ │ │ ├── fonts │ │ │ │ │ ├── webside │ │ │ │ │ │ ├── webside.eot │ │ │ │ │ │ ├── webside.ttf │ │ │ │ │ │ └── webside.woff │ │ │ │ │ ├── fontawesome │ │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ │ ├── opensans │ │ │ │ │ │ ├── OpenSans-300.woff │ │ │ │ │ │ ├── OpenSans-400.woff │ │ │ │ │ │ └── ace-fonts.min.css │ │ │ │ │ └── glyphicons │ │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ └── js │ │ │ │ │ ├── cronGen │ │ │ │ │ └── cronGen.css │ │ │ │ │ ├── jstree │ │ │ │ │ ├── themes │ │ │ │ │ │ ├── default │ │ │ │ │ │ │ ├── 32px.png │ │ │ │ │ │ │ ├── 40px.png │ │ │ │ │ │ │ └── throbber.gif │ │ │ │ │ │ └── default-dark │ │ │ │ │ │ │ ├── 32px.png │ │ │ │ │ │ │ ├── 40px.png │ │ │ │ │ │ │ └── throbber.gif │ │ │ │ │ └── .gitignore │ │ │ │ │ ├── layer-v2.3 │ │ │ │ │ └── skin │ │ │ │ │ │ └── default │ │ │ │ │ │ ├── icon.png │ │ │ │ │ │ ├── icon-ext.png │ │ │ │ │ │ ├── loading-0.gif │ │ │ │ │ │ ├── loading-1.gif │ │ │ │ │ │ └── loading-2.gif │ │ │ │ │ ├── backgroundSlider │ │ │ │ │ ├── backgroundSlider.css │ │ │ │ │ └── backgroundSlider.min.js │ │ │ │ │ ├── datepicker │ │ │ │ │ └── locales │ │ │ │ │ │ └── bootstrap-datepicker.zh-CN.min.js │ │ │ │ │ ├── select2 │ │ │ │ │ └── zh-CN.js │ │ │ │ │ ├── jquery-validation │ │ │ │ │ └── localization │ │ │ │ │ │ └── messages_zh.js │ │ │ │ │ └── jqueryui │ │ │ │ │ └── jquery.ui.touch-punch.min.js │ │ │ ├── apidoc │ │ │ │ ├── img │ │ │ │ │ └── favicon.ico │ │ │ │ ├── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ ├── api_project.json │ │ │ │ ├── api_project.js │ │ │ │ ├── vendor │ │ │ │ │ ├── prettify │ │ │ │ │ │ ├── prettify.css │ │ │ │ │ │ ├── lang-rd.js │ │ │ │ │ │ ├── lang-latex.js │ │ │ │ │ │ ├── lang-tex.js │ │ │ │ │ │ ├── lang-go.js │ │ │ │ │ │ ├── lang-proto.js │ │ │ │ │ │ ├── lang-ll.js │ │ │ │ │ │ ├── lang-llvm.js │ │ │ │ │ │ ├── lang-yaml.js │ │ │ │ │ │ ├── lang-yml.js │ │ │ │ │ │ ├── lang-cbm.js │ │ │ │ │ │ ├── lang-basic.js │ │ │ │ │ │ ├── lang-wiki.js │ │ │ │ │ │ ├── lang-lua.js │ │ │ │ │ │ ├── lang-erl.js │ │ │ │ │ │ ├── lang-erlang.js │ │ │ │ │ │ ├── lang-hs.js │ │ │ │ │ │ ├── lang-tcl.js │ │ │ │ │ │ ├── lang-pascal.js │ │ │ │ │ │ ├── lang-r.js │ │ │ │ │ │ ├── lang-s.js │ │ │ │ │ │ ├── lang-Splus.js │ │ │ │ │ │ ├── lang-cl.js │ │ │ │ │ │ ├── lang-el.js │ │ │ │ │ │ ├── lang-lsp.js │ │ │ │ │ │ ├── lang-rkt.js │ │ │ │ │ │ ├── lang-scm.js │ │ │ │ │ │ ├── lang-ss.js │ │ │ │ │ │ ├── lang-lisp.js │ │ │ │ │ │ └── lang-lgt.js │ │ │ │ │ └── path-to-regexp │ │ │ │ │ │ └── LICENSE │ │ │ │ └── locales │ │ │ │ │ ├── zh.js │ │ │ │ │ ├── zh_cn.js │ │ │ │ │ ├── tr.js │ │ │ │ │ ├── pl.js │ │ │ │ │ ├── ca.js │ │ │ │ │ ├── vi.js │ │ │ │ │ ├── ro.js │ │ │ │ │ ├── de.js │ │ │ │ │ ├── pt_br.js │ │ │ │ │ ├── ru.js │ │ │ │ │ ├── es.js │ │ │ │ │ ├── nl.js │ │ │ │ │ ├── fr.js │ │ │ │ │ ├── it.js │ │ │ │ │ └── locale.js │ │ │ └── WEB-INF │ │ │ │ └── view │ │ │ │ └── error │ │ │ │ └── error-404.jsp │ │ ├── resources │ │ │ ├── ip2regiondata │ │ │ │ └── ip2region.db │ │ │ ├── redis.properties │ │ │ ├── spring │ │ │ │ ├── spring-ip2region.xml │ │ │ │ ├── spring-ehcache.xml │ │ │ │ ├── spring-flyway.xml │ │ │ │ └── spring-redis.xml │ │ │ ├── webside.properties │ │ │ └── shiroAuth.props │ │ └── java │ │ │ └── com │ │ │ └── webside │ │ │ ├── enums │ │ │ ├── ExportType.java │ │ │ ├── EmailDescription.java │ │ │ └── MediaTypes.java │ │ │ ├── common │ │ │ ├── Common.java │ │ │ └── model │ │ │ │ └── Select2Entity.java │ │ │ ├── loginfo │ │ │ ├── mapper │ │ │ │ └── LogInfoMapper.java │ │ │ └── service │ │ │ │ ├── LogInfoService.java │ │ │ │ └── impl │ │ │ │ └── LogInfoServiceImpl.java │ │ │ ├── logininfo │ │ │ ├── mapper │ │ │ │ └── LoginInfoMapper.java │ │ │ └── service │ │ │ │ ├── LoginInfoService.java │ │ │ │ └── impl │ │ │ │ └── LoginInfoServiceImpl.java │ │ │ ├── quartz │ │ │ ├── mapper │ │ │ │ └── ScheduleJobMapper.java │ │ │ ├── job │ │ │ │ ├── SimpleJob.java │ │ │ │ ├── InjectJob.java │ │ │ │ └── stateful │ │ │ │ │ └── EmailStatefulJob.java │ │ │ └── extension │ │ │ │ └── AutowiringSpringBeanJobFactory.java │ │ │ ├── shiro │ │ │ ├── cache │ │ │ │ ├── ShiroCacheManager.java │ │ │ │ ├── redis │ │ │ │ │ └── RedisShiroCacheManager.java │ │ │ │ ├── CustomShiroCacheManager.java │ │ │ │ └── ehcache │ │ │ │ │ └── EhCacheShiroCacheManager.java │ │ │ └── session │ │ │ │ ├── SessionStatus.java │ │ │ │ └── ShiroSessionRepository.java │ │ │ ├── base │ │ │ ├── basecontroller │ │ │ │ └── BaseController.java │ │ │ ├── basemodel │ │ │ │ └── BaseEntity.java │ │ │ └── basemapper │ │ │ │ └── BaseMapper.java │ │ │ ├── roleresource │ │ │ └── service │ │ │ │ ├── RoleResourceService.java │ │ │ │ └── impl │ │ │ │ └── RoleResourceServiceImpl.java │ │ │ ├── util │ │ │ ├── DatePropertyEditorUtil.java │ │ │ ├── IpUtil.java │ │ │ ├── PageUtil.java │ │ │ └── EmailUtil.java │ │ │ ├── ip2region │ │ │ └── DbMakerConfigException.java │ │ │ ├── dtgrid │ │ │ └── model │ │ │ │ └── Sort.java │ │ │ ├── thread │ │ │ └── WorkerItem.java │ │ │ ├── exception │ │ │ ├── RestException.java │ │ │ ├── AjaxException.java │ │ │ ├── SystemException.java │ │ │ ├── ServiceException.java │ │ │ └── controller │ │ │ │ └── RestExceptionHandler.java │ │ │ ├── user │ │ │ ├── service │ │ │ │ └── UserService.java │ │ │ └── mapper │ │ │ │ └── UserMapper.java │ │ │ ├── role │ │ │ └── service │ │ │ │ └── RoleService.java │ │ │ ├── listener │ │ │ └── InitializationListener.java │ │ │ └── resource │ │ │ └── service │ │ │ └── ResourceService.java │ └── test │ │ └── java │ │ └── com │ │ └── webside │ │ ├── enums │ │ └── TestEnum.java │ │ ├── string │ │ └── TestStringEqual.java │ │ ├── props │ │ └── TestJodd.java │ │ ├── crypt │ │ └── ShiroEncrypt.java │ │ ├── ip2region │ │ └── TestIP.java │ │ └── joda │ │ └── TestJoda.java ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.ws.service.policy.prefs │ ├── org.eclipse.ltk.core.refactoring.prefs │ ├── org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs │ ├── org.eclipse.core.resources.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── .jsdtscope │ ├── org.eclipse.jdt.core.prefs │ └── org.eclipse.wst.common.component ├── apidoc.json ├── .externalToolBuilders │ ├── org.eclipse.wst.validation.validationbuilder.launch │ └── org.eclipse.wst.jsdt.core.javascriptValidator.launch └── .classpath ├── .gitignore ├── .gitattributes ├── src └── main │ └── webapp │ └── apidoc │ ├── img │ └── favicon.ico │ ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 │ ├── api_project.json │ ├── api_project.js │ ├── vendor │ ├── prettify │ │ ├── prettify.css │ │ ├── lang-rd.js │ │ ├── lang-latex.js │ │ ├── lang-tex.js │ │ ├── lang-go.js │ │ ├── lang-proto.js │ │ ├── lang-ll.js │ │ ├── lang-llvm.js │ │ ├── lang-yaml.js │ │ ├── lang-yml.js │ │ ├── lang-cbm.js │ │ ├── lang-basic.js │ │ ├── lang-wiki.js │ │ ├── lang-lua.js │ │ ├── lang-erl.js │ │ ├── lang-erlang.js │ │ ├── lang-hs.js │ │ ├── lang-tcl.js │ │ ├── lang-pascal.js │ │ ├── lang-r.js │ │ ├── lang-s.js │ │ ├── lang-Splus.js │ │ ├── lang-cl.js │ │ ├── lang-el.js │ │ ├── lang-lsp.js │ │ ├── lang-rkt.js │ │ ├── lang-scm.js │ │ ├── lang-ss.js │ │ ├── lang-lisp.js │ │ ├── lang-lgt.js │ │ └── lang-logtalk.js │ └── path-to-regexp │ │ └── LICENSE │ └── locales │ ├── zh.js │ ├── zh_cn.js │ ├── tr.js │ ├── pl.js │ ├── ca.js │ ├── vi.js │ ├── ro.js │ ├── de.js │ ├── pt_br.js │ ├── ru.js │ ├── es.js │ ├── nl.js │ ├── fr.js │ ├── it.js │ └── locale.js └── README.md /webside-dtgrid/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=java 2 | *.css linguist-language=java 3 | *.jsp linguist-language=java 4 | -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/src/main/webapp/apidoc/img/favicon.ico -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/css/customer/webside.min.css: -------------------------------------------------------------------------------- 1 | .dlshouwen-grid-header {background: #00a2ca;color: white;} 2 | -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/apidoc/img/favicon.ico -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.wst.ws.service.policy.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.wst.ws.service.policy.projectEnabled=false 3 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/images/logo.png -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/images/user.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/images/user.jpg -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/images/webside.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/images/webside.ico -------------------------------------------------------------------------------- /src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /webside-dtgrid/src/main/resources/ip2regiondata/ip2region.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/resources/ip2regiondata/ip2region.db -------------------------------------------------------------------------------- /src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.ltk.core.refactoring.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false 3 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/images/background/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/images/background/1.jpg -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/images/background/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/images/background/2.jpg -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/images/background/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/images/background/3.jpg -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/images/background/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/images/background/4.jpg -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/images/background/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/images/background/5.jpg -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/webside/webside.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/webside/webside.eot -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/webside/webside.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/webside/webside.ttf -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/images/logo_no_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/images/logo_no_title.png -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/webside/webside.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/webside/webside.woff -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/cronGen/cronGen.css: -------------------------------------------------------------------------------- 1 | .line { 2 | height: 25px; 3 | line-height: 20px; 4 | margin: 3px; 5 | } 6 | .imp { 7 | padding-left: 25px; 8 | } -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/fontawesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/fontawesome/FontAwesome.otf -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/opensans/OpenSans-300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/opensans/OpenSans-300.woff -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/opensans/OpenSans-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/opensans/OpenSans-400.woff -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default/32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default/32px.png -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default/40px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default/40px.png -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/layer-v2.3/skin/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/layer-v2.3/skin/default/icon.png -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/apidoc/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default-dark/32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default-dark/32px.png -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default-dark/40px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default-dark/40px.png -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default/throbber.gif -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs: -------------------------------------------------------------------------------- 1 | XDOCLETBUILDERACTIVE=true 2 | XDOCLETHOME= 3 | XDOCLETUSEGLOBAL=true 4 | XDOCLETVERSION=1.2.1 5 | eclipse.preferences.version=1 6 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/layer-v2.3/skin/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/layer-v2.3/skin/default/icon-ext.png -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/layer-v2.3/skin/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/layer-v2.3/skin/default/loading-0.gif -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/layer-v2.3/skin/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/layer-v2.3/skin/default/loading-1.gif -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/layer-v2.3/skin/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/layer-v2.3/skin/default/loading-2.gif -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/fontawesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/fontawesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/fontawesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/fontawesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/fontawesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/fontawesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/fontawesome/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/fontawesome/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default-dark/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/js/jstree/themes/default-dark/throbber.gif -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/glyphicons/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/glyphicons/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/glyphicons/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/glyphicons/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/glyphicons/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/glyphicons/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/glyphicons/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wjggwm/webside/HEAD/webside-dtgrid/src/main/webapp/resources/fonts/glyphicons/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/backgroundSlider/backgroundSlider.css: -------------------------------------------------------------------------------- 1 | #backgroundSlider{width:100%; height:100%; z-index:-999; position:absolute; top:0px; left:0px;} 2 | #backgroundSlider img{width:100%; height:100%; display:none; position:absolute;} -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/main/resources=UTF-8 4 | encoding//src/test/java=UTF-8 5 | encoding//src/test/resources=UTF-8 6 | encoding/=UTF-8 7 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/jstree/.gitignore: -------------------------------------------------------------------------------- 1 | /debug 2 | /jstree.sublime-project 3 | /jstree.sublime-workspace 4 | /bower_components 5 | /node_modules 6 | /site 7 | /nuget 8 | /demo/filebrowser/data/root 9 | /npm.txt 10 | /libs 11 | /docs 12 | /dist/libs 13 | -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/enums/ExportType.java: -------------------------------------------------------------------------------- 1 | package com.webside.enums; 2 | 3 | /** 4 | * 5 | * @ClassName: ExportType 6 | * @Description: dtgrid表格文件导出类型枚举 7 | * @author gaogang 8 | * @date 2016年7月12日 下午3:10:41 9 | * 10 | */ 11 | public enum ExportType { 12 | EXCEL, 13 | CSV, 14 | PDF, 15 | TXT 16 | } 17 | -------------------------------------------------------------------------------- /webside-dtgrid/apidoc.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webside api doc", 3 | "version": "1.0.0", 4 | "description": "webside Attentively, professionally, free and open source", 5 | "title": "webside api doc", 6 | "url": "http://127.0.0.1:8080/webside/", 7 | "forceLanguage": "zh-cn", 8 | "template": 9 | { 10 | "withCompare": true, 11 | "withGenerator": true 12 | } 13 | } -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/fonts/opensans/ace-fonts.min.css: -------------------------------------------------------------------------------- 1 | @font-face{font-family:'Open Sans';font-style:normal;font-weight:300;src:local('Open Sans Light'),local('OpenSans-Light'),url(OpenSans-300.woff) format('woff')}@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;src:local('Open Sans'),local('OpenSans'),url(OpenSans-400.woff) format('woff')} -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/common/Common.java: -------------------------------------------------------------------------------- 1 | package com.webside.common; 2 | 3 | /** 4 | * 5 | * @ClassName: Common 6 | * @Description: 公共类 7 | * @author gaogang 8 | * @date 2016年7月12日 下午4:03:46 9 | * 10 | */ 11 | public class Common { 12 | /* 13 | * action访问路径前缀 14 | */ 15 | public static final String BACKGROUND_PATH = "/WEB-INF/view"; 16 | } 17 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/loginfo/mapper/LogInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.webside.loginfo.mapper; 2 | 3 | import org.springframework.stereotype.Repository; 4 | 5 | import com.webside.base.basemapper.BaseMapper; 6 | import com.webside.loginfo.model.LogInfoEntity; 7 | 8 | @Repository 9 | public interface LogInfoMapper extends BaseMapper { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/logininfo/mapper/LoginInfoMapper.java: -------------------------------------------------------------------------------- 1 | package com.webside.logininfo.mapper; 2 | 3 | import org.springframework.stereotype.Repository; 4 | 5 | import com.webside.base.basemapper.BaseMapper; 6 | import com.webside.logininfo.model.LoginInfoEntity; 7 | 8 | @Repository 9 | public interface LoginInfoMapper extends BaseMapper { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/quartz/mapper/ScheduleJobMapper.java: -------------------------------------------------------------------------------- 1 | package com.webside.quartz.mapper; 2 | 3 | import org.springframework.stereotype.Repository; 4 | 5 | import com.webside.base.basemapper.BaseMapper; 6 | import com.webside.quartz.model.ScheduleJobEntity; 7 | 8 | @Repository 9 | public interface ScheduleJobMapper extends BaseMapper{ 10 | 11 | } 12 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/loginfo/service/LogInfoService.java: -------------------------------------------------------------------------------- 1 | package com.webside.loginfo.service; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import com.webside.loginfo.model.LogInfoEntity; 7 | 8 | public interface LogInfoService { 9 | 10 | public int log(LogInfoEntity logInfo); 11 | 12 | public List queryListByPage(Map parameter); 13 | } 14 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/logininfo/service/LoginInfoService.java: -------------------------------------------------------------------------------- 1 | package com.webside.logininfo.service; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import com.webside.logininfo.model.LoginInfoEntity; 7 | 8 | public interface LoginInfoService { 9 | 10 | public int log(LoginInfoEntity loginInfo); 11 | 12 | public List queryListByPage(Map parameter); 13 | } 14 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/shiro/cache/ShiroCacheManager.java: -------------------------------------------------------------------------------- 1 | package com.webside.shiro.cache; 2 | 3 | import org.apache.shiro.cache.Cache; 4 | 5 | /** 6 | * 7 | * @ClassName ShiroCacheManager 8 | * @Description TODO 9 | * 10 | * @author wjggwm 11 | * @data 2016年12月14日 下午5:39:53 12 | */ 13 | public interface ShiroCacheManager { 14 | 15 | Cache getCache(String name); 16 | 17 | void destroy(); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/base/basecontroller/BaseController.java: -------------------------------------------------------------------------------- 1 | package com.webside.base.basecontroller; 2 | 3 | import org.slf4j.Logger; 4 | import org.slf4j.LoggerFactory; 5 | 6 | /** 7 | * 8 | * @Description: controller基类,目前功能比较简单 9 | * @author gaogang 10 | * @date 2016年7月12日 下午3:02:14 11 | * 12 | */ 13 | public abstract class BaseController { 14 | 15 | public Logger logger = LoggerFactory.getLogger(this.getClass()); 16 | 17 | } -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/datepicker/locales/bootstrap-datepicker.zh-CN.min.js: -------------------------------------------------------------------------------- 1 | !function(a){a.fn.datepicker.dates["zh-CN"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["周日","周一","周二","周三","周四","周五","周六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今日",clear:"清除",format:"yyyy年mm月dd日",titleFormat:"yyyy年mm月",weekStart:1}}(jQuery); -------------------------------------------------------------------------------- /webside-dtgrid/src/test/java/com/webside/enums/TestEnum.java: -------------------------------------------------------------------------------- 1 | package com.webside.enums; 2 | 3 | import static org.junit.Assert.assertTrue; 4 | 5 | import org.junit.Test; 6 | 7 | public class TestEnum { 8 | 9 | @Test 10 | public void testEmailDescription() { 11 | assertTrue(EmailDescription.ADD_EMAIL.getSubject() == "账户创建"); 12 | } 13 | 14 | @Test 15 | public void testExportType() 16 | { 17 | System.out.println(ExportType.EXCEL.name()); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/roleresource/service/RoleResourceService.java: -------------------------------------------------------------------------------- 1 | package com.webside.roleresource.service; 2 | 3 | import com.webside.resource.model.ResourceEntity; 4 | 5 | public interface RoleResourceService { 6 | 7 | /** 8 | * 9 | * @Title: insertRoleAndResource 10 | * @Description: 添加资源(权限)时同步给超级管理员赋予该权限 11 | * @param resourceEntity 12 | * @return boolean 13 | * @throws 14 | */ 15 | public boolean insertRoleAndResource(ResourceEntity resourceEntity); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /webside-dtgrid/src/test/java/com/webside/string/TestStringEqual.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.webside.string; 5 | 6 | import org.junit.Test; 7 | 8 | /** 9 | * @ClassName TestStringEqual 10 | * @Description TODO 11 | * 12 | * @author wjggwm 13 | * @data 2017年1月3日 下午5:47:16 14 | */ 15 | public class TestStringEqual { 16 | 17 | @Test 18 | public void testEquals() 19 | { 20 | String str1 = "/scheduleJob/pauseTrigger.html"; 21 | String str2 = "/scheduleJob/pasueTrigger.html"; 22 | System.out.print(str1.equals(str2)); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/quartz/job/SimpleJob.java: -------------------------------------------------------------------------------- 1 | package com.webside.quartz.job; 2 | 3 | import org.quartz.Job; 4 | import org.quartz.JobExecutionContext; 5 | import org.quartz.JobExecutionException; 6 | 7 | /** 8 | * 9 | * @ClassName: SimpleJob 10 | * @Description: 任务具体实现类:普通job 11 | * @author wjggwm 12 | * @date 2016年7月28日 下午4:38:09 13 | * 14 | */ 15 | public class SimpleJob implements Job{ 16 | 17 | @Override 18 | public void execute(JobExecutionContext context) 19 | throws JobExecutionException { 20 | 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/util/DatePropertyEditorUtil.java: -------------------------------------------------------------------------------- 1 | package com.webside.util; 2 | 3 | import java.beans.PropertyEditorSupport; 4 | 5 | import org.joda.time.LocalDate; 6 | import org.joda.time.format.DateTimeFormat; 7 | 8 | public class DatePropertyEditorUtil extends PropertyEditorSupport{ 9 | 10 | @Override 11 | public void setAsText(String arg0) throws IllegalArgumentException { 12 | LocalDate localDate = LocalDate.parse(arg0,DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss")); 13 | this.setValue(localDate.toDate()); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/resources/redis.properties: -------------------------------------------------------------------------------- 1 | #redis\u914d\u7f6e 2 | #host 3 | redis.host=127.0.0.1 4 | #\u7aef\u53e3 5 | redis.port=6379 6 | #password 7 | redis.password=webside 8 | #database 9 | redis.database=0 10 | #\u8d85\u65f6 11 | redis.timeout=1000 12 | #\u6700\u5927\u95f2\u7f6e 13 | redis.maxIdle=10 14 | #\u6700\u5c0f\u95f2\u7f6e 15 | redis.minIdle=1 16 | #\u6700\u5927\u8fde\u63a5\u6570 17 | redis.maxTotal=10 18 | #\u83b7\u53d6\u8fde\u63a5(borrow(\u5f15\u5165)\u4e00\u4e2ajedis\u5b9e\u4f8b)\u65f6\u7684\u6700\u5927\u7b49\u5f85\u6beb\u79d2\u6570 19 | redis.maxWaitMillis=1000 -------------------------------------------------------------------------------- /webside-dtgrid/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /webside-dtgrid/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /webside-dtgrid/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/css/customer/webside-icon.min.css: -------------------------------------------------------------------------------- 1 | .fa-icons{margin:0 -10px 20px;overflow:hidden}.fa-icons-list{padding-left:0;list-style:none}.fa-icons li{float:left;width:25%;height:85px;padding:10px;font-size:10px;line-height:1.4;text-align:center;background-color:#f9f9f9;border:1px solid #fff}.fa-icons .glyphicon{margin-top:5px;margin-bottom:10px;font-size:24px}.fa-icons .fa-icons-class{display:block;text-align:center;word-wrap:break-word}.fa-icons li:hover{color:green;background-color:#f9f9f9;border:3px dotted green;cursor:pointer}@media(min-width :768px){.fa-icons{margin-right:0;margin-left:0}.fa-icons li{width:7.5%;font-size:12px;cursor:point}} -------------------------------------------------------------------------------- /src/main/webapp/apidoc/api_project.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webside api doc", 3 | "version": "1.0.0", 4 | "description": "webside Attentively, professionally, free and open source", 5 | "title": "webside api doc", 6 | "url": "http://127.0.0.1:8080/webside/", 7 | "forceLanguage": "zh-cn", 8 | "template": { 9 | "withCompare": true, 10 | "withGenerator": true 11 | }, 12 | "sampleUrl": false, 13 | "defaultVersion": "0.0.0", 14 | "apidoc": "0.3.0", 15 | "generator": { 16 | "name": "apidoc", 17 | "time": "2017-05-26T06:26:35.278Z", 18 | "url": "http://apidocjs.com", 19 | "version": "0.17.6" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/api_project.js: -------------------------------------------------------------------------------- 1 | define({ 2 | "name": "webside api doc", 3 | "version": "1.0.0", 4 | "description": "webside Attentively, professionally, free and open source", 5 | "title": "webside api doc", 6 | "url": "http://127.0.0.1:8080/webside/", 7 | "forceLanguage": "zh-cn", 8 | "template": { 9 | "withCompare": true, 10 | "withGenerator": true 11 | }, 12 | "sampleUrl": false, 13 | "defaultVersion": "0.0.0", 14 | "apidoc": "0.3.0", 15 | "generator": { 16 | "name": "apidoc", 17 | "time": "2017-05-26T06:26:35.278Z", 18 | "url": "http://apidocjs.com", 19 | "version": "0.17.6" 20 | } 21 | }); 22 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/base/basemodel/BaseEntity.java: -------------------------------------------------------------------------------- 1 | package com.webside.base.basemodel; 2 | 3 | import java.io.Serializable; 4 | 5 | /** 6 | * 7 | * @Description: 统一定义id的BaseEntity基类.基类统一定义id的属性名称、数据类型.子类可重载getId()函数. 8 | * @author gaogang 9 | * @date 2016年7月12日 下午2:59:56 10 | * 11 | */ 12 | public abstract class BaseEntity implements Serializable{ 13 | 14 | private static final long serialVersionUID = 1L; 15 | 16 | /* 17 | * id 18 | */ 19 | protected Long id; 20 | 21 | public Long getId() { 22 | return id; 23 | } 24 | 25 | public void setId(Long id) { 26 | this.id = id; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/api_project.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webside api doc", 3 | "version": "1.0.0", 4 | "description": "webside Attentively, professionally, free and open source", 5 | "title": "webside api doc", 6 | "url": "http://127.0.0.1:8080/webside/", 7 | "forceLanguage": "zh-cn", 8 | "template": { 9 | "withCompare": true, 10 | "withGenerator": true 11 | }, 12 | "sampleUrl": false, 13 | "defaultVersion": "0.0.0", 14 | "apidoc": "0.3.0", 15 | "generator": { 16 | "name": "apidoc", 17 | "time": "2017-05-26T06:12:48.535Z", 18 | "url": "http://apidocjs.com", 19 | "version": "0.17.6" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/api_project.js: -------------------------------------------------------------------------------- 1 | define({ 2 | "name": "webside api doc", 3 | "version": "1.0.0", 4 | "description": "webside Attentively, professionally, free and open source", 5 | "title": "webside api doc", 6 | "url": "http://127.0.0.1:8080/webside/", 7 | "forceLanguage": "zh-cn", 8 | "template": { 9 | "withCompare": true, 10 | "withGenerator": true 11 | }, 12 | "sampleUrl": false, 13 | "defaultVersion": "0.0.0", 14 | "apidoc": "0.3.0", 15 | "generator": { 16 | "name": "apidoc", 17 | "time": "2017-05-26T06:12:48.535Z", 18 | "url": "http://apidocjs.com", 19 | "version": "0.17.6" 20 | } 21 | }); 22 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/prettify.css: -------------------------------------------------------------------------------- 1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} -------------------------------------------------------------------------------- /webside-dtgrid/src/main/resources/spring/spring-ip2region.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/ip2region/DbMakerConfigException.java: -------------------------------------------------------------------------------- 1 | package com.webside.ip2region; 2 | 3 | /** 4 | * configuration exception 5 | * 6 | * @author chenxin 7 | */ 8 | public class DbMakerConfigException extends Exception 9 | { 10 | private static final long serialVersionUID = 4495714680349884838L; 11 | 12 | public DbMakerConfigException( String info ) 13 | { 14 | super(info); 15 | } 16 | 17 | public DbMakerConfigException( Throwable res ) 18 | { 19 | super(res); 20 | } 21 | 22 | public DbMakerConfigException( String info, Throwable res ) 23 | { 24 | super(info, res); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/prettify.css: -------------------------------------------------------------------------------- 1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/select2/zh-CN.js: -------------------------------------------------------------------------------- 1 | /*! Select2 4.0.1 | https://github.com/select2/select2/blob/master/LICENSE.md */ 2 | 3 | (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/zh-CN",[],function(){return{errorLoading:function(){return"无法载入结果。"},inputTooLong:function(e){var t=e.input.length-e.maximum,n="请删除"+t+"个字符";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="请再输入至少"+t+"个字符";return n},loadingMore:function(){return"载入更多结果…"},maximumSelected:function(e){var t="最多只能选择"+e.maximum+"个项目";return t},noResults:function(){return"未找到结果"},searching:function(){return"搜索中…"}}}),{define:e.define,require:e.require}})(); -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/dtgrid/model/Sort.java: -------------------------------------------------------------------------------- 1 | package com.webside.dtgrid.model; 2 | 3 | /** 4 | * 5 | * @ClassName: Sort 6 | * @Description: dtgrid表格排序对象,拷贝自大连首闻科技有限公司的DLShouWen Grid 7 | * @author gaogang 8 | * @date 2016年7月12日 下午3:08:20 9 | * 10 | */ 11 | public class Sort { 12 | 13 | /** 14 | * 字段 15 | */ 16 | private String field; 17 | 18 | /** 19 | * 排序逻辑 20 | */ 21 | private String logic; 22 | 23 | public String getField() { 24 | return field; 25 | } 26 | 27 | public void setField(String field) { 28 | this.field = field; 29 | } 30 | 31 | public String getLogic() { 32 | return logic; 33 | } 34 | 35 | public void setLogic(String logic) { 36 | this.logic = logic; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/shiro/session/SessionStatus.java: -------------------------------------------------------------------------------- 1 | package com.webside.shiro.session; 2 | 3 | import java.io.Serializable; 4 | 5 | /** 6 | * 7 | * @ClassName SessionStatus 8 | * @Description session 状态 9 | * 10 | * @author wjggwm 11 | * @data 2016年12月13日 下午12:30:15 12 | */ 13 | public class SessionStatus implements Serializable { 14 | 15 | private static final long serialVersionUID = 1L; 16 | 17 | //是否在线(true:在线;false:已被剔出退出) 18 | private Boolean status = true; 19 | 20 | 21 | public Boolean isOnline(){ 22 | return status; 23 | } 24 | 25 | 26 | public Boolean getStatus() { 27 | return status; 28 | } 29 | 30 | 31 | public void setStatus(Boolean status) { 32 | this.status = status; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/thread/WorkerItem.java: -------------------------------------------------------------------------------- 1 | package com.webside.thread; 2 | 3 | import java.io.Serializable; 4 | 5 | import org.slf4j.Logger; 6 | import org.slf4j.LoggerFactory; 7 | 8 | 9 | public class WorkerItem implements Runnable, Serializable { 10 | 11 | private static final Logger logger = LoggerFactory.getLogger(WorkerItem.class); 12 | /** 13 | * 14 | */ 15 | private static final long serialVersionUID = 1L; 16 | 17 | /** 18 | * 执行任务 19 | */ 20 | @Override 21 | public void run() { 22 | try { 23 | Thread.sleep(ThreadPool.SLEEP_TIME); 24 | System.out.print("任务执行了"); 25 | } catch (InterruptedException e) { 26 | logger.error("执行任务异常:{}", e); 27 | throw new RuntimeException(e); 28 | } 29 | 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.8 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 13 | org.eclipse.jdt.core.compiler.source=1.8 14 | -------------------------------------------------------------------------------- /webside-dtgrid/src/test/java/com/webside/props/TestJodd.java: -------------------------------------------------------------------------------- 1 | package com.webside.props; 2 | 3 | import java.io.File; 4 | import java.io.IOException; 5 | import java.net.URISyntaxException; 6 | 7 | import jodd.props.Props; 8 | 9 | import org.junit.Test; 10 | 11 | public class TestJodd { 12 | 13 | @Test 14 | public void testJodd() 15 | { 16 | String shiroConfig; 17 | try { 18 | shiroConfig = TestJodd.class.getResource("/shiroAuth.props").toURI().getPath(); 19 | Props props = new Props(); 20 | props.load(new File(shiroConfig), "UTF-8"); 21 | String test = props.getValue("/user/**", "authc"); 22 | System.out.println(test); 23 | } catch (URISyntaxException e) { 24 | e.printStackTrace(); 25 | } catch (IOException e) { 26 | e.printStackTrace(); 27 | } 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /webside-dtgrid/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/enums/EmailDescription.java: -------------------------------------------------------------------------------- 1 | package com.webside.enums; 2 | 3 | /** 4 | * 5 | * @ClassName: EmailDescription 6 | * @Description: 邮件提示信息枚举 7 | * @author gaogang 8 | * @date 2016年7月12日 下午3:10:06 9 | * 10 | */ 11 | public enum EmailDescription { 12 | 13 | ADD_EMAIL("新建账户通知","您好,您的账户已创建,账户名: %s ,密码: %s ,请尽快登录系统修改密码,谢谢."), 14 | UPDATE_EMAIL("密码重置通知","您好,您的密码已重置,新密码是: %s "); 15 | 16 | private String subject; 17 | 18 | private String message; 19 | 20 | private EmailDescription(String subject, String message) 21 | { 22 | this.subject = subject; 23 | this.message = message; 24 | } 25 | 26 | public String getSubject() 27 | { 28 | return this.subject; 29 | } 30 | 31 | public String getMessage() 32 | { 33 | return this.message; 34 | } 35 | 36 | 37 | 38 | } 39 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/resources/spring/spring-ehcache.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/exception/RestException.java: -------------------------------------------------------------------------------- 1 | package com.webside.exception; 2 | 3 | import org.springframework.http.HttpStatus; 4 | 5 | /** 6 | * 7 | * @ClassName: AjaxException 8 | * @Description: 专用于Restful Service的异常 9 | * @author gaogang 10 | * @date 2016年7月12日 下午3:19:14 11 | * 12 | */ 13 | public class RestException extends RuntimeException { 14 | 15 | /** 16 | * 17 | */ 18 | private static final long serialVersionUID = 1L; 19 | public HttpStatus status = HttpStatus.INTERNAL_SERVER_ERROR; 20 | 21 | public RestException() { 22 | } 23 | 24 | public RestException(HttpStatus status) { 25 | this.status = status; 26 | } 27 | 28 | public RestException(String message) { 29 | super(message); 30 | } 31 | 32 | public RestException(HttpStatus status, String message) { 33 | super(message); 34 | this.status = status; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/user/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.webside.user.service; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import com.webside.exception.ServiceException; 7 | import com.webside.user.model.UserEntity; 8 | 9 | public interface UserService { 10 | 11 | public List queryListByPage(Map parameter); 12 | 13 | public UserEntity findByName(String accountName); 14 | 15 | public int insert(UserEntity userEntity, String password); 16 | 17 | public UserEntity findById(Long id); 18 | 19 | public int update(UserEntity userEntity); 20 | 21 | public int updateOnly(UserEntity userEntity) throws ServiceException; 22 | 23 | public int updatePassword(UserEntity userEntity, String password) throws ServiceException; 24 | 25 | public int deleteBatchById(List userIds); 26 | 27 | } -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/role/service/RoleService.java: -------------------------------------------------------------------------------- 1 | package com.webside.role.service; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import com.webside.role.model.RoleEntity; 7 | 8 | public interface RoleService { 9 | 10 | public List queryListByPage(Map parameter); 11 | 12 | public RoleEntity findByName(String name); 13 | 14 | public int insert(RoleEntity roleEntity); 15 | 16 | public RoleEntity findById(Long roleId); 17 | 18 | public int update(RoleEntity roleEntity); 19 | 20 | public int deleteBatchById(List roleIds); 21 | 22 | public boolean deleteRoleById(Long roleId); 23 | 24 | public boolean addRolePermBatch(int roleId, List ids); 25 | 26 | public boolean addRolePerm(Long roleId, Long resourceId); 27 | 28 | public int findRoleUserById(int roleId); 29 | } -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-rd.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["lit",/^\\(?:cr|l?dots|R|tab)\b/],["kwd",/^\\[a-zA-Z@]+/],["kwd",/^#(?:ifn?def|endif)/],["pln",/^\\[{}]/],["pun",/^[{}()\[\]]+/]]),["Rd","rd"]); 18 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-latex.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2011 Martin S. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["kwd",/^\\[a-zA-Z@]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[{}()\[\]=]+/]]),["latex","tex"]); 18 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-tex.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2011 Martin S. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["kwd",/^\\[a-zA-Z@]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[{}()\[\]=]+/]]),["latex","tex"]); 18 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-rd.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["lit",/^\\(?:cr|l?dots|R|tab)\b/],["kwd",/^\\[a-zA-Z@]+/],["kwd",/^#(?:ifn?def|endif)/],["pln",/^\\[{}]/],["pun",/^[{}()\[\]]+/]]),["Rd","rd"]); 18 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-go.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2010 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["pln",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])+(?:\'|$)|`[^`]*(?:`|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\r\n]*|\/\*[\s\S]*?\*\/)/],["pln",/^(?:[^\/\"\'`]|\/(?![\/\*]))+/i]]),["go"]); 18 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-proto.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2006 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.sourceDecorator({keywords:"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,cStyleComments:!0}),["proto"]); 18 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-latex.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2011 Martin S. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["kwd",/^\\[a-zA-Z@]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[{}()\[\]=]+/]]),["latex","tex"]); 18 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-tex.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2011 Martin S. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\r\n]*/,null,"%"]],[["kwd",/^\\[a-zA-Z@]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[{}()\[\]=]+/]]),["latex","tex"]); 18 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-go.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2010 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["pln",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])+(?:\'|$)|`[^`]*(?:`|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\r\n]*|\/\*[\s\S]*?\*\/)/],["pln",/^(?:[^\/\"\'`]|\/(?![\/\*]))+/i]]),["go"]); 18 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/shiro/session/ShiroSessionRepository.java: -------------------------------------------------------------------------------- 1 | package com.webside.shiro.session; 2 | 3 | import org.apache.shiro.session.Session; 4 | 5 | import java.io.Serializable; 6 | import java.util.Collection; 7 | 8 | /** 9 | * 10 | * @ClassName ShiroSessionRepository 11 | * @Description Session操作 12 | * 13 | * @author wjggwm 14 | * @data 2016年12月13日 下午12:43:25 15 | */ 16 | public interface ShiroSessionRepository { 17 | 18 | /** 19 | * 存储Session 20 | * @param session 21 | */ 22 | void saveSession(Session session); 23 | /** 24 | * 删除session 25 | * @param sessionId 26 | */ 27 | void deleteSession(Serializable sessionId); 28 | /** 29 | * 获取session 30 | * @param sessionId 31 | * @return 32 | */ 33 | Session getSession(Serializable sessionId); 34 | /** 35 | * 获取所有sessoin 36 | * @return 37 | */ 38 | Collection getAllSessions(); 39 | } 40 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-proto.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2006 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.sourceDecorator({keywords:"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,cStyleComments:!0}),["proto"]); 18 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/loginfo/service/impl/LogInfoServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.webside.loginfo.service.impl; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.stereotype.Service; 5 | 6 | import com.webside.base.baseservice.impl.AbstractService; 7 | import com.webside.loginfo.mapper.LogInfoMapper; 8 | import com.webside.loginfo.model.LogInfoEntity; 9 | import com.webside.loginfo.service.LogInfoService; 10 | 11 | @Service("logInfoService") 12 | public class LogInfoServiceImpl extends AbstractService implements LogInfoService{ 13 | 14 | @Autowired 15 | private LogInfoMapper logInfoMapper; 16 | 17 | //这句必须要加上。不然会报空指针异常,因为在实际调用的时候不是BaseMapper调用,而是具体的mapper,这里为userMapper 18 | @Autowired 19 | public void setBaseMapper() { 20 | super.setBaseMapper(logInfoMapper); 21 | } 22 | 23 | @Override 24 | public int log(LogInfoEntity logInfo) { 25 | return logInfoMapper.insert(logInfo); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /webside-dtgrid/src/test/java/com/webside/crypt/ShiroEncrypt.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.webside.crypt; 5 | 6 | import org.apache.shiro.codec.Base64; 7 | import org.apache.shiro.codec.Hex; 8 | import org.junit.Test; 9 | 10 | import com.webside.util.crypto.AES; 11 | 12 | /** 13 | * @ClassName ShiroEncrypt 14 | * @Description TODO 15 | * 16 | * @author wjggwm 17 | * @data 2016年12月12日 下午2:25:42 18 | */ 19 | public class ShiroEncrypt { 20 | 21 | @Test 22 | public void aes() 23 | { 24 | byte[] aes; 25 | try { 26 | String token = "629fd0d1a9504202862f27e970afcd2f"; 27 | aes = AES.encryptBytes("webside", token); 28 | String base = Base64.encodeToString(aes); 29 | System.out.println(Hex.encodeToString(aes)); 30 | System.out.println(aes); 31 | System.out.println(base); 32 | System.out.println(AES.decryptBase64("GsHaWo4m1eNbE0kNSMULhg==", token)); 33 | } catch (Exception e) { 34 | System.out.print(e.getMessage()); 35 | } 36 | 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/common/model/Select2Entity.java: -------------------------------------------------------------------------------- 1 | package com.webside.common.model; 2 | 3 | import java.io.Serializable; 4 | 5 | /** 6 | * 7 | * @ClassName: Select2Entity 8 | * @Description: select2 模型 9 | * @author gaogang 10 | * @date 2016年7月12日 下午4:16:05 11 | * 12 | */ 13 | public class Select2Entity implements Serializable{ 14 | 15 | /** 16 | * 17 | */ 18 | private static final long serialVersionUID = 1L; 19 | 20 | private String id; 21 | 22 | private String text; 23 | 24 | private String name; 25 | 26 | public String getId() { 27 | return id; 28 | } 29 | 30 | public void setId(String id) { 31 | this.id = id; 32 | } 33 | 34 | public String getText() { 35 | return text; 36 | } 37 | 38 | public void setText(String text) { 39 | this.text = text; 40 | } 41 | 42 | public String getName() { 43 | return name; 44 | } 45 | 46 | public void setName(String name) { 47 | this.name = name; 48 | } 49 | 50 | 51 | 52 | } 53 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/exception/AjaxException.java: -------------------------------------------------------------------------------- 1 | package com.webside.exception; 2 | 3 | /** 4 | * 5 | * @ClassName: AjaxException 6 | * @Description: ajax异常,针对ajax请求处理的Exception 7 | * @author gaogang 8 | * @date 2016年7月12日 下午3:19:14 9 | * 10 | */ 11 | public class AjaxException extends RuntimeException{ 12 | /** 13 | * @Fields serialVersionUID 14 | */ 15 | private static final long serialVersionUID = 1L; 16 | 17 | public AjaxException() { 18 | super(); 19 | } 20 | 21 | public AjaxException(String message) { 22 | super(message); 23 | } 24 | 25 | public AjaxException(Throwable cause) { 26 | super(cause); 27 | } 28 | 29 | public AjaxException(String message, Throwable cause) { 30 | super(message, cause); 31 | } 32 | 33 | public AjaxException(String message, Throwable cause, 34 | boolean enableSuppression, 35 | boolean writableStackTrace) { 36 | super(message, cause, enableSuppression, writableStackTrace); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/resources/spring/spring-flyway.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/exception/SystemException.java: -------------------------------------------------------------------------------- 1 | package com.webside.exception; 2 | 3 | /** 4 | * 5 | * @ClassName: SystemException 6 | * @Description: 系统异常,处理非ajax请求的Exception 7 | * @author gaogang 8 | * @date 2016年7月12日 下午3:20:18 9 | * 10 | */ 11 | public class SystemException extends RuntimeException{ 12 | 13 | /** 14 | * 15 | */ 16 | private static final long serialVersionUID = 2119718747432466934L; 17 | 18 | public SystemException() { 19 | super(); 20 | } 21 | 22 | public SystemException(String message) { 23 | super(message); 24 | } 25 | 26 | public SystemException(Throwable cause) { 27 | super(cause); 28 | } 29 | 30 | public SystemException(String message, Throwable cause) { 31 | super(message, cause); 32 | } 33 | 34 | public SystemException(String message, Throwable cause, 35 | boolean enableSuppression, 36 | boolean writableStackTrace) { 37 | super(message, cause, enableSuppression, writableStackTrace); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/WEB-INF/view/error/error-404.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 2 | <% 3 | String path = request.getContextPath(); 4 | String basePath = request.getScheme() + "://" 5 | + request.getServerName() + ":" + request.getServerPort() 6 | + path + "/"; 7 | %> 8 | <%@ page session="false" %> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 404 页面没找到-webside 专业、用心、开源免费 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-ll.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Nikhil Dabas 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^!?\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["com",/^;[^\r\n]*/,null,";"]],[["pln",/^[%@!](?:[-a-zA-Z$._][-a-zA-Z$._0-9]*|\d+)/],["kwd",/^[A-Za-z_][0-9A-Za-z_]*/,null],["lit",/^\d+\.\d+/],["lit",/^(?:\d+|0[xX][a-fA-F0-9]+)/],["pun",/^[()\[\]{},=*<>:]|\.\.\.$/]]),["llvm","ll"]); 18 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-llvm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Nikhil Dabas 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^!?\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["com",/^;[^\r\n]*/,null,";"]],[["pln",/^[%@!](?:[-a-zA-Z$._][-a-zA-Z$._0-9]*|\d+)/],["kwd",/^[A-Za-z_][0-9A-Za-z_]*/,null],["lit",/^\d+\.\d+/],["lit",/^(?:\d+|0[xX][a-fA-F0-9]+)/],["pun",/^[()\[\]{},=*<>:]|\.\.\.$/]]),["llvm","ll"]); 18 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/logininfo/service/impl/LoginInfoServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.webside.logininfo.service.impl; 2 | 3 | 4 | import org.springframework.beans.factory.annotation.Autowired; 5 | import org.springframework.stereotype.Service; 6 | 7 | import com.webside.base.baseservice.impl.AbstractService; 8 | import com.webside.logininfo.mapper.LoginInfoMapper; 9 | import com.webside.logininfo.model.LoginInfoEntity; 10 | import com.webside.logininfo.service.LoginInfoService; 11 | 12 | @Service("loginInfoService") 13 | public class LoginInfoServiceImpl extends AbstractService implements LoginInfoService{ 14 | 15 | @Autowired 16 | private LoginInfoMapper loginInfoMapper; 17 | 18 | //这句必须要加上。不然会报空指针异常,因为在实际调用的时候不是BaseMapper调用,而是具体的mapper,这里为userMapper 19 | @Autowired 20 | public void setBaseMapper() { 21 | super.setBaseMapper(loginInfoMapper); 22 | } 23 | 24 | @Override 25 | public int log(LoginInfoEntity loginInfo) { 26 | return loginInfoMapper.insert(loginInfo); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/shiro/cache/redis/RedisShiroCacheManager.java: -------------------------------------------------------------------------------- 1 | package com.webside.shiro.cache.redis; 2 | 3 | import org.apache.shiro.cache.Cache; 4 | 5 | import com.webside.redis.RedisManager; 6 | import com.webside.shiro.cache.ShiroCacheManager; 7 | 8 | /** 9 | * 10 | * @ClassName RedisShiroCacheManager 11 | * @Description Redis管理 12 | * 13 | * @author wjggwm 14 | * @data 2016年12月13日 下午1:43:57 15 | */ 16 | public class RedisShiroCacheManager implements ShiroCacheManager { 17 | 18 | private RedisManager cacheManager; 19 | 20 | public RedisManager getCacheManager() { 21 | return cacheManager; 22 | } 23 | 24 | public void setCacheManager(RedisManager cacheManager) { 25 | this.cacheManager = cacheManager; 26 | } 27 | 28 | @Override 29 | public Cache getCache(String name) { 30 | return new RedisShiroCache(name, getCacheManager()); 31 | } 32 | 33 | @Override 34 | public void destroy() { 35 | //做一些需要释放资源的操作 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-ll.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Nikhil Dabas 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^!?\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["com",/^;[^\r\n]*/,null,";"]],[["pln",/^[%@!](?:[-a-zA-Z$._][-a-zA-Z$._0-9]*|\d+)/],["kwd",/^[A-Za-z_][0-9A-Za-z_]*/,null],["lit",/^\d+\.\d+/],["lit",/^(?:\d+|0[xX][a-fA-F0-9]+)/],["pun",/^[()\[\]{},=*<>:]|\.\.\.$/]]),["llvm","ll"]); 18 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-llvm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Nikhil Dabas 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^!?\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["com",/^;[^\r\n]*/,null,";"]],[["pln",/^[%@!](?:[-a-zA-Z$._][-a-zA-Z$._0-9]*|\d+)/],["kwd",/^[A-Za-z_][0-9A-Za-z_]*/,null],["lit",/^\d+\.\d+/],["lit",/^(?:\d+|0[xX][a-fA-F0-9]+)/],["pun",/^[()\[\]{},=*<>:]|\.\.\.$/]]),["llvm","ll"]); 18 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/exception/ServiceException.java: -------------------------------------------------------------------------------- 1 | package com.webside.exception; 2 | 3 | /** 4 | * 5 | * @ClassName: ServiceException 6 | * @Description: Service层公用的Exception, 从由Spring管理事务的函数中抛出时会触发事务回滚 7 | * @author gaogang 8 | * @date 2016年7月12日 下午3:20:01 9 | * 10 | */ 11 | public class ServiceException extends RuntimeException{ 12 | 13 | /** 14 | * 15 | */ 16 | private static final long serialVersionUID = 1L; 17 | 18 | public ServiceException() { 19 | super(); 20 | } 21 | 22 | public ServiceException(String message) { 23 | super(message); 24 | } 25 | 26 | public ServiceException(Throwable cause) { 27 | super(cause); 28 | } 29 | 30 | public ServiceException(String message, Throwable cause) { 31 | super(message, cause); 32 | } 33 | 34 | public ServiceException(String message, Throwable cause, 35 | boolean enableSuppression, 36 | boolean writableStackTrace) { 37 | super(message, cause, enableSuppression, writableStackTrace); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/jquery-validation/localization/messages_zh.js: -------------------------------------------------------------------------------- 1 | (function( factory ) { 2 | if ( typeof define === "function" && define.amd ) { 3 | define( ["jquery", "../jquery.validate"], factory ); 4 | } else { 5 | factory( jQuery ); 6 | } 7 | }(function( $ ) { 8 | 9 | /* 10 | * Translated default messages for the jQuery validation plugin. 11 | * Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語) 12 | */ 13 | $.extend($.validator.messages, { 14 | required: "这是必填字段", 15 | remote: "请修正此字段", 16 | email: "请输入有效的电子邮件地址", 17 | url: "请输入有效的网址", 18 | date: "请输入有效的日期", 19 | dateISO: "请输入有效的日期 (YYYY-MM-DD)", 20 | number: "请输入有效的数字", 21 | digits: "只能输入数字", 22 | creditcard: "请输入有效的信用卡号码", 23 | equalTo: "你的输入不相同", 24 | extension: "请输入有效的后缀", 25 | maxlength: $.validator.format("最多可以输入 {0} 个字符"), 26 | minlength: $.validator.format("最少要输入 {0} 个字符"), 27 | rangelength: $.validator.format("请输入长度在 {0} 到 {1} 之间的字符串"), 28 | range: $.validator.format("请输入范围在 {0} 到 {1} 之间的数值"), 29 | max: $.validator.format("请输入不大于 {0} 的数值"), 30 | min: $.validator.format("请输入不小于 {0} 的数值") 31 | }); 32 | 33 | })); -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-yaml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2015 ribrdb @ code.google.com 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:|>?]+/,null,":|>?"],["dec",/^%(?:YAML|TAG)[^#\r\n]+/,null,"%"],["typ",/^[&]\S+/,null,"&"],["typ",/^!\S*/,null,"!"],["str",/^"(?:[^\\"]|\\.)*(?:"|$)/,null,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,null,"'"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^\s+/,null," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\r\n]|$)/],["pun",/^-/],["kwd",/^[\w-]+:[ \r\n]/],["pln", 18 | /^\w+/]]),["yaml","yml"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-yml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2015 ribrdb @ code.google.com 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:|>?]+/,null,":|>?"],["dec",/^%(?:YAML|TAG)[^#\r\n]+/,null,"%"],["typ",/^[&]\S+/,null,"&"],["typ",/^!\S*/,null,"!"],["str",/^"(?:[^\\"]|\\.)*(?:"|$)/,null,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,null,"'"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^\s+/,null," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\r\n]|$)/],["pun",/^-/],["kwd",/^[\w-]+:[ \r\n]/],["pln", 18 | /^\w+/]]),["yaml","yml"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/util/IpUtil.java: -------------------------------------------------------------------------------- 1 | package com.webside.util; 2 | 3 | import javax.servlet.http.HttpServletRequest; 4 | 5 | /** 6 | * IP地址转化 7 | * @author wukun 8 | * 9 | */ 10 | 11 | public class IpUtil { 12 | 13 | /** 14 | * 15 | * @Description 获取客户端真实ip 16 | * @param request 17 | * @return 18 | * 19 | * @author wjggwm 20 | * @data 2016年11月21日 下午5:10:22 21 | */ 22 | public static String getIpAddr(HttpServletRequest request) { 23 | String ip = request.getHeader("x-forwarded-for"); 24 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 25 | ip = request.getHeader("Proxy-Client-IP"); 26 | } 27 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 28 | ip = request.getHeader("WL-Proxy-Client-IP"); 29 | } 30 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 31 | ip = request.getHeader("X-Real-IP"); 32 | } 33 | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { 34 | ip = request.getRemoteAddr(); 35 | } 36 | return ip; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-yaml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2015 ribrdb @ code.google.com 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:|>?]+/,null,":|>?"],["dec",/^%(?:YAML|TAG)[^#\r\n]+/,null,"%"],["typ",/^[&]\S+/,null,"&"],["typ",/^!\S*/,null,"!"],["str",/^"(?:[^\\"]|\\.)*(?:"|$)/,null,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,null,"'"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^\s+/,null," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\r\n]|$)/],["pun",/^-/],["kwd",/^[\w-]+:[ \r\n]/],["pln", 18 | /^\w+/]]),["yaml","yml"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-yml.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2015 ribrdb @ code.google.com 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:|>?]+/,null,":|>?"],["dec",/^%(?:YAML|TAG)[^#\r\n]+/,null,"%"],["typ",/^[&]\S+/,null,"&"],["typ",/^!\S*/,null,"!"],["str",/^"(?:[^\\"]|\\.)*(?:"|$)/,null,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,null,"'"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^\s+/,null," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\r\n]|$)/],["pun",/^-/],["kwd",/^[\w-]+:[ \r\n]/],["pln", 18 | /^\w+/]]),["yaml","yml"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/zh.js: -------------------------------------------------------------------------------- 1 | define({ 2 | zh: { 3 | 'Allowed values​​:' : '允許值:', 4 | 'Compare all with predecessor': '預先比較所有', 5 | 'compare changes to:' : '比較變更:', 6 | 'compared to' : '對比', 7 | 'Default value:' : '默認值:', 8 | 'Description' : '描述', 9 | 'Field' : '字段', 10 | 'General' : '概括', 11 | 'Generated with' : '生成工具', 12 | 'Name' : '名稱', 13 | 'No response values​​.' : '無對應資料.', 14 | 'optional' : '選項', 15 | 'Parameter' : '參數', 16 | 'Permission:' : '允許:', 17 | 'Response' : '回應', 18 | 'Send' : '發送', 19 | 'Send a Sample Request' : '發送試用需求', 20 | 'show up to version:' : '顯示到版本:', 21 | 'Size range:' : '尺寸範圍:', 22 | 'Type' : '類型', 23 | 'url' : '網址' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/user/mapper/UserMapper.java: -------------------------------------------------------------------------------- 1 | package com.webside.user.mapper; 2 | 3 | import java.util.List; 4 | 5 | import org.springframework.stereotype.Repository; 6 | 7 | import com.webside.base.basemapper.BaseMapper; 8 | import com.webside.user.model.UserEntity; 9 | 10 | @Repository 11 | public interface UserMapper extends BaseMapper{ 12 | 13 | /** 14 | * 添加用户和角色对应关系 15 | * @param userEntity 16 | * @return 17 | */ 18 | public int insertUserRole(UserEntity userEntity); 19 | 20 | /** 21 | * 更新用户和角色对应关系 22 | * @param userEntity 23 | * @return 24 | */ 25 | public int updateUserRole(UserEntity userEntity); 26 | 27 | /** 28 | * 删除用户和角色对应关系 29 | * @param userEntity 30 | * @return 31 | */ 32 | public int deleteBatchUserRole(List userIds); 33 | 34 | /** 35 | * 添加用户个人资料信息 36 | * @param userEntity 37 | * @return 38 | */ 39 | public int insertUserInfo(UserEntity userEntity); 40 | 41 | /** 42 | * 更新用户个人资料信息 43 | * @param userEntity 44 | * @return 45 | */ 46 | public int updateUserInfo(UserEntity userEntity); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/zh_cn.js: -------------------------------------------------------------------------------- 1 | define({ 2 | 'zh_cn': { 3 | 'Allowed values:' : '允许值:', 4 | 'Compare all with predecessor': '与所有较早的比较', 5 | 'compare changes to:' : '将当前版本与指定版本比较:', 6 | 'compared to' : '相比于', 7 | 'Default value:' : '默认值:', 8 | 'Description' : '描述', 9 | 'Field' : '字段', 10 | 'General' : '概要', 11 | 'Generated with' : '基于', 12 | 'Name' : '名称', 13 | 'No response values.' : '无返回值.', 14 | 'optional' : '可选', 15 | 'Parameter' : '参数', 16 | 'Permission:' : '权限:', 17 | 'Response' : '返回', 18 | 'Send' : '发送', 19 | 'Send a Sample Request' : '发送示例请求', 20 | 'show up to version:' : '显示到指定版本:', 21 | 'Size range:' : '取值范围:', 22 | 'Type' : '类型', 23 | 'url' : '网址' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/test/java/com/webside/ip2region/TestIP.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.webside.ip2region; 5 | 6 | import java.io.IOException; 7 | 8 | import org.junit.Test; 9 | import org.junit.runner.RunWith; 10 | import org.springframework.beans.factory.annotation.Autowired; 11 | import org.springframework.test.context.ContextConfiguration; 12 | import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; 13 | 14 | /** 15 | * @ClassName TestIP 16 | * @Description TODO 17 | * 18 | * @author wjggwm 19 | * @data 2016年12月6日 下午5:00:16 20 | */ 21 | @RunWith(SpringJUnit4ClassRunner.class) 22 | @ContextConfiguration(locations = "classpath:spring/spring-applicationContext.xml") 23 | public class TestIP { 24 | 25 | 26 | @Autowired 27 | DbSearcher ipSearcher; 28 | 29 | @Test 30 | public void testIPSearch() 31 | { 32 | String ip = "127.0.0.1"; 33 | try { 34 | DataBlock dataBlock = ipSearcher.memorySearch(ip); 35 | String region = dataBlock.getRegion(); 36 | System.out.println(region); 37 | } catch (IOException e) { 38 | e.printStackTrace(); 39 | } 40 | 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/enums/MediaTypes.java: -------------------------------------------------------------------------------- 1 | package com.webside.enums; 2 | 3 | /** 4 | * 5 | * @ClassName: MediaTypes 6 | * @Description: http请求媒体类型枚举 7 | * @author gaogang 8 | * @date 2016年7月12日 下午3:12:50 9 | * 10 | */ 11 | public enum MediaTypes { 12 | 13 | APPLICATION_XML("application/xml"), 14 | APPLICATION_XML_UTF_8("application/xml; charset=UTF-8"), 15 | JSON("application/json"), 16 | JSON_UTF_8("application/json; charset=UTF-8"), 17 | JAVASCRIPT("application/javascript"), 18 | JAVASCRIPT_UTF_8("application/javascript; charset=UTF-8"), 19 | APPLICATION_XHTML_XML("application/xhtml+xml"), 20 | APPLICATION_XHTML_XML_UTF_8("application/xhtml+xml; charset=UTF-8"), 21 | TEXT_PLAIN("text/plain"), 22 | TEXT_PLAIN_UTF_8("text/plain; charset=UTF-8"), 23 | TEXT_XML("text/xml"), 24 | TEXT_XML_UTF_8("text/xml; charset=UTF-8"), 25 | TEXT_HTML("text/html"), 26 | TEXT_HTML_UTF_8("text/html; charset=UTF-8"); 27 | 28 | private String type; 29 | 30 | private MediaTypes(String type) 31 | { 32 | this.type = type; 33 | } 34 | 35 | public String getType() 36 | { 37 | return type; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/zh.js: -------------------------------------------------------------------------------- 1 | define({ 2 | zh: { 3 | 'Allowed values​​:' : '允許值:', 4 | 'Compare all with predecessor': '預先比較所有', 5 | 'compare changes to:' : '比較變更:', 6 | 'compared to' : '對比', 7 | 'Default value:' : '默認值:', 8 | 'Description' : '描述', 9 | 'Field' : '字段', 10 | 'General' : '概括', 11 | 'Generated with' : '生成工具', 12 | 'Name' : '名稱', 13 | 'No response values​​.' : '無對應資料.', 14 | 'optional' : '選項', 15 | 'Parameter' : '參數', 16 | 'Permission:' : '允許:', 17 | 'Response' : '回應', 18 | 'Send' : '發送', 19 | 'Send a Sample Request' : '發送試用需求', 20 | 'show up to version:' : '顯示到版本:', 21 | 'Size range:' : '尺寸範圍:', 22 | 'Type' : '類型', 23 | 'url' : '網址' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/zh_cn.js: -------------------------------------------------------------------------------- 1 | define({ 2 | 'zh_cn': { 3 | 'Allowed values:' : '允许值:', 4 | 'Compare all with predecessor': '与所有较早的比较', 5 | 'compare changes to:' : '将当前版本与指定版本比较:', 6 | 'compared to' : '相比于', 7 | 'Default value:' : '默认值:', 8 | 'Description' : '描述', 9 | 'Field' : '字段', 10 | 'General' : '概要', 11 | 'Generated with' : '基于', 12 | 'Name' : '名称', 13 | 'No response values.' : '无返回值.', 14 | 'optional' : '可选', 15 | 'Parameter' : '参数', 16 | 'Permission:' : '权限:', 17 | 'Response' : '返回', 18 | 'Send' : '发送', 19 | 'Send a Sample Request' : '发送示例请求', 20 | 'show up to version:' : '显示到指定版本:', 21 | 'Size range:' : '取值范围:', 22 | 'Type' : '类型', 23 | 'url' : '网址' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-cbm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/,null,'"'],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^REM[^\r\n]*/,null],["kwd",/^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\b/,null],["pln",/^[A-Z][A-Z0-9]?(?:\$|%)?/i,null],["lit",/^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?/i, 18 | null,"0123456789"],["pun",/^.[^\s\w\.$%"]*/,null]]),["basic","cbm"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/resources/webside.properties: -------------------------------------------------------------------------------- 1 | #\u7cfb\u7edf\u7248\u672c 2 | webside.version = 1.0.0 3 | 4 | #\u914d\u7f6e 5 | #shiro\u5bc6\u7801\u8fed\u4ee3\u6b21\u6570 6 | shiro.hashIterations=2 7 | #shiro session\u8d85\u65f6\u65f6\u95f4 8 | shiro.session.timeout=1800000 9 | #shiro session\u68c0\u67e5\u95f4\u9694\u65f6\u95f4 10 | shiro.session.validate.interval=1800000 11 | 12 | #ip2region\u6570\u636e\u5e93\u6587\u4ef6\u8def\u5f84 13 | dbFile=/ip2regiondata/ip2region.db 14 | 15 | #\u90ae\u7bb1\u914d\u7f6e 16 | #\u90ae\u7bb1\u5e10\u53f7Your email username 17 | mail.126.username= 18 | #\u7f51\u6613\u90ae\u7bb1\u6388\u6743\u7801\u662f\u7528\u4e8e\u767b\u5f55\u975e\u5b98\u65b9\u90ae\u4ef6\u5ba2\u6237\u7aef\u7684\u4e13\u7528\u5bc6\u7801\uff0c\u6240\u4ee5\u8fd9\u91cc\u8bf7\u4f7f\u7528\u6388\u6743\u7801\uff0c\u800c\u975e\u90ae\u7bb1\u5bc6\u7801Your email client passowrd 19 | mail.126.password= 20 | 21 | #quartz job \u914d\u7f6e 22 | quartz.job.jobGroup=[{"jobClassName":"com.webside.quartz.job.EmailJob","jobName":"\u53d1\u9001\u90ae\u4ef6[\u65e0\u72b6\u6001job]"},{"jobClassName":"com.webside.quartz.job.stateful.EmailStatefulJob","jobName":"\u53d1\u9001\u90ae\u4ef6[\u6709\u72b6\u6001job]"}] 23 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-basic.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/,null,'"'],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^REM[^\r\n]*/,null],["kwd",/^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\b/,null],["pln",/^[A-Z][A-Z0-9]?(?:\$|%)?/i,null],["lit",/^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?/i, 18 | null,"0123456789"],["pun",/^.[^\s\w\.$%"]*/,null]]),["basic","cbm"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/path-to-regexp/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-cbm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/,null,'"'],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^REM[^\r\n]*/,null],["kwd",/^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\b/,null],["pln",/^[A-Z][A-Z0-9]?(?:\$|%)?/i,null],["lit",/^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?/i, 18 | null,"0123456789"],["pun",/^.[^\s\w\.$%"]*/,null]]),["basic","cbm"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-basic.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:"(?:[^\\"\r\n]|\\.)*(?:"|$))/,null,'"'],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^REM[^\r\n]*/,null],["kwd",/^\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\b/,null],["pln",/^[A-Z][A-Z0-9]?(?:\$|%)?/i,null],["lit",/^(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?/i, 18 | null,"0123456789"],["pun",/^.[^\s\w\.$%"]*/,null]]),["basic","cbm"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/listener/InitializationListener.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.webside.listener; 5 | 6 | import org.slf4j.Logger; 7 | import org.slf4j.LoggerFactory; 8 | import org.springframework.context.ApplicationListener; 9 | import org.springframework.context.event.ContextRefreshedEvent; 10 | import org.springframework.stereotype.Component; 11 | 12 | 13 | /** 14 | * @ClassName InitializationListener 15 | * @Description 系统启动时执行初始化任务 16 | * 17 | * @author wjggwm 18 | * @data 2016年12月6日 下午4:21:41 19 | */ 20 | @Component 21 | public class InitializationListener implements ApplicationListener { 22 | 23 | private static final Logger logger = LoggerFactory.getLogger(InitializationListener.class); 24 | 25 | /* (non-Javadoc) 26 | * @see org.springframework.context.ApplicationListener#onApplicationEvent(org.springframework.context.ApplicationEvent) 27 | */ 28 | @Override 29 | public void onApplicationEvent(ContextRefreshedEvent event) { 30 | if (null == event.getApplicationContext().getParent()) { 31 | 32 | /** 33 | * 这里可以添加容器启动后需要执行的代码 34 | */ 35 | 36 | logger.info("系统初始化完成"); 37 | } 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/path-to-regexp/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-wiki.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2009 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t \xA0a-gi-z0-9]+/,null,"\t \u00a0abcdefgijklmnopqrstuvwxyz0123456789"],["pun",/^[=*~\^\[\]]+/,null,"=*~^[]"]],[["lang-wiki.meta",/(?:^^|\r\n?|\n)(#[a-z]+)\b/],["lit",/^(?:[A-Z][a-z][a-z0-9]+[A-Z][a-z][a-zA-Z0-9]+)\b/],["lang-",/^\{\{\{([\s\S]+?)\}\}\}/],["lang-",/^`([^\r\n`]+)`/],["str",/^https?:\/\/[^\/?#\s]*(?:\/[^?#\s]*)?(?:\?[^#\s]*)?(?:#\S*)?/i],["pln",/^(?:\r\n|[\s\S])[^#=*~^A-Zh\{`\[\r\n]*/]]),["wiki"]); 18 | PR.registerLangHandler(PR.createSimpleLexer([["kwd",/^#[a-z]+/i,null,"#"]],[]),["wiki.meta"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-lua.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\s\S]*?(?:\]\1\]|$)|[^\r\n]*)/],["str",/^\[(=*)\[[\s\S]*?(?:\]\1\]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i], 18 | ["pln",/^[a-z_]\w*/i],["pun",/^[^\w\t\n\r \xA0][^\w\t\n\r \xA0\"\'\-\+=]*/]]),["lua"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/shiro/cache/CustomShiroCacheManager.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package com.webside.shiro.cache; 5 | 6 | import org.apache.shiro.cache.Cache; 7 | import org.apache.shiro.cache.CacheException; 8 | import org.apache.shiro.cache.CacheManager; 9 | import org.apache.shiro.util.Destroyable; 10 | 11 | /** 12 | * @ClassName CustomerShiroCacheManager 13 | * @Description 用户自定义cachemanager,方便扩展 14 | * 15 | * @author wjggwm 16 | * @data 2016年12月13日 下午3:42:19 17 | */ 18 | public class CustomShiroCacheManager implements CacheManager, Destroyable { 19 | 20 | private ShiroCacheManager shiroCacheManager; 21 | 22 | @Override 23 | public Cache getCache(String name) throws CacheException { 24 | return getShiroCacheManager().getCache(name); 25 | } 26 | 27 | @Override 28 | public void destroy() throws Exception { 29 | shiroCacheManager.destroy(); 30 | } 31 | 32 | public ShiroCacheManager getShiroCacheManager() { 33 | return shiroCacheManager; 34 | } 35 | 36 | public void setShiroCacheManager(ShiroCacheManager shiroCacheManager) { 37 | this.shiroCacheManager = shiroCacheManager; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/resources/shiroAuth.props: -------------------------------------------------------------------------------- 1 | #\u4e0d\u9700\u8981\u8ba4\u8bc1 2 | /logout.html=anon 3 | /register.html=anon 4 | /captcha.html=anon 5 | /login.html=anon 6 | /denied.jsp=anon 7 | /resources/**=anon 8 | /view/error/**=anon 9 | /*/withoutAuth/**=anon 10 | /openapi/**=anon 11 | /signin.html=anon 12 | 13 | #\u9700\u8981\u6388\u6743 14 | /index.html=kickout,kickoutAuth,login,remember 15 | /user/**=kickout,kickoutAuth,login,perm,remember,baseUrl 16 | /role/**=kickout,kickoutAuth,login,perm,remember,baseUrl 17 | /resource/**=kickout,kickoutAuth,login,perm,remember,baseUrl 18 | /logInfo/**=kickout,kickoutAuth,login,perm,remember,baseUrl 19 | /loginInfo/**=kickout,kickoutAuth,login,perm,remember,baseUrl 20 | /session/**=kickout,kickoutAuth,login,perm,remember,baseUrl,roles[administrator] 21 | /scheduleJob/**=kickout,kickoutAuth,login,perm,remember,baseUrl 22 | /welcome.jsp=login,remember,perm,baseUrl 23 | /druid/**=login,remember,roles[administrator] 24 | /sirona/**=login,remember,roles[administrator] 25 | #\u9700\u8981\u767b\u5f55,\u5e76\u4f7f\u7528ssl,\u5982\u679c\u4e0d\u60f3\u4f7f\u7528ssl\uff0c\u53ef\u4ee5\u53bb\u6389ssl\u8fc7\u6ee4\u5668\uff0c\u5982\uff1a/**=login,remember,perm,baseUrl 26 | /**=ssl,login,remember,perm,baseUrl -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-wiki.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2009 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t \xA0a-gi-z0-9]+/,null,"\t \u00a0abcdefgijklmnopqrstuvwxyz0123456789"],["pun",/^[=*~\^\[\]]+/,null,"=*~^[]"]],[["lang-wiki.meta",/(?:^^|\r\n?|\n)(#[a-z]+)\b/],["lit",/^(?:[A-Z][a-z][a-z0-9]+[A-Z][a-z][a-zA-Z0-9]+)\b/],["lang-",/^\{\{\{([\s\S]+?)\}\}\}/],["lang-",/^`([^\r\n`]+)`/],["str",/^https?:\/\/[^\/?#\s]*(?:\/[^?#\s]*)?(?:\?[^#\s]*)?(?:#\S*)?/i],["pln",/^(?:\r\n|[\s\S])[^#=*~^A-Zh\{`\[\r\n]*/]]),["wiki"]); 18 | PR.registerLangHandler(PR.createSimpleLexer([["kwd",/^#[a-z]+/i,null,"#"]],[]),["wiki.meta"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-lua.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\s\S]*?(?:\]\1\]|$)|[^\r\n]*)/],["str",/^\[(=*)\[[\s\S]*?(?:\]\1\]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i], 18 | ["pln",/^[a-z_]\w*/i],["pun",/^[^\w\t\n\r \xA0][^\w\t\n\r \xA0\"\'\-\+=]*/]]),["lua"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-erl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Andrew Allen 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^\?[^ \t\n({]+/,null,"?"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\n]*/],["kwd",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\b/], 18 | ["kwd",/^-[a-z_]+/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;]/]]),["erlang","erl"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-erlang.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Andrew Allen 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^\?[^ \t\n({]+/,null,"?"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\n]*/],["kwd",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\b/], 18 | ["kwd",/^-[a-z_]+/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;]/]]),["erlang","erl"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-hs.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2009 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])\'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:(?:--+(?:[^\r\n\x0C]*)?)|(?:\{-(?:[^-]|-+[^-\}])*-\}))/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^a-zA-Z0-9\']|$)/, 18 | null],["pln",/^(?:[A-Z][\w\']*\.)*[a-zA-Z][\w\']*/],["pun",/^[^\t\n\x0B\x0C\r a-zA-Z0-9\'\"]+/]]),["hs"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-erl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Andrew Allen 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^\?[^ \t\n({]+/,null,"?"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\n]*/],["kwd",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\b/], 18 | ["kwd",/^-[a-z_]+/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;]/]]),["erlang","erl"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-erlang.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Andrew Allen 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^\?[^ \t\n({]+/,null,"?"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\n]*/],["kwd",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\b/], 18 | ["kwd",/^-[a-z_]+/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;]/]]),["erlang","erl"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/base/basemapper/BaseMapper.java: -------------------------------------------------------------------------------- 1 | package com.webside.base.basemapper; 2 | 3 | import java.io.Serializable; 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | import org.apache.ibatis.annotations.Param; 8 | 9 | /** 10 | * 11 | * @Description: 基础mapper定义,可以自己重写,也可加入自己的方法 12 | * @author gaogang 13 | * @date 2016年7月12日 下午3:01:23 14 | * 15 | * @param 操作的对象类型 16 | * @param id 17 | */ 18 | public interface BaseMapper { 19 | 20 | public int insert(T t); 21 | 22 | public int insertBatch(List t); 23 | 24 | public int deleteBatchById(List ids); 25 | 26 | public int deleteById(@Param("id")ID id); 27 | 28 | public int deleteById(@Param("id")String id); 29 | 30 | public int update(T t); 31 | 32 | public T find(Map parameter); 33 | 34 | public T findById(@Param("id")ID id); 35 | 36 | public T findById(@Param("id")String id); 37 | 38 | public T findByName(@Param("name")String name); 39 | 40 | public List queryListAll(Map parameter); 41 | 42 | public List queryListByPage(Map parameter); 43 | 44 | int count(Map parameter); 45 | 46 | } 47 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-hs.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2009 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\x0B\f\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])\'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:(?:--+(?:[^\r\n\x0C]*)?)|(?:\{-(?:[^-]|-+[^-\}])*-\}))/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^a-zA-Z0-9\']|$)/, 18 | null],["pln",/^(?:[A-Z][\w\']*\.)*[a-zA-Z][\w\']*/],["pun",/^[^\t\n\x0B\x0C\r a-zA-Z0-9\'\"]+/]]),["hs"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/shiro/cache/ehcache/EhCacheShiroCacheManager.java: -------------------------------------------------------------------------------- 1 | package com.webside.shiro.cache.ehcache; 2 | 3 | import org.apache.shiro.cache.Cache; 4 | import org.apache.shiro.cache.CacheException; 5 | 6 | import com.webside.shiro.cache.ShiroCacheManager; 7 | 8 | /** 9 | * 10 | * @ClassName EhCacheShiroCacheManager 11 | * @Description ehCache管理 12 | * 13 | * @author wjggwm 14 | * @data 2016年12月13日 下午3:18:44 15 | */ 16 | public class EhCacheShiroCacheManager implements ShiroCacheManager { 17 | 18 | private org.springframework.cache.CacheManager cacheManager; 19 | 20 | /** 21 | * 设置spring cacheManager 22 | * 23 | * @param cacheManager 24 | */ 25 | public void setCacheManager(org.springframework.cache.CacheManager cacheManager) { 26 | this.cacheManager = cacheManager; 27 | } 28 | 29 | 30 | public Cache getCache(String name) throws CacheException { 31 | org.springframework.cache.Cache cache = cacheManager.getCache(name); 32 | return new EhcacheShiroCache(cache); 33 | } 34 | 35 | 36 | /* (non-Javadoc) 37 | * @see com.webside.shiro.cache.ShiroCacheManager#destroy() 38 | */ 39 | @Override 40 | public void destroy() { 41 | 42 | } 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/tr.js: -------------------------------------------------------------------------------- 1 | define({ 2 | tr: { 3 | 'Allowed values:' : 'İzin verilen değerler:', 4 | 'Compare all with predecessor': 'Tümünü öncekiler ile karşılaştır', 5 | 'compare changes to:' : 'değişiklikleri karşılaştır:', 6 | 'compared to' : 'karşılaştır', 7 | 'Default value:' : 'Varsayılan değer:', 8 | 'Description' : 'Açıklama', 9 | 'Field' : 'Alan', 10 | 'General' : 'Genel', 11 | 'Generated with' : 'Oluşturan', 12 | 'Name' : 'İsim', 13 | 'No response values.' : 'Dönüş verisi yok.', 14 | 'optional' : 'opsiyonel', 15 | 'Parameter' : 'Parametre', 16 | 'Permission:' : 'İzin:', 17 | 'Response' : 'Dönüş', 18 | 'Send' : 'Gönder', 19 | 'Send a Sample Request' : 'Örnek istek gönder', 20 | 'show up to version:' : 'bu versiyona kadar göster:', 21 | 'Size range:' : 'Boyut aralığı:', 22 | 'Type' : 'Tip', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/pl.js: -------------------------------------------------------------------------------- 1 | define({ 2 | pl: { 3 | 'Allowed values:' : 'Dozwolone wartości:', 4 | 'Compare all with predecessor': 'Porównaj z poprzednimi wersjami', 5 | 'compare changes to:' : 'porównaj zmiany do:', 6 | 'compared to' : 'porównaj do:', 7 | 'Default value:' : 'Wartość domyślna:', 8 | 'Description' : 'Opis', 9 | 'Field' : 'Pole', 10 | 'General' : 'Generalnie', 11 | 'Generated with' : 'Wygenerowano z', 12 | 'Name' : 'Nazwa', 13 | 'No response values.' : 'Brak odpowiedzi.', 14 | 'optional' : 'opcjonalny', 15 | 'Parameter' : 'Parametr', 16 | 'Permission:' : 'Uprawnienia:', 17 | 'Response' : 'Odpowiedź', 18 | 'Send' : 'Wyślij', 19 | 'Send a Sample Request' : 'Wyślij przykładowe żądanie', 20 | 'show up to version:' : 'pokaż do wersji:', 21 | 'Size range:' : 'Zakres rozmiaru:', 22 | 'Type' : 'Typ', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/test/java/com/webside/joda/TestJoda.java: -------------------------------------------------------------------------------- 1 | package com.webside.joda; 2 | 3 | import java.util.Date; 4 | import java.util.Locale; 5 | 6 | import org.joda.time.DateTime; 7 | import org.joda.time.LocalDate; 8 | import org.joda.time.format.DateTimeFormat; 9 | import org.joda.time.format.DateTimeFormatter; 10 | import org.junit.Test; 11 | 12 | public class TestJoda { 13 | 14 | @Test 15 | public void testJoda() 16 | { 17 | DateTimeFormatter format = DateTimeFormat .forPattern("yyyy-MM-dd HH:mm:ss"); 18 | //时间解析 19 | DateTime dateTime2 = DateTime.parse("2012-12-21 23:22:45", format); 20 | 21 | //时间格式化,输出==> 2012/12/21 23:22:45 Fri 22 | String string_u = dateTime2.toString("yyyy/MM/dd HH:mm:ss EE"); 23 | System.out.println(string_u); 24 | 25 | //格式化带Locale,输出==> 2012年12月21日 23:22:45 星期五 26 | String string_c = dateTime2.toString("yyyy年MM月dd日 HH:mm:ss EE",Locale.CHINESE); 27 | System.out.println(string_c); 28 | 29 | LocalDate date = LocalDate.parse("2012-12-21 23:22:45", DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss")); 30 | Date dates = date.toDate(); 31 | System.out.println(dates); 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/ca.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ca: { 3 | 'Allowed values:' : 'Valors permesos:', 4 | 'Compare all with predecessor': 'Comparar tot amb versió anterior', 5 | 'compare changes to:' : 'comparar canvis amb:', 6 | 'compared to' : 'comparat amb', 7 | 'Default value:' : 'Valor per defecte:', 8 | 'Description' : 'Descripció', 9 | 'Field' : 'Camp', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generat amb', 12 | 'Name' : 'Nom', 13 | 'No response values.' : 'Sense valors en la resposta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Paràmetre', 16 | 'Permission:' : 'Permisos:', 17 | 'Response' : 'Resposta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar una petició d\'exemple', 20 | 'show up to version:' : 'mostrar versió:', 21 | 'Size range:' : 'Tamany de rang:', 22 | 'Type' : 'Tipus', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/vi.js: -------------------------------------------------------------------------------- 1 | define({ 2 | vi: { 3 | 'Allowed values:' : 'Giá trị chấp nhận:', 4 | 'Compare all with predecessor': 'So sánh với tất cả phiên bản trước', 5 | 'compare changes to:' : 'so sánh sự thay đổi với:', 6 | 'compared to' : 'so sánh với', 7 | 'Default value:' : 'Giá trị mặc định:', 8 | 'Description' : 'Chú thích', 9 | 'Field' : 'Trường dữ liệu', 10 | 'General' : 'Tổng quan', 11 | 'Generated with' : 'Được tạo bởi', 12 | 'Name' : 'Tên', 13 | 'No response values.' : 'Không có kết quả trả về.', 14 | 'optional' : 'Tùy chọn', 15 | 'Parameter' : 'Tham số', 16 | 'Permission:' : 'Quyền hạn:', 17 | 'Response' : 'Kết quả', 18 | 'Send' : 'Gửi', 19 | 'Send a Sample Request' : 'Gửi một yêu cầu mẫu', 20 | 'show up to version:' : 'hiển thị phiên bản:', 21 | 'Size range:' : 'Kích cỡ:', 22 | 'Type' : 'Kiểu', 23 | 'url' : 'liên kết' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/quartz/extension/AutowiringSpringBeanJobFactory.java: -------------------------------------------------------------------------------- 1 | package com.webside.quartz.extension; 2 | 3 | import org.quartz.spi.TriggerFiredBundle; 4 | import org.springframework.beans.factory.config.AutowireCapableBeanFactory; 5 | import org.springframework.context.ApplicationContext; 6 | import org.springframework.context.ApplicationContextAware; 7 | import org.springframework.scheduling.quartz.SpringBeanJobFactory; 8 | 9 | /** 10 | * Autowire Quartz Jobs with Spring context dependencies 11 | * inject bean reference into a Quartz job in Spring 12 | * 13 | * @see http://stackoverflow.com/questions/6990767/inject-bean-reference-into-a-quartz -job-in-spring/15211030#15211030 14 | */ 15 | public final class AutowiringSpringBeanJobFactory extends SpringBeanJobFactory 16 | implements ApplicationContextAware { 17 | 18 | private transient AutowireCapableBeanFactory beanFactory; 19 | 20 | public void setApplicationContext(final ApplicationContext context) { 21 | beanFactory = context.getAutowireCapableBeanFactory(); 22 | } 23 | 24 | @Override 25 | protected Object createJobInstance(final TriggerFiredBundle bundle) 26 | throws Exception { 27 | final Object job = super.createJobInstance(bundle); 28 | beanFactory.autowireBean(job); 29 | return job; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/tr.js: -------------------------------------------------------------------------------- 1 | define({ 2 | tr: { 3 | 'Allowed values:' : 'İzin verilen değerler:', 4 | 'Compare all with predecessor': 'Tümünü öncekiler ile karşılaştır', 5 | 'compare changes to:' : 'değişiklikleri karşılaştır:', 6 | 'compared to' : 'karşılaştır', 7 | 'Default value:' : 'Varsayılan değer:', 8 | 'Description' : 'Açıklama', 9 | 'Field' : 'Alan', 10 | 'General' : 'Genel', 11 | 'Generated with' : 'Oluşturan', 12 | 'Name' : 'İsim', 13 | 'No response values.' : 'Dönüş verisi yok.', 14 | 'optional' : 'opsiyonel', 15 | 'Parameter' : 'Parametre', 16 | 'Permission:' : 'İzin:', 17 | 'Response' : 'Dönüş', 18 | 'Send' : 'Gönder', 19 | 'Send a Sample Request' : 'Örnek istek gönder', 20 | 'show up to version:' : 'bu versiyona kadar göster:', 21 | 'Size range:' : 'Boyut aralığı:', 22 | 'Type' : 'Tip', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/ro.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ro: { 3 | 'Allowed values:' : 'Valori permise:', 4 | 'Compare all with predecessor': 'Compară toate cu versiunea precedentă', 5 | 'compare changes to:' : 'compară cu versiunea:', 6 | 'compared to' : 'comparat cu', 7 | 'Default value:' : 'Valoare implicită:', 8 | 'Description' : 'Descriere', 9 | 'Field' : 'Câmp', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generat cu', 12 | 'Name' : 'Nume', 13 | 'No response values.' : 'Nici o valoare returnată.', 14 | 'optional' : 'opțional', 15 | 'Parameter' : 'Parametru', 16 | 'Permission:' : 'Permisiune:', 17 | 'Response' : 'Răspuns', 18 | 'Send' : 'Trimite', 19 | 'Send a Sample Request' : 'Trimite o cerere de probă', 20 | 'show up to version:' : 'arată până la versiunea:', 21 | 'Size range:' : 'Interval permis:', 22 | 'Type' : 'Tip', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-tcl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Pyrios 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\{+/,null,"{"],["clo",/^\}+/,null,"}"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:after|append|apply|array|break|case|catch|continue|error|eval|exec|exit|expr|for|foreach|if|incr|info|proc|return|set|switch|trace|uplevel|upvar|while)\b/,null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i], 18 | ["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["tcl"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/de.js: -------------------------------------------------------------------------------- 1 | define({ 2 | de: { 3 | 'Allowed values:' : 'Erlaubte Werte:', 4 | 'Compare all with predecessor': 'Vergleiche alle mit ihren Vorgängern', 5 | 'compare changes to:' : 'vergleiche Änderungen mit:', 6 | 'compared to' : 'verglichen mit', 7 | 'Default value:' : 'Standardwert:', 8 | 'Description' : 'Beschreibung', 9 | 'Field' : 'Feld', 10 | 'General' : 'Allgemein', 11 | 'Generated with' : 'Erstellt mit', 12 | 'Name' : 'Name', 13 | 'No response values.' : 'Keine Rückgabewerte.', 14 | 'optional' : 'optional', 15 | 'Parameter' : 'Parameter', 16 | 'Permission:' : 'Berechtigung:', 17 | 'Response' : 'Antwort', 18 | 'Send' : 'Senden', 19 | 'Send a Sample Request' : 'Eine Beispielanfrage senden', 20 | 'show up to version:' : 'zeige bis zur Version:', 21 | 'Size range:' : 'Größenbereich:', 22 | 'Type' : 'Typ', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/pt_br.js: -------------------------------------------------------------------------------- 1 | define({ 2 | 'pt_br': { 3 | 'Allowed values:' : 'Valores permitidos:', 4 | 'Compare all with predecessor': 'Compare todos com antecessores', 5 | 'compare changes to:' : 'comparar alterações com:', 6 | 'compared to' : 'comparado com', 7 | 'Default value:' : 'Valor padrão:', 8 | 'Description' : 'Descrição', 9 | 'Field' : 'Campo', 10 | 'General' : 'Geral', 11 | 'Generated with' : 'Gerado com', 12 | 'Name' : 'Nome', 13 | 'No response values.' : 'Sem valores de resposta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Parâmetro', 16 | 'Permission:' : 'Permissão:', 17 | 'Response' : 'Resposta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar um Exemplo de Pedido', 20 | 'show up to version:' : 'aparecer para a versão:', 21 | 'Size range:' : 'Faixa de tamanho:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/ru.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ru: { 3 | 'Allowed values:' : 'Допустимые значения:', 4 | 'Compare all with predecessor': 'Сравнить с предыдущей версией', 5 | 'compare changes to:' : 'сравнить с:', 6 | 'compared to' : 'в сравнении с', 7 | 'Default value:' : 'По умолчанию:', 8 | 'Description' : 'Описание', 9 | 'Field' : 'Название', 10 | 'General' : 'Общая информация', 11 | 'Generated with' : 'Сгенерировано с помощью', 12 | 'Name' : 'Название', 13 | 'No response values.' : 'Нет значений для ответа.', 14 | 'optional' : 'необязательный', 15 | 'Parameter' : 'Параметр', 16 | 'Permission:' : 'Разрешено:', 17 | 'Response' : 'Ответ', 18 | 'Send' : 'Отправить', 19 | 'Send a Sample Request' : 'Отправить тестовый запрос', 20 | 'show up to version:' : 'показать версию:', 21 | 'Size range:' : 'Ограничения:', 22 | 'Type' : 'Тип', 23 | 'url' : 'URL' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/pl.js: -------------------------------------------------------------------------------- 1 | define({ 2 | pl: { 3 | 'Allowed values:' : 'Dozwolone wartości:', 4 | 'Compare all with predecessor': 'Porównaj z poprzednimi wersjami', 5 | 'compare changes to:' : 'porównaj zmiany do:', 6 | 'compared to' : 'porównaj do:', 7 | 'Default value:' : 'Wartość domyślna:', 8 | 'Description' : 'Opis', 9 | 'Field' : 'Pole', 10 | 'General' : 'Generalnie', 11 | 'Generated with' : 'Wygenerowano z', 12 | 'Name' : 'Nazwa', 13 | 'No response values.' : 'Brak odpowiedzi.', 14 | 'optional' : 'opcjonalny', 15 | 'Parameter' : 'Parametr', 16 | 'Permission:' : 'Uprawnienia:', 17 | 'Response' : 'Odpowiedź', 18 | 'Send' : 'Wyślij', 19 | 'Send a Sample Request' : 'Wyślij przykładowe żądanie', 20 | 'show up to version:' : 'pokaż do wersji:', 21 | 'Size range:' : 'Zakres rozmiaru:', 22 | 'Type' : 'Typ', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/ca.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ca: { 3 | 'Allowed values:' : 'Valors permesos:', 4 | 'Compare all with predecessor': 'Comparar tot amb versió anterior', 5 | 'compare changes to:' : 'comparar canvis amb:', 6 | 'compared to' : 'comparat amb', 7 | 'Default value:' : 'Valor per defecte:', 8 | 'Description' : 'Descripció', 9 | 'Field' : 'Camp', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generat amb', 12 | 'Name' : 'Nom', 13 | 'No response values.' : 'Sense valors en la resposta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Paràmetre', 16 | 'Permission:' : 'Permisos:', 17 | 'Response' : 'Resposta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar una petició d\'exemple', 20 | 'show up to version:' : 'mostrar versió:', 21 | 'Size range:' : 'Tamany de rang:', 22 | 'Type' : 'Tipus', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/vi.js: -------------------------------------------------------------------------------- 1 | define({ 2 | vi: { 3 | 'Allowed values:' : 'Giá trị chấp nhận:', 4 | 'Compare all with predecessor': 'So sánh với tất cả phiên bản trước', 5 | 'compare changes to:' : 'so sánh sự thay đổi với:', 6 | 'compared to' : 'so sánh với', 7 | 'Default value:' : 'Giá trị mặc định:', 8 | 'Description' : 'Chú thích', 9 | 'Field' : 'Trường dữ liệu', 10 | 'General' : 'Tổng quan', 11 | 'Generated with' : 'Được tạo bởi', 12 | 'Name' : 'Tên', 13 | 'No response values.' : 'Không có kết quả trả về.', 14 | 'optional' : 'Tùy chọn', 15 | 'Parameter' : 'Tham số', 16 | 'Permission:' : 'Quyền hạn:', 17 | 'Response' : 'Kết quả', 18 | 'Send' : 'Gửi', 19 | 'Send a Sample Request' : 'Gửi một yêu cầu mẫu', 20 | 'show up to version:' : 'hiển thị phiên bản:', 21 | 'Size range:' : 'Kích cỡ:', 22 | 'Type' : 'Kiểu', 23 | 'url' : 'liên kết' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/es.js: -------------------------------------------------------------------------------- 1 | define({ 2 | es: { 3 | 'Allowed values:' : 'Valores permitidos:', 4 | 'Compare all with predecessor': 'Comparar todo con versión anterior', 5 | 'compare changes to:' : 'comparar cambios con:', 6 | 'compared to' : 'comparado con', 7 | 'Default value:' : 'Valor por defecto:', 8 | 'Description' : 'Descripción', 9 | 'Field' : 'Campo', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generado con', 12 | 'Name' : 'Nombre', 13 | 'No response values.' : 'Sin valores en la respuesta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Parámetro', 16 | 'Permission:' : 'Permisos:', 17 | 'Response' : 'Respuesta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar una petición de ejemplo', 20 | 'show up to version:' : 'mostrar a versión:', 21 | 'Size range:' : 'Tamaño de rango:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/nl.js: -------------------------------------------------------------------------------- 1 | define({ 2 | nl: { 3 | 'Allowed values:' : 'Toegestane waarden:', 4 | 'Compare all with predecessor': 'Vergelijk alle met voorgaande versie', 5 | 'compare changes to:' : 'vergelijk veranderingen met:', 6 | 'compared to' : 'vergelijk met', 7 | 'Default value:' : 'Standaard waarde:', 8 | 'Description' : 'Omschrijving', 9 | 'Field' : 'Veld', 10 | 'General' : 'Algemeen', 11 | 'Generated with' : 'Gegenereerd met', 12 | 'Name' : 'Naam', 13 | 'No response values.' : 'Geen response waardes.', 14 | 'optional' : 'optioneel', 15 | 'Parameter' : 'Parameter', 16 | 'Permission:' : 'Permissie:', 17 | 'Response' : 'Antwoorden', 18 | 'Send' : 'Sturen', 19 | 'Send a Sample Request' : 'Stuur een sample aanvragen', 20 | 'show up to version:' : 'toon tot en met versie:', 21 | 'Size range:' : 'Maatbereik:', 22 | 'Type' : 'Type', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/quartz/job/InjectJob.java: -------------------------------------------------------------------------------- 1 | package com.webside.quartz.job; 2 | 3 | import org.quartz.JobExecutionContext; 4 | import org.quartz.JobExecutionException; 5 | import org.slf4j.Logger; 6 | import org.slf4j.LoggerFactory; 7 | import org.springframework.scheduling.quartz.QuartzJobBean; 8 | 9 | import com.webside.quartz.model.ScheduleJobEntity; 10 | 11 | /** 12 | * 13 | * @ClassName: InjectJob 14 | * @Description: QuartzJobBean:This allows to implement dependency-injected Quartz Jobs without a dependency on Spring base classes 15 | * @author wjggwm 16 | * @date 2016年7月18日 下午5:54:08 17 | * 18 | */ 19 | public class InjectJob extends QuartzJobBean { 20 | 21 | private static final Logger logger = LoggerFactory.getLogger(InjectJob.class); 22 | 23 | 24 | @Override 25 | protected void executeInternal(JobExecutionContext context) 26 | throws JobExecutionException { 27 | logger.info("任务执行了..."); 28 | /* 29 | * JobExecutionContext 将会合并JobDetail与Trigger的JobDataMap,如果其中属性名相同,后者将覆盖前者。 30 | * 可以使用JobExecutionContext.getMergedJobDataMap()方法来获取合并后的JobDataMap 31 | */ 32 | ScheduleJobEntity scheduleJob = (ScheduleJobEntity) context.getMergedJobDataMap().get("scheduleJob"); 33 | 34 | System.out.println("任务名称 = [" + scheduleJob.getJobName() + "]"); 35 | 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/ro.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ro: { 3 | 'Allowed values:' : 'Valori permise:', 4 | 'Compare all with predecessor': 'Compară toate cu versiunea precedentă', 5 | 'compare changes to:' : 'compară cu versiunea:', 6 | 'compared to' : 'comparat cu', 7 | 'Default value:' : 'Valoare implicită:', 8 | 'Description' : 'Descriere', 9 | 'Field' : 'Câmp', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generat cu', 12 | 'Name' : 'Nume', 13 | 'No response values.' : 'Nici o valoare returnată.', 14 | 'optional' : 'opțional', 15 | 'Parameter' : 'Parametru', 16 | 'Permission:' : 'Permisiune:', 17 | 'Response' : 'Răspuns', 18 | 'Send' : 'Trimite', 19 | 'Send a Sample Request' : 'Trimite o cerere de probă', 20 | 'show up to version:' : 'arată până la versiunea:', 21 | 'Size range:' : 'Interval permis:', 22 | 'Type' : 'Tip', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-tcl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Pyrios 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\{+/,null,"{"],["clo",/^\}+/,null,"}"],["com",/^#[^\r\n]*/,null,"#"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:after|append|apply|array|break|case|catch|continue|error|eval|exec|exit|expr|for|foreach|if|incr|info|proc|return|set|switch|trace|uplevel|upvar|while)\b/,null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i], 18 | ["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["tcl"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/de.js: -------------------------------------------------------------------------------- 1 | define({ 2 | de: { 3 | 'Allowed values:' : 'Erlaubte Werte:', 4 | 'Compare all with predecessor': 'Vergleiche alle mit ihren Vorgängern', 5 | 'compare changes to:' : 'vergleiche Änderungen mit:', 6 | 'compared to' : 'verglichen mit', 7 | 'Default value:' : 'Standardwert:', 8 | 'Description' : 'Beschreibung', 9 | 'Field' : 'Feld', 10 | 'General' : 'Allgemein', 11 | 'Generated with' : 'Erstellt mit', 12 | 'Name' : 'Name', 13 | 'No response values.' : 'Keine Rückgabewerte.', 14 | 'optional' : 'optional', 15 | 'Parameter' : 'Parameter', 16 | 'Permission:' : 'Berechtigung:', 17 | 'Response' : 'Antwort', 18 | 'Send' : 'Senden', 19 | 'Send a Sample Request' : 'Eine Beispielanfrage senden', 20 | 'show up to version:' : 'zeige bis zur Version:', 21 | 'Size range:' : 'Größenbereich:', 22 | 'Type' : 'Typ', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/pt_br.js: -------------------------------------------------------------------------------- 1 | define({ 2 | 'pt_br': { 3 | 'Allowed values:' : 'Valores permitidos:', 4 | 'Compare all with predecessor': 'Compare todos com antecessores', 5 | 'compare changes to:' : 'comparar alterações com:', 6 | 'compared to' : 'comparado com', 7 | 'Default value:' : 'Valor padrão:', 8 | 'Description' : 'Descrição', 9 | 'Field' : 'Campo', 10 | 'General' : 'Geral', 11 | 'Generated with' : 'Gerado com', 12 | 'Name' : 'Nome', 13 | 'No response values.' : 'Sem valores de resposta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Parâmetro', 16 | 'Permission:' : 'Permissão:', 17 | 'Response' : 'Resposta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar um Exemplo de Pedido', 20 | 'show up to version:' : 'aparecer para a versão:', 21 | 'Size range:' : 'Faixa de tamanho:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/ru.js: -------------------------------------------------------------------------------- 1 | define({ 2 | ru: { 3 | 'Allowed values:' : 'Допустимые значения:', 4 | 'Compare all with predecessor': 'Сравнить с предыдущей версией', 5 | 'compare changes to:' : 'сравнить с:', 6 | 'compared to' : 'в сравнении с', 7 | 'Default value:' : 'По умолчанию:', 8 | 'Description' : 'Описание', 9 | 'Field' : 'Название', 10 | 'General' : 'Общая информация', 11 | 'Generated with' : 'Сгенерировано с помощью', 12 | 'Name' : 'Название', 13 | 'No response values.' : 'Нет значений для ответа.', 14 | 'optional' : 'необязательный', 15 | 'Parameter' : 'Параметр', 16 | 'Permission:' : 'Разрешено:', 17 | 'Response' : 'Ответ', 18 | 'Send' : 'Отправить', 19 | 'Send a Sample Request' : 'Отправить тестовый запрос', 20 | 'show up to version:' : 'показать версию:', 21 | 'Size range:' : 'Ограничения:', 22 | 'Type' : 'Тип', 23 | 'url' : 'URL' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/fr.js: -------------------------------------------------------------------------------- 1 | define({ 2 | fr: { 3 | 'Allowed values:' : 'Valeurs autorisées :', 4 | 'Compare all with predecessor': 'Tout comparer avec ...', 5 | 'compare changes to:' : 'comparer les changements à :', 6 | 'compared to' : 'comparer à', 7 | 'Default value:' : 'Valeur par défaut :', 8 | 'Description' : 'Description', 9 | 'Field' : 'Champ', 10 | 'General' : 'Général', 11 | 'Generated with' : 'Généré avec', 12 | 'Name' : 'Nom', 13 | 'No response values.' : 'Aucune valeur de réponse.', 14 | 'optional' : 'optionnel', 15 | 'Parameter' : 'Paramètre', 16 | 'Permission:' : 'Permission :', 17 | 'Response' : 'Réponse', 18 | 'Send' : 'Envoyer', 19 | 'Send a Sample Request' : 'Envoyer une requête représentative', 20 | 'show up to version:' : 'Montrer à partir de la version :', 21 | 'Size range:' : 'Ordre de grandeur :', 22 | 'Type' : 'Type', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/it.js: -------------------------------------------------------------------------------- 1 | define({ 2 | it: { 3 | 'Allowed values:' : 'Valori permessi:', 4 | 'Compare all with predecessor': 'Confronta tutto con versioni precedenti', 5 | 'compare changes to:' : 'confronta modifiche con:', 6 | 'compared to' : 'confrontato con', 7 | 'Default value:' : 'Valore predefinito:', 8 | 'Description' : 'Descrizione', 9 | 'Field' : 'Campo', 10 | 'General' : 'Generale', 11 | 'Generated with' : 'Creato con', 12 | 'Name' : 'Nome', 13 | 'No response values.' : 'Nessun valore di risposta.', 14 | 'optional' : 'opzionale', 15 | 'Parameter' : 'Parametro', 16 | 'Permission:' : 'Permessi:', 17 | 'Response' : 'Risposta', 18 | 'Send' : 'Invia', 19 | 'Send a Sample Request' : 'Invia una richiesta di esempio', 20 | 'show up to version:' : 'mostra alla versione:', 21 | 'Size range:' : 'Intervallo dimensione:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/es.js: -------------------------------------------------------------------------------- 1 | define({ 2 | es: { 3 | 'Allowed values:' : 'Valores permitidos:', 4 | 'Compare all with predecessor': 'Comparar todo con versión anterior', 5 | 'compare changes to:' : 'comparar cambios con:', 6 | 'compared to' : 'comparado con', 7 | 'Default value:' : 'Valor por defecto:', 8 | 'Description' : 'Descripción', 9 | 'Field' : 'Campo', 10 | 'General' : 'General', 11 | 'Generated with' : 'Generado con', 12 | 'Name' : 'Nombre', 13 | 'No response values.' : 'Sin valores en la respuesta.', 14 | 'optional' : 'opcional', 15 | 'Parameter' : 'Parámetro', 16 | 'Permission:' : 'Permisos:', 17 | 'Response' : 'Respuesta', 18 | 'Send' : 'Enviar', 19 | 'Send a Sample Request' : 'Enviar una petición de ejemplo', 20 | 'show up to version:' : 'mostrar a versión:', 21 | 'Size range:' : 'Tamaño de rango:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/nl.js: -------------------------------------------------------------------------------- 1 | define({ 2 | nl: { 3 | 'Allowed values:' : 'Toegestane waarden:', 4 | 'Compare all with predecessor': 'Vergelijk alle met voorgaande versie', 5 | 'compare changes to:' : 'vergelijk veranderingen met:', 6 | 'compared to' : 'vergelijk met', 7 | 'Default value:' : 'Standaard waarde:', 8 | 'Description' : 'Omschrijving', 9 | 'Field' : 'Veld', 10 | 'General' : 'Algemeen', 11 | 'Generated with' : 'Gegenereerd met', 12 | 'Name' : 'Naam', 13 | 'No response values.' : 'Geen response waardes.', 14 | 'optional' : 'optioneel', 15 | 'Parameter' : 'Parameter', 16 | 'Permission:' : 'Permissie:', 17 | 'Response' : 'Antwoorden', 18 | 'Send' : 'Sturen', 19 | 'Send a Sample Request' : 'Stuur een sample aanvragen', 20 | 'show up to version:' : 'toon tot en met versie:', 21 | 'Size range:' : 'Maatbereik:', 22 | 'Type' : 'Type', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/jqueryui/jquery.ui.touch-punch.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery UI Touch Punch 0.2.3 3 | * 4 | * Copyright 2011–2014, Dave Furfero 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * 7 | * Depends: 8 | * jquery.ui.widget.js 9 | * jquery.ui.mouse.js 10 | */ 11 | !function(a){function b(a,b){if(!(a.originalEvent.touches.length>1)){a.preventDefault();var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var c,d=a.ui.mouse.prototype,e=d._mouseInit,f=d._mouseDestroy;d._touchStart=function(a){var d=this;!c&&d._mouseCapture(a.originalEvent.changedTouches[0])&&(c=!0,d._touchMoved=!1,b(a,"mouseover"),b(a,"mousemove"),b(a,"mousedown"))},d._touchMove=function(a){c&&(this._touchMoved=!0,b(a,"mousemove"))},d._touchEnd=function(a){c&&(b(a,"mouseup"),b(a,"mouseout"),this._touchMoved||b(a,"click"),c=!1)},d._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),e.call(b)},d._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),f.call(b)}}}(jQuery); -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/fr.js: -------------------------------------------------------------------------------- 1 | define({ 2 | fr: { 3 | 'Allowed values:' : 'Valeurs autorisées :', 4 | 'Compare all with predecessor': 'Tout comparer avec ...', 5 | 'compare changes to:' : 'comparer les changements à :', 6 | 'compared to' : 'comparer à', 7 | 'Default value:' : 'Valeur par défaut :', 8 | 'Description' : 'Description', 9 | 'Field' : 'Champ', 10 | 'General' : 'Général', 11 | 'Generated with' : 'Généré avec', 12 | 'Name' : 'Nom', 13 | 'No response values.' : 'Aucune valeur de réponse.', 14 | 'optional' : 'optionnel', 15 | 'Parameter' : 'Paramètre', 16 | 'Permission:' : 'Permission :', 17 | 'Response' : 'Réponse', 18 | 'Send' : 'Envoyer', 19 | 'Send a Sample Request' : 'Envoyer une requête représentative', 20 | 'show up to version:' : 'Montrer à partir de la version :', 21 | 'Size range:' : 'Ordre de grandeur :', 22 | 'Type' : 'Type', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/it.js: -------------------------------------------------------------------------------- 1 | define({ 2 | it: { 3 | 'Allowed values:' : 'Valori permessi:', 4 | 'Compare all with predecessor': 'Confronta tutto con versioni precedenti', 5 | 'compare changes to:' : 'confronta modifiche con:', 6 | 'compared to' : 'confrontato con', 7 | 'Default value:' : 'Valore predefinito:', 8 | 'Description' : 'Descrizione', 9 | 'Field' : 'Campo', 10 | 'General' : 'Generale', 11 | 'Generated with' : 'Creato con', 12 | 'Name' : 'Nome', 13 | 'No response values.' : 'Nessun valore di risposta.', 14 | 'optional' : 'opzionale', 15 | 'Parameter' : 'Parametro', 16 | 'Permission:' : 'Permessi:', 17 | 'Response' : 'Risposta', 18 | 'Send' : 'Invia', 19 | 'Send a Sample Request' : 'Invia una richiesta di esempio', 20 | 'show up to version:' : 'mostra alla versione:', 21 | 'Size range:' : 'Intervallo dimensione:', 22 | 'Type' : 'Tipo', 23 | 'url' : 'url' 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/quartz/job/stateful/EmailStatefulJob.java: -------------------------------------------------------------------------------- 1 | package com.webside.quartz.job.stateful; 2 | 3 | import org.quartz.DisallowConcurrentExecution; 4 | import org.quartz.PersistJobDataAfterExecution; 5 | 6 | import com.webside.quartz.job.EmailJob; 7 | 8 | /** 9 | * 10 | * @ClassName: QuartzStatefulJob 11 | * @Description: 12 | * 这里实现的是有状态job,即job不可并发,只能串行 13 | * 实现方式: 14 | * 1、添加注解@DisallowConcurrentExecution 15 | * 2、继承StatefulJob 16 | * This job has the same functionality of SimpleRecoveryJob except 17 | * that this job implements is 'stateful', in that it will have it's data 18 | * (JobDataMap) automatically re-persisted after each execution, and only one 19 | * instance of the JobDetail can be executed at a time. 20 | * @DisallowConcurrentExecution,如果使用该注解,那么同一时间将只有一个Job实例被执行。如,ReportJob有个实例为ReportForJoe,那么同一时间只有一个ReportForJoe被执行。而ReportForMike等都可以执行 21 | * @PersistJobDataAfterExecution,如果使用该注解,在Job被执行结束后,将会更新JobDataMap,这样下次Job执行后就会使用新的值而不是初始值。 22 | * 如果使用@PersistJobDataAfterExecution注解,推荐也使用@DisallowConcurrentExecution注解,这是为了避免并发问题导致数据紊乱。 23 | * @author gaogang 24 | * @date 2016年7月15日 下午3:11:19 25 | * 26 | */ 27 | @PersistJobDataAfterExecution 28 | @DisallowConcurrentExecution 29 | public class EmailStatefulJob extends EmailJob{ 30 | 31 | public EmailStatefulJob() 32 | { 33 | super(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/resource/service/ResourceService.java: -------------------------------------------------------------------------------- 1 | package com.webside.resource.service; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | import com.webside.resource.model.ResourceEntity; 7 | 8 | public interface ResourceService{ 9 | 10 | /** 11 | * 自定义方法 12 | * 获取用户ID对应的资源信息 13 | * @param userId 14 | * @return 15 | */ 16 | public List findResourcesByUserId(int userId); 17 | 18 | /** 19 | * 自定义方法 20 | * 获取用户ID对应的资源菜单信息 21 | * @param userId 22 | * @return 23 | */ 24 | public List findResourcesMenuByUserId(int userId); 25 | 26 | public List queryListByPage(Map parameter); 27 | 28 | public List queryTreeGridListByPage(Map parameter); 29 | 30 | public ResourceEntity findByName(String name); 31 | 32 | public ResourceEntity findById(Long id); 33 | 34 | public int update(ResourceEntity resourceEntity); 35 | 36 | public int deleteBatchById(List resourceIds); 37 | 38 | public List queryResourceList(Map parameter); 39 | 40 | public int insert(ResourceEntity resourceEntity); 41 | 42 | public int count(Map parameter); 43 | 44 | public boolean deleteRoleAndResource(List resourceIds); 45 | 46 | } 47 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-pascal.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$))/,null,"'"],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^\(\*[\s\S]*?(?:\*\)|$)|^\{[\s\S]*?(?:\}|$)/,null],["kwd",/^(?:ABSOLUTE|AND|ARRAY|ASM|ASSEMBLER|BEGIN|CASE|CONST|CONSTRUCTOR|DESTRUCTOR|DIV|DO|DOWNTO|ELSE|END|EXTERNAL|FOR|FORWARD|FUNCTION|GOTO|IF|IMPLEMENTATION|IN|INLINE|INTERFACE|INTERRUPT|LABEL|MOD|NOT|OBJECT|OF|OR|PACKED|PROCEDURE|PROGRAM|RECORD|REPEAT|SET|SHL|SHR|THEN|TO|TYPE|UNIT|UNTIL|USES|VAR|VIRTUAL|WHILE|WITH|XOR)\b/i, 18 | null],["lit",/^(?:true|false|self|nil)/i,null],["pln",/^[a-z][a-z0-9]*/i,null],["lit",/^(?:\$[a-f0-9]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?)/i,null,"0123456789"],["pun",/^.[^\s\w\.$@\'\/]*/,null]]),["pascal"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/resources/js/backgroundSlider/backgroundSlider.min.js: -------------------------------------------------------------------------------- 1 | !function(a){a.fn.extend({backgroundSlider:function(c){var d=a.extend({},b,c),e=a(this),f=e.children("img").length,g=1;switch(d.direction){case"in":a("#backgroundSlider img").css({width:"120%",height:"120%",top:"-10%",left:"-10%"}),a("#backgroundSlider img[name='1']").css({display:"block"}).animate({width:"100%",height:"100%",top:"0",left:"0"},d.speed-1e3),setInterval(function(){a("#backgroundSlider img[name='"+g+"']").fadeOut(100),g++,g=g>f?"1":g,a("#backgroundSlider img[name='"+g+"']").css({width:"120%",height:"120%",top:"-10%",left:"-10%"}).fadeIn(1e3).animate({width:"100%",height:"100%",top:"0",left:"0"},d.speed-1e3)},d.speed);break;case"out":a("#backgroundSlider img[name='1']").css({display:"block"}).animate({width:"120%",height:"120%",top:"-10%",left:"-10%"},d.speed-1e3),setInterval(function(){a("#backgroundSlider img[name='"+g+"']").fadeOut(100),g++,g=g>f?"1":g,a("#backgroundSlider img[name='"+g+"']").css({width:"100%",height:"100%",top:"0%",left:"0%"}).fadeIn(1e3).animate({width:"120%",height:"120%",top:"-10%",left:"-10%"},d.speed-1e3)},d.speed);break;case"slide":a("#backgroundSlider img[name='1']").css({display:"block"}),setInterval(function(){a("#backgroundSlider img[name='"+g+"']").fadeOut(d.speed),g++,g=g>f?"1":g,a("#backgroundSlider img[name='"+g+"']").fadeIn(d.speed)},d.speed)}return this}});var b={direction:"in",speed:3e3}}(window.jQuery); -------------------------------------------------------------------------------- /webside-dtgrid/src/main/resources/spring/spring-redis.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-pascal.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2013 Peter Kofler 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$))/,null,"'"],["pln",/^\s+/,null," \r\n\t\u00a0"]],[["com",/^\(\*[\s\S]*?(?:\*\)|$)|^\{[\s\S]*?(?:\}|$)/,null],["kwd",/^(?:ABSOLUTE|AND|ARRAY|ASM|ASSEMBLER|BEGIN|CASE|CONST|CONSTRUCTOR|DESTRUCTOR|DIV|DO|DOWNTO|ELSE|END|EXTERNAL|FOR|FORWARD|FUNCTION|GOTO|IF|IMPLEMENTATION|IN|INLINE|INTERFACE|INTERRUPT|LABEL|MOD|NOT|OBJECT|OF|OR|PACKED|PROCEDURE|PROGRAM|RECORD|REPEAT|SET|SHL|SHR|THEN|TO|TYPE|UNIT|UNTIL|USES|VAR|VIRTUAL|WHILE|WITH|XOR)\b/i, 18 | null],["lit",/^(?:true|false|self|nil)/i,null],["pln",/^[a-z][a-z0-9]*/i,null],["lit",/^(?:\$[a-f0-9]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+\-]?\d+)?)/i,null,"0123456789"],["pun",/^.[^\s\w\.$@\'\/]*/,null]]),["pascal"]); 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | **webside**是基于RBAC的完全响应式权限管理系统,包括用户管理、角色管理,权限管理等功能,适合javaweb开发者入门学习,也可直接用于项目,省去重复开发权限管理模块,提高开发效率,项目使用主流技术如下: 2 | 3 | **服务端:** 4 | 5 | Spring4.3.0.RELEASE+SpringMVC4.3.0.RELEASE+Mybatis3.3.0+Shiro1.3.2+druid1.0.27+quartz2.2.3+logback1.1.7等 6 | 7 | **前端:** 8 | 9 | JQuery+Bootstrap3.3.5+ACE1.3.4(基于bootstrap的响应式后台管理模板)+layer+dlshouwen.grid.v1.2.1+JQuery validation等 10 | 11 | **数据存储:** 12 | 13 | 数据库使用Mysql + Redis + Ehcache 14 | 15 | **主要功能:** 16 | 17 | 这里是列表文本系统基础管理:用户管理、角色管理、资源管理 18 | 19 | 系统监控管理:在线用户、Sirona监控、Druid监控 20 | 21 | 日志信息管理:用户登录信息、用户操作信息 22 | 23 | 多级菜单:最多支持四级菜单 24 | 25 | 计划任务管理:计划中任务、运行中任务 26 | 27 | 控制台:欢迎页 28 | 29 | **特点:** 30 | 31 | 1、简单,项目代码均添加注释,阅读方便 32 | 33 | 2、精简,采用经典的MVC模式,对数据访问层和业务逻辑层进行了抽象,大大提高开发效率 34 | 35 | 3、快速,可以直接用于项目,只关注项目的核心功能模块,而无需重复开发权限管理模块 36 | 37 | 4、高逼格,项目使用maven进行构建 38 | 39 | 5、多维监控,添加druid监控和sirona监控,多重监控系统性能及各项指标 40 | 41 | 6、跨浏览器支持,IE、360、google、firefox 等主流浏览器 42 | 43 | 7、使用CDN加速,更快的页面加载体验 44 | 45 | 8、使用bootstrap响应式布局,PC、移动端完美自适应 46 | 47 | 9、地址栏智能过滤,防止用户直接输入地址进行操作 48 | 49 | 10、公益404页面,爱心满满 50 | 51 | 11、动态权限控制、session共享,集群更简单 52 | 53 | **部署方法:**部署的详细步骤请见[wiki](http://git.oschina.net/wjggwm/webside/wikis/deploy) 54 | 55 | **系统截图:** 56 | 57 | ![输入图片说明](http://git.oschina.net/uploads/images/2017/0119/111559_1f1c9a5e_413659.png "在这里输入图片标题") 58 | 59 | ![](http://git.oschina.net/uploads/images/2016/1013/144758_81218cf8_413659.png "") -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-r.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-s.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-Splus.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/exception/controller/RestExceptionHandler.java: -------------------------------------------------------------------------------- 1 | package com.webside.exception.controller; 2 | 3 | import org.springframework.http.HttpHeaders; 4 | import org.springframework.http.MediaType; 5 | import org.springframework.http.ResponseEntity; 6 | import org.springframework.web.bind.annotation.ControllerAdvice; 7 | import org.springframework.web.bind.annotation.ExceptionHandler; 8 | import org.springframework.web.context.request.WebRequest; 9 | import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler; 10 | 11 | import com.webside.enums.MediaTypes; 12 | import com.webside.exception.RestException; 13 | 14 | /** 15 | * 16 | * @ClassName: RestExceptionHandler 17 | * @Description: 自定义ExceptionHandler,专门处理Restful异常 18 | *

会被Spring-MVC自动扫描,但又不属于Controller的annotation 19 | * @author gaogang 20 | * @date 2016年7月12日 下午3:18:28 21 | * 22 | */ 23 | @ControllerAdvice 24 | public class RestExceptionHandler extends ResponseEntityExceptionHandler { 25 | 26 | /** 27 | * 处理RestException. 28 | */ 29 | @ExceptionHandler(value = { RestException.class }) 30 | public final ResponseEntity handleException(RestException ex, WebRequest request) { 31 | HttpHeaders headers = new HttpHeaders(); 32 | headers.setContentType(MediaType.parseMediaType(MediaTypes.TEXT_PLAIN_UTF_8.getType())); 33 | return handleExceptionInternal(ex, ex.getMessage(), headers, ex.status, request); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/roleresource/service/impl/RoleResourceServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.webside.roleresource.service.impl; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.stereotype.Service; 5 | 6 | import com.webside.exception.ServiceException; 7 | import com.webside.resource.model.ResourceEntity; 8 | import com.webside.resource.service.ResourceService; 9 | import com.webside.role.model.RoleEntity; 10 | import com.webside.role.service.RoleService; 11 | import com.webside.roleresource.service.RoleResourceService; 12 | import com.webside.shiro.ShiroAuthenticationManager; 13 | 14 | @Service("roleResourceService") 15 | public class RoleResourceServiceImpl implements RoleResourceService{ 16 | 17 | @Autowired 18 | private RoleService roleService; 19 | 20 | @Autowired 21 | private ResourceService resourceService; 22 | 23 | @Override 24 | public boolean insertRoleAndResource(ResourceEntity resourceEntity) { 25 | try 26 | { 27 | //1、添加资源 28 | resourceService.insert(resourceEntity); 29 | //2、超级管理员直接赋予该权限 30 | RoleEntity role = roleService.findByName("超级管理员"); 31 | roleService.addRolePerm(role.getId(), resourceEntity.getId()); 32 | //清空所有用户权限,重新加载权限 33 | ShiroAuthenticationManager.clearAllUserAuth(); 34 | return true; 35 | }catch(Exception e) 36 | { 37 | throw new ServiceException(e); 38 | } 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-r.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-s.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-Splus.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2012 Jeffrey B. Arnold 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\]|\\[\s\S])*(?:\'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],["lit",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],["lit",/^[+-]?([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|[0-9]+))(?![A-Za-z0-9_.])/], 18 | ["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|\*|\+|\^|\/|!|%.*?%|=|~|\$|@|:{1,3}|[\[\](){};,?])/],["pln",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\.[a-zA-Z_][0-9a-zA-Z\._]*)(?![A-Za-z0-9_.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/locales/locale.js: -------------------------------------------------------------------------------- 1 | define([ 2 | './locales/ca.js', 3 | './locales/de.js', 4 | './locales/es.js', 5 | './locales/fr.js', 6 | './locales/it.js', 7 | './locales/nl.js', 8 | './locales/pl.js', 9 | './locales/pt_br.js', 10 | './locales/ro.js', 11 | './locales/ru.js', 12 | './locales/tr.js', 13 | './locales/vi.js', 14 | './locales/zh.js', 15 | './locales/zh_cn.js' 16 | ], function() { 17 | var langId = (navigator.language || navigator.userLanguage).toLowerCase().replace('-', '_'); 18 | var language = langId.substr(0, 2); 19 | var locales = {}; 20 | 21 | for (index in arguments) { 22 | for (property in arguments[index]) 23 | locales[property] = arguments[index][property]; 24 | } 25 | if ( ! locales['en']) 26 | locales['en'] = {}; 27 | 28 | if ( ! locales[langId] && ! locales[language]) 29 | language = 'en'; 30 | 31 | var locale = (locales[langId] ? locales[langId] : locales[language]); 32 | 33 | function __(text) { 34 | var index = locale[text]; 35 | if (index === undefined) 36 | return text; 37 | return index; 38 | }; 39 | 40 | function setLanguage(language) { 41 | locale = locales[language]; 42 | } 43 | 44 | return { 45 | __ : __, 46 | locales : locales, 47 | locale : locale, 48 | setLanguage: setLanguage 49 | }; 50 | }); 51 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-cl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-el.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-lsp.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-rkt.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-scm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-ss.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/util/PageUtil.java: -------------------------------------------------------------------------------- 1 | package com.webside.util; 2 | 3 | import java.io.Serializable; 4 | 5 | /** 6 | * 7 | * @ClassName: PageUtil 8 | * @Description: 分页工具类 9 | * @author gaogang 10 | * @date 2016年7月12日 下午4:25:03 11 | * 12 | */ 13 | public class PageUtil implements Serializable{ 14 | /* 15 | * 16 | */ 17 | private static final long serialVersionUID = 1L; 18 | /* 19 | * 页码,从1开始 20 | */ 21 | private int pageNum; 22 | /* 23 | * 页面大小 24 | */ 25 | private int pageSize; 26 | /* 27 | * 排序字段 28 | */ 29 | private String orderByColumn; 30 | /* 31 | * 排序方式 32 | */ 33 | private String orderByType; 34 | 35 | public int getPageNum() { 36 | return pageNum; 37 | } 38 | 39 | public void setPageNum(int pageNum) { 40 | this.pageNum = pageNum; 41 | } 42 | 43 | public int getPageSize() { 44 | return pageSize; 45 | } 46 | 47 | public void setPageSize(int pageSize) { 48 | this.pageSize = pageSize; 49 | } 50 | 51 | public String getOrderByColumn() { 52 | return orderByColumn; 53 | } 54 | 55 | public void setOrderByColumn(String orderByColumn) { 56 | this.orderByColumn = orderByColumn; 57 | } 58 | 59 | public String getOrderByType() { 60 | return orderByType; 61 | } 62 | 63 | public void setOrderByType(String orderByType) { 64 | this.orderByType = orderByType; 65 | } 66 | 67 | } 68 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-lisp.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/locales/locale.js: -------------------------------------------------------------------------------- 1 | define([ 2 | './locales/ca.js', 3 | './locales/de.js', 4 | './locales/es.js', 5 | './locales/fr.js', 6 | './locales/it.js', 7 | './locales/nl.js', 8 | './locales/pl.js', 9 | './locales/pt_br.js', 10 | './locales/ro.js', 11 | './locales/ru.js', 12 | './locales/tr.js', 13 | './locales/vi.js', 14 | './locales/zh.js', 15 | './locales/zh_cn.js' 16 | ], function() { 17 | var langId = (navigator.language || navigator.userLanguage).toLowerCase().replace('-', '_'); 18 | var language = langId.substr(0, 2); 19 | var locales = {}; 20 | 21 | for (index in arguments) { 22 | for (property in arguments[index]) 23 | locales[property] = arguments[index][property]; 24 | } 25 | if ( ! locales['en']) 26 | locales['en'] = {}; 27 | 28 | if ( ! locales[langId] && ! locales[language]) 29 | language = 'en'; 30 | 31 | var locale = (locales[langId] ? locales[langId] : locales[language]); 32 | 33 | function __(text) { 34 | var index = locale[text]; 35 | if (index === undefined) 36 | return text; 37 | return index; 38 | }; 39 | 40 | function setLanguage(language) { 41 | locale = locales[language]; 42 | } 43 | 44 | return { 45 | __ : __, 46 | locales : locales, 47 | locale : locale, 48 | setLanguage: setLanguage 49 | }; 50 | }); 51 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-cl.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-el.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-lsp.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-rkt.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-scm.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-ss.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-lisp.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2008 Google Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,null,"("],["clo",/^\)+/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/, 18 | null],["lit",/^[+\-]?(?:[0#]x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),"cl el lisp lsp scm ss rkt".split(" ")); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-lgt.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2014 Paulo Moura 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^(?:0'.|0b[0-1]+|0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\r\n]*/,null,"%"],["com",/^\/\*[\s\S]*?\*\//],["kwd",/^\s*:-\s(c(a(lls|tegory)|oinductive)|p(ublic|r(ot(ocol|ected)|ivate))|e(l(if|se)|n(coding|sure_loaded)|xport)|i(f|n(clude|itialization|fo))|alias|d(ynamic|iscontiguous)|m(eta_(non_terminal|predicate)|od(e|ule)|ultifile)|reexport|s(et_(logtalk|prolog)_flag|ynchronized)|o(bject|p)|use(s|_module))/], 18 | ["kwd",/^\s*:-\s(e(lse|nd(if|_(category|object|protocol)))|built_in|dynamic|synchronized|threaded)/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;{}:^<>=\\/+*?#!-]/]]),["logtalk","lgt"]); 19 | -------------------------------------------------------------------------------- /src/main/webapp/apidoc/vendor/prettify/lang-logtalk.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2014 Paulo Moura 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^(?:0'.|0b[0-1]+|0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\r\n]*/,null,"%"],["com",/^\/\*[\s\S]*?\*\//],["kwd",/^\s*:-\s(c(a(lls|tegory)|oinductive)|p(ublic|r(ot(ocol|ected)|ivate))|e(l(if|se)|n(coding|sure_loaded)|xport)|i(f|n(clude|itialization|fo))|alias|d(ynamic|iscontiguous)|m(eta_(non_terminal|predicate)|od(e|ule)|ultifile)|reexport|s(et_(logtalk|prolog)_flag|ynchronized)|o(bject|p)|use(s|_module))/], 18 | ["kwd",/^\s*:-\s(e(lse|nd(if|_(category|object|protocol)))|built_in|dynamic|synchronized|threaded)/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;{}:^<>=\\/+*?#!-]/]]),["logtalk","lgt"]); 19 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/java/com/webside/util/EmailUtil.java: -------------------------------------------------------------------------------- 1 | package com.webside.util; 2 | 3 | import javax.mail.AuthenticationFailedException; 4 | 5 | import jodd.mail.Email; 6 | import jodd.mail.MailException; 7 | import jodd.mail.SendMailSession; 8 | import jodd.mail.SmtpServer; 9 | 10 | import org.springframework.beans.factory.annotation.Value; 11 | import org.springframework.stereotype.Component; 12 | 13 | /** 14 | * 15 | * @ClassName: EmailUtil 16 | * @Description: 邮件发送工具类,封装了jodd的mail工具类 17 | * @author gaogang 18 | * @date 2016年7月12日 下午4:22:12 19 | * 20 | */ 21 | @Component 22 | public class EmailUtil { 23 | 24 | 25 | @Value("${mail.126.username}") 26 | private String USER_126; 27 | 28 | @Value("${mail.126.password}") 29 | private String PASSWORD_126; 30 | 31 | 32 | /** 33 | * 发送126邮箱 34 | * 35 | * @param toMail 36 | * @param subject 37 | * @param text 38 | * @return 39 | */ 40 | @SuppressWarnings("rawtypes") 41 | public boolean send126Mail(String toMail, String subject, String text) throws AuthenticationFailedException,MailException{ 42 | Email email = Email.create().from(USER_126).to(toMail) 43 | .subject(subject).addText(text); 44 | SmtpServer smtpServer = SmtpServer.create("smtp.126.com") 45 | .authenticateWith(USER_126, PASSWORD_126); 46 | SendMailSession session = smtpServer.createSession(); 47 | session.open(); 48 | session.sendMail(email); 49 | session.close(); 50 | return true; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /webside-dtgrid/src/main/webapp/apidoc/vendor/prettify/lang-lgt.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Copyright (C) 2014 Paulo Moura 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | */ 17 | PR.registerLangHandler(PR.createSimpleLexer([["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["lit",/^[a-z][a-zA-Z0-9_]*/],["lit",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])+\'?/,null,"'"],["lit",/^(?:0'.|0b[0-1]+|0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\r\n]*/,null,"%"],["com",/^\/\*[\s\S]*?\*\//],["kwd",/^\s*:-\s(c(a(lls|tegory)|oinductive)|p(ublic|r(ot(ocol|ected)|ivate))|e(l(if|se)|n(coding|sure_loaded)|xport)|i(f|n(clude|itialization|fo))|alias|d(ynamic|iscontiguous)|m(eta_(non_terminal|predicate)|od(e|ule)|ultifile)|reexport|s(et_(logtalk|prolog)_flag|ynchronized)|o(bject|p)|use(s|_module))/], 18 | ["kwd",/^\s*:-\s(e(lse|nd(if|_(category|object|protocol)))|built_in|dynamic|synchronized|threaded)/],["typ",/^[A-Z_][a-zA-Z0-9_]*/],["pun",/^[.,;{}:^<>=\\/+*?#!-]/]]),["logtalk","lgt"]); 19 | --------------------------------------------------------------------------------