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

Quick Search    Search Deep

com.flexstor.flexdbserver.services.asset.context
Class ContextIndexPreService  view ContextIndexPreService download ContextIndexPreService.java

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

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

ContextIndexPreService

Adds to the ImportData object the information needed by the Oracle Context Cartridge to index assets according to the protocol specified (FILE or HTTP). If the protocol selected for indexing is either FILE or HTTP, then this service must be run before running the ContextService; however, if the protocol selected is BLOB, the ContextIndexPreService is not required. 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 X X    
Audio X X    
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 Context Cartridge is formatted (optional; defaults 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
           
private static java.lang.String FILE
           
private static java.lang.String HTTP
           
static java.lang.String IDENTIFIER
           
protected  java.lang.String sThisService
           
 
Constructor Summary
ContextIndexPreService()
           
 
Method Summary
 com.flexstor.common.data.ActionResult go()
          Start of the iMedia Text 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

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

FILE

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

context

protected com.flexstor.flexdbserver.services.ServiceContext context

data

protected com.flexstor.common.importprocessor.ImportData data

sThisService

protected java.lang.String sThisService
Constructor Detail

ContextIndexPreService

public ContextIndexPreService()
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 iMedia Text pre-indexing Service.

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