Package com.logicaldoc.web.service
Class SetupServiceImpl
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.web.service.SetupServiceImpl
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService
,com.google.gwt.user.server.rpc.SerializationPolicyProvider
,SetupService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
Implements the
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
makeWorkingDir
(File repoFolder) void
Performs simple security check to enforce that only the admin can go through the setupvoid
Performs a system setup.Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPost
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost
Methods inherited from class javax.servlet.http.HttpServlet
service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
SetupServiceImpl
public SetupServiceImpl()
-
-
Method Details
-
setup
Description copied from interface:SetupService
Performs a system setup.- Specified by:
setup
in interfaceSetupService
- Parameters:
data
- The intallation data- Throws:
ServerException
- an error happened in the server applications
-
makeWorkingDir
- Throws:
IOException
-
securityCheck
Description copied from interface:SetupService
Performs simple security check to enforce that only the admin can go through the setup- Specified by:
securityCheck
in interfaceSetupService
- Throws:
ServerException
- an error happened in the server applications
-