org.alfresco.repo.web.scripts.transfer
Class StatusCommandProcessor

java.lang.Object
  extended by org.alfresco.repo.web.scripts.transfer.StatusCommandProcessor
All Implemented Interfaces:
CommandProcessor

public class StatusCommandProcessor
extends java.lang.Object
implements CommandProcessor

This command processor is used to record the start a transfer. No other transfer can be started after this command has executed until the started transfer terminates.


Constructor Summary
StatusCommandProcessor()
           
 
Method Summary
 int process(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse resp)
           
 void setErrorSerializer(org.alfresco.util.json.JsonSerializer errorSerializer)
           
 void setReceiver(org.alfresco.service.cmr.transfer.TransferReceiver receiver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusCommandProcessor

public StatusCommandProcessor()
Method Detail

process

public int process(org.springframework.extensions.webscripts.WebScriptRequest req,
                   org.springframework.extensions.webscripts.WebScriptResponse resp)
Specified by:
process in interface CommandProcessor

setReceiver

public void setReceiver(org.alfresco.service.cmr.transfer.TransferReceiver receiver)
Parameters:
receiver - the receiver to set

setErrorSerializer

public void setErrorSerializer(org.alfresco.util.json.JsonSerializer errorSerializer)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.