Ontimize Document Management 0.035EN

com.ontimize.dms.transform
Class Transform

java.lang.Object
  extended by com.ontimize.dms.transform.Transform
All Implemented Interfaces:
IODMSTransform

public abstract class Transform
extends java.lang.Object
implements IODMSTransform

Abstract class in charge of doing the change between database keys and file paths


Field Summary
 
Fields inherited from interface com.ontimize.dms.transform.IODMSTransform
DEFAULT_FIELDS_SEPARATOR, DEFAULT_KEYS_SEPARATOR
 
Constructor Summary
Transform()
           
 
Method Summary
 java.lang.String getDefaultFieldsSeparator()
          Overwrite this method to change the DEFAULT_FIELDS_SEPARATOR
 java.lang.String getDefaultKeysSeparator()
          Overwrite this method to change the DEFAULT_KEYS_SEPARATOR
abstract  java.lang.String getKeys()
          Must return the DEFAULT_KEYS_SEPARATOR separated list of keys
 java.lang.String keys2Path(java.util.Hashtable kv)
          Responsible for converting the database keys into file path
 java.util.Hashtable path2Keys(java.lang.String s)
          Responsible for converting the file path into database keys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transform

public Transform()
Method Detail

getKeys

public abstract java.lang.String getKeys()
Must return the DEFAULT_KEYS_SEPARATOR separated list of keys

Returns:

getDefaultKeysSeparator

public java.lang.String getDefaultKeysSeparator()
Overwrite this method to change the DEFAULT_KEYS_SEPARATOR

Returns:

getDefaultFieldsSeparator

public java.lang.String getDefaultFieldsSeparator()
Overwrite this method to change the DEFAULT_FIELDS_SEPARATOR

Returns:

keys2Path

public java.lang.String keys2Path(java.util.Hashtable kv)
Responsible for converting the database keys into file path

Specified by:
keys2Path in interface IODMSTransform

path2Keys

public java.util.Hashtable path2Keys(java.lang.String s)
Responsible for converting the file path into database keys

Specified by:
path2Keys in interface IODMSTransform

Ontimize Document Management