Class AbstractOfficeClient
java.lang.Object
org.alfresco.officeservices.testclient.office.AbstractOfficeClient
- All Implemented Interfaces:
AoserviceClientMessageReceiver
- Direct Known Subclasses:
Office2003WindowsXPClient,Office2007WindowsXPClient,Office2010Windows7Client
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OfficeClientMessageReceiverprotected AoservicesClientprotected static URLEncoder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildHostString(URI target) abstract voidcheckinFile(OfficeFileHandle ofh, String comment, boolean keepEditing) abstract voidabstract voidprotected voidemitMessage(String msg) protected voidensureFpseVersion(URI target) protected StringensureOpenService(URI target) protected voidensureVtiInf(URI target) abstract voidfileOpenDialog(URI target) abstract voidfileSaveDialog(URI target) voidabstract OfficeFileHandleabstract voidvoidurlDecodePath(String in)
-
Field Details
-
urlEncoder
-
servicesClient
-
messageReceiver
-
vtiInfHosts
-
fpseVersionHosts
-
fpseOpenedHosts
-
-
Constructor Details
-
AbstractOfficeClient
-
AbstractOfficeClient
public AbstractOfficeClient()
-
-
Method Details
-
setMessageReceiver
-
emitMessage
-
message
- Specified by:
messagein interfaceAoserviceClientMessageReceiver
-
buildHostString
- Throws:
ServiceCommunicationException
-
ensureVtiInf
protected void ensureVtiInf(URI target) throws ServiceCommunicationException, ServiceResponseException -
ensureFpseVersion
protected void ensureFpseVersion(URI target) throws ServiceCommunicationException, ServiceResponseException -
ensureOpenService
protected String ensureOpenService(URI target) throws ServiceCommunicationException, ServiceResponseException -
urlDecodePath
-
fileOpenDialog
public abstract void fileOpenDialog(URI target) throws ServiceCommunicationException, ServiceResponseException -
fileSaveDialog
public abstract void fileSaveDialog(URI target) throws ServiceCommunicationException, ServiceResponseException -
openFile
public abstract OfficeFileHandle openFile(URI target) throws ServiceCommunicationException, ServiceResponseException -
refreshLock
public abstract void refreshLock(OfficeFileHandle ofh) throws ServiceCommunicationException, ServiceResponseException -
closeFile
public abstract void closeFile(OfficeFileHandle ofh) throws ServiceCommunicationException, ServiceResponseException -
checkoutFile
public abstract void checkoutFile(OfficeFileHandle ofh) throws ServiceCommunicationException, ServiceResponseException -
checkinFile
public abstract void checkinFile(OfficeFileHandle ofh, String comment, boolean keepEditing) throws ServiceCommunicationException, ServiceResponseException
-