Class OpenOfficeManagerVelocityBridge
- java.lang.Object
-
- org.xwiki.officeimporter.openoffice.OpenOfficeManagerVelocityBridge
-
@Deprecated public class OpenOfficeManagerVelocityBridge extends Object
Deprecated.since 4.1M1 use theScriptService
with hint "officemanager" insteadA bridge betweenOpenOfficeManager
and velocity scripts.- Since:
- 1.8RC3
- Version:
- $Id: 010df83dbbf9b9b6798e1d0908f48830ff833d06 $
-
-
Field Summary
Fields Modifier and Type Field Description static String
OFFICE_MANAGER_ERROR
Deprecated.The key used to place any error messages while trying to control the oo server instance.
-
Constructor Summary
Constructors Constructor Description OpenOfficeManagerVelocityBridge(OpenOfficeManager officeManager, org.xwiki.bridge.DocumentAccessBridge documentAccessBridge, org.xwiki.context.Execution execution)
Deprecated.Creates a newOpenOfficeManagerVelocityBridge
with the providedOpenOfficeManager
component.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getLastErrorMessage()
Deprecated.String
getServerState()
Deprecated.boolean
startServer()
Deprecated.Tries to start the oo server process.boolean
stopServer()
Deprecated.Tries to stop the oo server process.
-
-
-
Field Detail
-
OFFICE_MANAGER_ERROR
public static final String OFFICE_MANAGER_ERROR
Deprecated.The key used to place any error messages while trying to control the oo server instance.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpenOfficeManagerVelocityBridge
public OpenOfficeManagerVelocityBridge(OpenOfficeManager officeManager, org.xwiki.bridge.DocumentAccessBridge documentAccessBridge, org.xwiki.context.Execution execution)
Deprecated.Creates a newOpenOfficeManagerVelocityBridge
with the providedOpenOfficeManager
component.- Parameters:
officeManager
- office manager componentdocumentAccessBridge
- document access bridge componentexecution
- current execution
-
-
Method Detail
-
startServer
public boolean startServer()
Deprecated.Tries to start the oo server process.- Returns:
- true if the operation succeeds, false otherwise.
-
stopServer
public boolean stopServer()
Deprecated.Tries to stop the oo server process.- Returns:
- true if the operation succeeds, false otherwise.
-
getServerState
public String getServerState()
Deprecated.- Returns:
- current status of the oo server process as a string.
-
getLastErrorMessage
public String getLastErrorMessage()
Deprecated.- Returns:
- any error messages encountered.
-
-