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

Quick Search    Search Deep

com.flexstor.flexdbserver.services.asset.vir
Class VIRPreIdxService  view VIRPreIdxService download VIRPreIdxService.java

java.lang.Object
  extended bycom.flexstor.flexdbserver.services.asset.vir.VIRPreIdxService
All Implemented Interfaces:
com.flexstor.flexdbserver.services.Service

public class VIRPreIdxService
extends java.lang.Object
implements com.flexstor.flexdbserver.services.Service

VIRPreService

Adds to the ImportData object the information needed by the Oracle VIR Cartridge to index assets according to the protocol specified (FILE or HTTP). This service must be run prior to the DBUpdateService.

Configurable Properties in roletype_services.config
In/Out Properties for Assets
Attribute IN OUT Default IN Default OUT
ROLE     ALL ALL
Highres X X    
Lowres X X    
Thumbnail X X    
Layout X X    
Video        
Audio        
TYPE X X ALL ALL
FLAG
PARENT X X X X
CHLDREN X X    
ALL X X    
TEMP_PARENT X      
TEMP_CHILDREN X      
TEMP_ALL X      

protocol: The protocol used to access the files while indexing. The protocol will define how the information needed by the VIR Cartridge is formatted (optional; default to HTTP).
Legal values: FILE or HTTP

Input Data Object

com.flexstor.common.importprocessor.ImportData

Output Data Object

com.flexstor.common.importprocessor.ImportResult


Field Summary
protected  com.flexstor.flexdbserver.services.ServiceContext context
           
protected  com.flexstor.common.importprocessor.ImportData data
           
protected static java.lang.String FILE
           
protected static java.lang.String HTTP
           
static java.lang.String IDENTIFIER
           
protected  int in
           
protected  int out
           
protected  java.lang.String sFullPath
           
 
Constructor Summary
VIRPreIdxService()
           
 
Method Summary
 com.flexstor.common.data.ActionResult go()
          Start of the VIR pre-indexing Service.
 void initData(com.flexstor.common.data.ActionData actionData)
          Data initialization method called at the beginning of the service.
 void setServiceContext(com.flexstor.flexdbserver.services.ServiceContext context)
          Calls before the service is initialized (before initData is called) to pass information about the environment in which the service is running.
 
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

HTTP

protected static final java.lang.String HTTP
See Also:
Constant Field Values

FILE

protected static final java.lang.String FILE
See Also:
Constant Field Values

context

protected com.flexstor.flexdbserver.services.ServiceContext context

in

protected int in

out

protected int out

sFullPath

protected java.lang.String sFullPath

data

protected com.flexstor.common.importprocessor.ImportData data
Constructor Detail

VIRPreIdxService

public VIRPreIdxService()
Method Detail

setServiceContext

public void setServiceContext(com.flexstor.flexdbserver.services.ServiceContext context)
Calls before the service is initialized (before initData is called) to pass information about the environment in which the service is running. This environment consists of information about the properties set for the service in one of these files (services.config, roletype_services.config, or *.ctl), plus methods to access other information such as an instance of the service broker to invoke other services, the transaction id for the service, file separator character and local path for the installation directory and configuration directory.

Specified by:
setServiceContext in interface com.flexstor.flexdbserver.services.Service

initData

public void initData(com.flexstor.common.data.ActionData actionData)
Data initialization method called at the beginning of the service.

Specified by:
initData in interface com.flexstor.flexdbserver.services.Service

go

public com.flexstor.common.data.ActionResult go()
Start of the VIR pre-indexing Service.

Specified by:
go in interface com.flexstor.flexdbserver.services.Service