parent
2973d5c48a
commit
e5f76c397b
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_10" default="false" project-jdk-name="11" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_10" default="false" project-jdk-name="10" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -1,28 +0,0 @@
|
|||||||
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);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
package servlet;
|
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
|
||||||
import javax.servlet.annotation.WebServlet;
|
|
||||||
import javax.servlet.http.HttpServlet;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
|
||||||
|
|
||||||
@WebServlet(name = "login")
|
|
||||||
public class login extends HttpServlet {
|
|
||||||
protected void doPost(HttpServletRequest request, HttpServletResponse response)
|
|
||||||
throws ServletException, IOException {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
protected void doGet(HttpServletRequest request, HttpServletResponse response)
|
|
||||||
throws ServletException, IOException {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in new issue