Package org.alfresco.filesys.repo
Class ContentIOControlHandler
- java.lang.Object
-
- org.alfresco.filesys.repo.ContentIOControlHandler
-
- All Implemented Interfaces:
IOControlHandler
public class ContentIOControlHandler extends Object implements IOControlHandler
Content Disk Driver I/O Control Handler ClassProvides the custom I/O control code handling used by the CIFS client interface application.
- Author:
- gkspencer
-
-
Constructor Summary
Constructors Constructor Description ContentIOControlHandler()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationServicegetAuthenticationService()CheckOutCheckInServicegetCheckOutCheckInService()CifsHelpergetCifsHelper()org.alfresco.service.cmr.repository.NodeServicegetNodeService()Return the node serviceTransactionServicegetTransactionService()voidinit()org.alfresco.jlan.util.DataBufferprocessIOControl(org.alfresco.jlan.server.SrvSession sess, org.alfresco.jlan.server.filesys.TreeConnection tree, int ctrlCode, int fid, org.alfresco.jlan.util.DataBuffer dataBuf, boolean isFSCtrl, int filter, Object contentDriver, ContentContext contentContext)Process a filesystem I/O control requestvoidsetAuthenticationService(AuthenticationService authService)voidsetCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)voidsetCifsHelper(CifsHelper cifsHelper)voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)voidsetTransactionService(TransactionService transactionService)
-
-
-
Method Detail
-
init
public void init()
-
setNodeService
public final void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
-
getNodeService
public final org.alfresco.service.cmr.repository.NodeService getNodeService()
Return the node service- Returns:
- NodeService
-
processIOControl
public org.alfresco.jlan.util.DataBuffer processIOControl(org.alfresco.jlan.server.SrvSession sess, org.alfresco.jlan.server.filesys.TreeConnection tree, int ctrlCode, int fid, org.alfresco.jlan.util.DataBuffer dataBuf, boolean isFSCtrl, int filter, Object contentDriver, ContentContext contentContext) throws org.alfresco.jlan.server.filesys.IOControlNotImplementedException, org.alfresco.jlan.smb.SMBExceptionProcess a filesystem I/O control request- Specified by:
processIOControlin interfaceIOControlHandler- Parameters:
sess- Server sessiontree- Tree connection.ctrlCode- I/O control codefid- File iddataBuf- I/O control specific input dataisFSCtrl- true if this is a filesystem control, or false for a device controlfilter- if bit0 is set indicates that the control applies to the share root handlecontentDriver- ObjectcontentContext- ContentContext- Returns:
- DataBuffer or null if there is no response buffer.
- Throws:
org.alfresco.jlan.server.filesys.IOControlNotImplementedExceptionorg.alfresco.jlan.smb.SMBException
-
setCifsHelper
public void setCifsHelper(CifsHelper cifsHelper)
-
getCifsHelper
public CifsHelper getCifsHelper()
-
setAuthenticationService
public void setAuthenticationService(AuthenticationService authService)
-
getAuthenticationService
public AuthenticationService getAuthenticationService()
-
setCheckOutCheckInService
public void setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
-
getCheckOutCheckInService
public CheckOutCheckInService getCheckOutCheckInService()
-
setTransactionService
public void setTransactionService(TransactionService transactionService)
-
getTransactionService
public TransactionService getTransactionService()
-
-