parent
fd6c9b7c93
commit
3ca251506a
@ -1,4 +1,5 @@
|
|||||||
0 windows home 1809
|
0 windows home 1809
|
||||||
1 java jdk10 默认路径
|
1 java jdk10 默认路径
|
||||||
2 tomcat8.5 默认路径
|
2 tomcat8.5 默认路径
|
||||||
3
|
3 mariaDB10.3 默认路径
|
||||||
|
4
|
@ -0,0 +1,28 @@
|
|||||||
|
package core.process;
|
||||||
|
|
||||||
|
import core.operation.Operation;
|
||||||
|
import core.user.User;
|
||||||
|
|
||||||
|
|
||||||
|
public class AtomProcess extends Process {
|
||||||
|
private String permission;
|
||||||
|
private Operation operation;
|
||||||
|
private String ButtonName;
|
||||||
|
private String info;
|
||||||
|
private String processOptions;
|
||||||
|
|
||||||
|
public AtomProcess(String permission, String operationName, String processOptions, String info) throws Exception {
|
||||||
|
super(info);
|
||||||
|
this.permission = permission;
|
||||||
|
this.operation = (Operation) core.utils.GetObjectByName.getOperationByName(operationName);
|
||||||
|
this.info = info;
|
||||||
|
this.processOptions = processOptions;
|
||||||
|
operation.setProcessOperations(processOptions);
|
||||||
|
}
|
||||||
|
public void setUserOperations(String key,Object value){
|
||||||
|
this.operation.addUserOperations(key,value);
|
||||||
|
}
|
||||||
|
public void execute(User subject){
|
||||||
|
this.operation.execute(subject);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
<%--
|
||||||
|
Created by IntelliJ IDEA.
|
||||||
|
User: zhai_
|
||||||
|
Date: 2019/1/9
|
||||||
|
Time: 10:10
|
||||||
|
To change this template use File | Settings | File Templates.
|
||||||
|
--%>
|
||||||
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Title</title>
|
||||||
|
<script type="text/javascript" src="test2.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in new issue