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.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
public class SetupServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements SetupService
Implements the- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetupServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createDB(SetupInfo info)
void
makeWorkingDir(File repoFolder)
void
securityCheck()
Performs simple security check to enforce that only the admin can go through the setupvoid
setup(SetupInfo data)
Performs a system setup.-
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPost
-
-
-
-
Method Detail
-
setup
public void setup(SetupInfo data) throws ServerException
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
public void makeWorkingDir(File repoFolder) throws IOException
- Throws:
IOException
-
securityCheck
public void securityCheck() throws ServerException
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
-
-