com.ibm.di.api.local.impl
Class TDIPropertiesImpl
java.lang.Object
com.ibm.di.api.local.impl.TDIPropertiesImpl
- All Implemented Interfaces:
- TDIProperties
public class TDIPropertiesImpl
- extends Object
- implements TDIProperties
Method Summary |
void |
addPropertyStore(PropertyStoreConfig config)
|
void |
commit()
|
TDIPropertyStore |
getDefaultStore()
|
TDIPropertyStore |
getPasswordStore()
|
Object |
getProperty(String key)
|
Object |
getProperty(String propertyStoreName,
String key)
|
TDIPropertyStore |
getPropertyStore(String name)
|
String[] |
getPropertyStoreKeys(String propertyStoreName)
|
List |
getPropertyStoreNames()
|
void |
insertPropertyStore(PropertyStoreConfig config,
int atIndex)
|
boolean |
isPropertyEncrypted(String propertyStoreName,
String key)
|
void |
removeProperty(String propertyStoreName,
String key)
|
void |
removePropertyStore(String propertyStoreName)
|
void |
setDefaultStore(TDIPropertyStore defaultStore)
|
void |
setPasswordStore(TDIPropertyStore passwordStore)
|
TDIPropertyStore |
setProperty(String key,
Object value)
|
TDIPropertyStore |
setProperty(String key,
Object value,
boolean protect)
|
void |
setProperty(String propertyStoreName,
String key,
Object value)
|
void |
setProperty(String propertyStoreName,
String key,
Object value,
boolean protect)
|
String |
trimKey(String key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TDIPropertiesImpl
public TDIPropertiesImpl(TDIProperties aTDIProperties,
SessionImpl aSession)
throws DIException
- Throws:
DIException
commit
public void commit()
throws Exception
- Specified by:
commit
in interface TDIProperties
- Throws:
Exception
getProperty
public Object getProperty(String key)
throws Exception
- Specified by:
getProperty
in interface TDIProperties
- Throws:
Exception
setProperty
public TDIPropertyStore setProperty(String key,
Object value)
throws Exception
- Specified by:
setProperty
in interface TDIProperties
- Throws:
Exception
setProperty
public TDIPropertyStore setProperty(String key,
Object value,
boolean protect)
throws Exception
- Specified by:
setProperty
in interface TDIProperties
- Throws:
Exception
removeProperty
public void removeProperty(String propertyStoreName,
String key)
throws Exception
- Specified by:
removeProperty
in interface TDIProperties
- Throws:
Exception
getProperty
public Object getProperty(String propertyStoreName,
String key)
throws Exception
- Specified by:
getProperty
in interface TDIProperties
- Throws:
Exception
setProperty
public void setProperty(String propertyStoreName,
String key,
Object value)
throws Exception
- Specified by:
setProperty
in interface TDIProperties
- Throws:
Exception
getPropertyStoreKeys
public String[] getPropertyStoreKeys(String propertyStoreName)
throws Exception
- Specified by:
getPropertyStoreKeys
in interface TDIProperties
- Throws:
Exception
addPropertyStore
public void addPropertyStore(PropertyStoreConfig config)
throws Exception
- Specified by:
addPropertyStore
in interface TDIProperties
- Throws:
Exception
insertPropertyStore
public void insertPropertyStore(PropertyStoreConfig config,
int atIndex)
throws Exception
- Specified by:
insertPropertyStore
in interface TDIProperties
- Throws:
Exception
removePropertyStore
public void removePropertyStore(String propertyStoreName)
throws Exception
- Specified by:
removePropertyStore
in interface TDIProperties
- Throws:
Exception
getPropertyStoreNames
public List getPropertyStoreNames()
throws Exception
- Specified by:
getPropertyStoreNames
in interface TDIProperties
- Throws:
Exception
getDefaultStore
public TDIPropertyStore getDefaultStore()
throws Exception
- Specified by:
getDefaultStore
in interface TDIProperties
- Throws:
Exception
setDefaultStore
public void setDefaultStore(TDIPropertyStore defaultStore)
throws Exception
- Specified by:
setDefaultStore
in interface TDIProperties
- Throws:
Exception
getPasswordStore
public TDIPropertyStore getPasswordStore()
throws Exception
- Specified by:
getPasswordStore
in interface TDIProperties
- Throws:
Exception
setPasswordStore
public void setPasswordStore(TDIPropertyStore passwordStore)
throws Exception
- Specified by:
setPasswordStore
in interface TDIProperties
- Throws:
Exception
getPropertyStore
public TDIPropertyStore getPropertyStore(String name)
throws Exception
- Specified by:
getPropertyStore
in interface TDIProperties
- Throws:
Exception
trimKey
public String trimKey(String key)
throws Exception
- Specified by:
trimKey
in interface TDIProperties
- Throws:
Exception
setProperty
public void setProperty(String propertyStoreName,
String key,
Object value,
boolean protect)
throws Exception
- Specified by:
setProperty
in interface TDIProperties
- Throws:
Exception
isPropertyEncrypted
public boolean isPropertyEncrypted(String propertyStoreName,
String key)
throws Exception
- Specified by:
isPropertyEncrypted
in interface TDIProperties
- Throws:
Exception