|
|||||||||
| Home >> All >> com >> flexstor >> flexdbserver >> services >> [ asset overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.flexstor.flexdbserver.services.asset
Class OPIMatchService

java.lang.Objectcom.flexstor.flexdbserver.services.asset.OPIMatchService
- All Implemented Interfaces:
- com.flexstor.flexdbserver.services.Service
- public class OPIMatchService
- extends java.lang.Object
- implements com.flexstor.flexdbserver.services.Service
- extends java.lang.Object
OPIMatchService
Finds the low resolution file associated with each primary input asset according to the specifications in the input control (*.ctl) file. Creates a child asset for each low resolution file found.
Input Data Object
com.flexstor.common.importprocessor.ImportData
Output Data Object
com.flexstor.common.importprocessor.ImportData
Programmable Properties (passed inside data object)
Global Properties (apply to all assets)
LOWRESDIRECTORY: From input control (*.ctl) file, the optional subdirectory containing the match files.
Data type: String
Legal values: Relative path
LOWRESEXTENSION: From input control (*.ctl) file, the optional extension to match.
Data type: String
Legal values: Any legal extension
LOWFILELISTBASE: From input control (*.ctl) file, indicates exclusion.
Data type: String
Legal values: Any legal directory name
HIGHFILELISTBASE: From input control (*.ctl) file, the base subdirectory for searching for match.
Data type: String
Legal values: Any legal directory name
MATCHBASE: From input control (*.ctl) file, the base subdirectory for the output low resolution asset.
Data type: String
Legal values: Any legal directory name
| Field Summary | |
protected boolean |
bDebugMode
When true, this bypasses any Server Extend Disguise access |
protected com.flexstor.flexdbserver.services.ServiceContext |
context
|
protected java.lang.String |
fileSeparator
|
protected int |
id
|
static java.lang.String |
IDENTIFIER
|
protected com.flexstor.common.importprocessor.ImportCtlData |
refCtlData
|
protected com.flexstor.ejb.disguise.persist.ServerDisguiseExtendData |
refExtendDataDisguise
|
protected com.flexstor.common.importprocessor.ImportData |
refImportData
|
protected OPITypesDat |
refOpiTypesDat
|
protected java.lang.String |
sConfigPath
|
protected java.lang.String |
sDirSeparator
|
protected java.lang.String |
sInstallPath
|
protected java.lang.String |
sMatchType
|
protected java.lang.String |
sServer
|
protected java.lang.String |
sThisService
|
protected java.lang.String |
sUserId
|
protected java.util.Vector |
vDisguiseBuckets
|
| Constructor Summary | |
OPIMatchService()
|
|
| 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
refImportData
protected com.flexstor.common.importprocessor.ImportData refImportData
refCtlData
protected com.flexstor.common.importprocessor.ImportCtlData refCtlData
refExtendDataDisguise
protected com.flexstor.ejb.disguise.persist.ServerDisguiseExtendData refExtendDataDisguise
refOpiTypesDat
protected OPITypesDat refOpiTypesDat
sDirSeparator
protected java.lang.String sDirSeparator
sUserId
protected java.lang.String sUserId
sServer
protected java.lang.String sServer
sMatchType
protected java.lang.String sMatchType
sThisService
protected java.lang.String sThisService
vDisguiseBuckets
protected java.util.Vector vDisguiseBuckets
bDebugMode
protected boolean bDebugMode
- When true, this bypasses any Server Extend Disguise access
context
protected com.flexstor.flexdbserver.services.ServiceContext context
id
protected int id
fileSeparator
protected java.lang.String fileSeparator
sInstallPath
protected java.lang.String sInstallPath
sConfigPath
protected java.lang.String sConfigPath
| Constructor Detail |
OPIMatchService
public OPIMatchService()
| 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:
setServiceContextin interfacecom.flexstor.flexdbserver.services.Service
initData
public void initData(com.flexstor.common.data.ActionData actionData)
- Description copied from interface:
com.flexstor.flexdbserver.services.Service - A data initialization method called at the beginning of the service.
Not business logic, relevant to the functionality of the service, should be
added here, other than initializing some variables, etc.
- Specified by:
initDatain interfacecom.flexstor.flexdbserver.services.Service
go
public com.flexstor.common.data.ActionResult go()
- Description copied from interface:
com.flexstor.flexdbserver.services.Service - This methods carries the load of the business logic for the service.
- Specified by:
goin interfacecom.flexstor.flexdbserver.services.Service
MatchFrimaryAsset
protected boolean MatchFrimaryAsset(com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData anAsset, com.flexstor.common.data.ejb.disguiserecord.DisguiseRecordData refRecordData)
isSupportedType
protected boolean isSupportedType(java.lang.String sOpiType, java.lang.String sPrimaryType)
findMatch
protected boolean findMatch(com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData refPrimaryAsset)
createMatchAsset
protected boolean createMatchAsset(com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData refPrimaryAsset, java.lang.String sMatchLocation, java.lang.String sMatchFileName, long nMatchSize, long nChecksum)
setInstallPath
public void setInstallPath(java.lang.String sInstPath)
- Use this for test purposes only, when OAS is not used
setupServerExtendDisguise
protected void setupServerExtendDisguise()
getDisguise
public boolean getDisguise(java.lang.String sDisguise)
findBucket
public com.flexstor.ejb.bucket.persist.ServerBucketExtendData findBucket(java.lang.String sLabel, int nType)
removeSlashes
protected java.lang.String removeSlashes(java.lang.String sPath)
|
|||||||||
| Home >> All >> com >> flexstor >> flexdbserver >> services >> [ asset overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.flexstor.flexdbserver.services.asset.OPIMatchService