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
public class SetupServiceImpl extends AbstractRemoteService 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 voidcreateDB(SetupInfo info)voidmakeWorkingDir(File repoFolder)voidsecurityCheck()Performs simple security check to enforce that only the admin can go through the setupvoidsetup(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:SetupServicePerforms a system setup.- Specified by:
setupin 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 ServerExceptionDescription copied from interface:SetupServicePerforms simple security check to enforce that only the admin can go through the setup- Specified by:
securityCheckin interfaceSetupService- Throws:
ServerException- an error happened in the server applications
-
-