Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.flexdbserver.services.checkincheckout
Class CheckOutServiceManager  view CheckOutServiceManager download CheckOutServiceManager.java

java.lang.Object
  extended bycom.flexstor.flexdbserver.services.ServiceManager
      extended bycom.flexstor.flexdbserver.services.checkincheckout.CheckOutServiceManager
All Implemented Interfaces:
com.flexstor.common.threadmgr.ThreadConsumerI

public class CheckOutServiceManager
extends com.flexstor.flexdbserver.services.ServiceManager

CheckOutServiceManager provides functionality to control the sequencial execution of Services during the check-in process


Field Summary
protected  boolean bIsLocationInServer
           
protected  boolean bIsLocInFlexDBServer
           
protected  boolean bIsMacBinaryFormat
           
protected  boolean bIsMacBinaryInTemp
           
protected  boolean bKeepResourceFork
           
protected  boolean bRunRemote
           
protected  com.flexstor.common.data.ActionData data
           
protected  java.lang.String fileSeparator
           
static java.lang.String IDENTIFIER
           
protected  java.lang.String sServerName
           
protected  java.lang.String sSourceLocation
           
protected  java.lang.String sSourcePath
           
protected  java.lang.String sSourceServer
           
protected  java.lang.String sTempDir
           
protected  com.flexstor.common.data.ActionData tempDataCopy
           
protected  com.flexstor.common.data.ActionData tempDataRsrc
           
protected  java.util.Vector vBadRecords
           
protected  java.util.Vector vGoodRecords
           
protected  java.util.Vector vRecords
           
 
Fields inherited from class com.flexstor.flexdbserver.services.ServiceManager
 
Constructor Summary
CheckOutServiceManager(java.lang.String sIdentifier, com.flexstor.common.data.ActionData data, com.flexstor.common.threadmgr.ThreadCallbackI caller)
           
 
Method Summary
private  void doRegularCopy()
           
 com.flexstor.common.data.ActionResult execute()
          Main loop for sequencial execution of Services.
private  com.flexstor.common.data.ActionResult executeService(java.lang.String sServiceName, com.flexstor.common.data.ActionData data)
           
protected  com.flexstor.common.data.ActionResult getResultObjectOnAbnormalEnding()
          This method need to be implemented for all subclasses to return the proper result object if the execution of the service manager ends abnormally (due to a non-catch exception inside the service manager.
private  void RsrcForkCopy()
           
private  void updateURLs()
          Method updateURLs will process each record and update the URL_STRING for each, adding the filename to the URL_STRING base that was given to us by the client.
 
Methods inherited from class com.flexstor.flexdbserver.services.ServiceManager
abortManager, doService, doService, getResult, processService, startManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTIFIER

public static final java.lang.String IDENTIFIER
See Also:
Constant Field Values

sServerName

protected java.lang.String sServerName

data

protected com.flexstor.common.data.ActionData data

vRecords

protected java.util.Vector vRecords

vGoodRecords

protected java.util.Vector vGoodRecords

vBadRecords

protected java.util.Vector vBadRecords

sSourcePath

protected java.lang.String sSourcePath

sSourceServer

protected java.lang.String sSourceServer

sSourceLocation

protected java.lang.String sSourceLocation

bIsLocationInServer

protected boolean bIsLocationInServer

bIsLocInFlexDBServer

protected boolean bIsLocInFlexDBServer

bKeepResourceFork

protected boolean bKeepResourceFork

bIsMacBinaryFormat

protected boolean bIsMacBinaryFormat

bIsMacBinaryInTemp

protected boolean bIsMacBinaryInTemp

bRunRemote

protected boolean bRunRemote

fileSeparator

protected java.lang.String fileSeparator

sTempDir

protected java.lang.String sTempDir

tempDataCopy

protected com.flexstor.common.data.ActionData tempDataCopy

tempDataRsrc

protected com.flexstor.common.data.ActionData tempDataRsrc
Constructor Detail

CheckOutServiceManager

public CheckOutServiceManager(java.lang.String sIdentifier,
                              com.flexstor.common.data.ActionData data,
                              com.flexstor.common.threadmgr.ThreadCallbackI caller)
Method Detail

execute

public com.flexstor.common.data.ActionResult execute()
                                              throws java.lang.InterruptedException
Main loop for sequencial execution of Services.


updateURLs

private void updateURLs()
Method updateURLs will process each record and update the URL_STRING for each, adding the filename to the URL_STRING base that was given to us by the client.


getResultObjectOnAbnormalEnding

protected com.flexstor.common.data.ActionResult getResultObjectOnAbnormalEnding()
Description copied from class: com.flexstor.flexdbserver.services.ServiceManager
This method need to be implemented for all subclasses to return the proper result object if the execution of the service manager ends abnormally (due to a non-catch exception inside the service manager.


RsrcForkCopy

private void RsrcForkCopy()

doRegularCopy

private void doRegularCopy()

executeService

private com.flexstor.common.data.ActionResult executeService(java.lang.String sServiceName,
                                                             com.flexstor.common.data.ActionData data)