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 ContextIndexService  view ContextIndexService download ContextIndexService.java

java.lang.Object
  extended bycom.flexstor.flexdbserver.services.asset.context.ContextIndexService
All Implemented Interfaces:
com.flexstor.common.constants.AssetRolesI, com.flexstor.flexdbserver.services.Service

public class ContextIndexService
extends java.lang.Object
implements com.flexstor.flexdbserver.services.Service, com.flexstor.common.constants.AssetRolesI

ContextIndexService

Using Oracle Context Cartridge, this service indexes the assets so the system can perform a context search. This service must be run after DBUpdateService. The protocol used by this service is defined by the protocol property defined in the ContextIndexPreService or BLOB if the ContextIndexPreService is not run.

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

IMT_TABLE: Name of the database table used for indexing. Only required if protocol is FILE or HTTP.
Legal values: Valid table name in the database

IMT_COLUMN: Name of the column in the above table used for indexing. Only required if protocol is FILE or HTTP.
Legal values: Valid column name in the database

Input Data Object

com.flexstor.common.importprocessor.ImportData

Output Data Object

com.flexstor.common.importprocessor.ImportResult


Field Summary
private static java.lang.String BLOB
           
protected  com.flexstor.flexdbserver.services.ServiceContext context
           
protected  int id
           
static java.lang.String IDENTIFIER
           
protected  com.flexstor.common.importprocessor.ImportData importData
           
private  java.lang.String sThisService
           
 
Fields inherited from interface com.flexstor.common.constants.AssetRolesI
AUDIO, HIGHRES, LARGEST_ASSET_ROLE, LAYOUT, LOWRES, roles, THUMBNAIL, VIDEO
 
Constructor Summary
ContextIndexService()
           
 
Method Summary
 com.flexstor.common.data.ActionResult go()
          Start of the iMedia Text 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

BLOB

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

sThisService

private java.lang.String sThisService

context

protected com.flexstor.flexdbserver.services.ServiceContext context

id

protected int id

importData

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

ContextIndexService

public ContextIndexService()
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 indexing Service.

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