org.alfresco.filesys.repo
Class ContentIOControlHandler

java.lang.Object
  extended by org.alfresco.filesys.repo.ContentIOControlHandler
All Implemented Interfaces:
IOControlHandler

public class ContentIOControlHandler
extends java.lang.Object
implements IOControlHandler

Content Disk Driver I/O Control Handler Class

Provides the custom I/O control code handling used by the CIFS client interface application.


Constructor Summary
ContentIOControlHandler()
          Default constructor
 
Method Summary
 AuthenticationService getAuthenticationService()
           
 CheckOutCheckInService getCheckOutCheckInService()
           
 CifsHelper getCifsHelper()
           
 org.alfresco.service.cmr.repository.NodeService getNodeService()
          Return the node service
 void init()
           
 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, java.lang.Object contentDriver, ContentContext contentContext)
          Process a filesystem I/O control request
 void setAuthenticationService(AuthenticationService authService)
           
 void setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
           
 void setCifsHelper(CifsHelper cifsHelper)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
          Return the node service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentIOControlHandler

public ContentIOControlHandler()
Default constructor

Method Detail

init

public void init()

setNodeService

public final void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Return the node service


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,
                                                          java.lang.Object contentDriver,
                                                          ContentContext contentContext)
                                                   throws org.alfresco.jlan.server.filesys.IOControlNotImplementedException,
                                                          org.alfresco.jlan.smb.SMBException
Process a filesystem I/O control request

Specified by:
processIOControl in interface IOControlHandler
Parameters:
sess - Server session
tree - Tree connection.
ctrlCode - I/O control code
fid - File id
dataBuf - I/O control specific input data
isFSCtrl - true if this is a filesystem control, or false for a device control
filter - if bit0 is set indicates that the control applies to the share root handle
Returns:
DataBuffer
Throws:
org.alfresco.jlan.server.filesys.IOControlNotImplementedException
org.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()


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