com.ibm.di.api.local
Interface TDIProperties

All Known Implementing Classes:
TDIPropertiesImpl

public interface TDIProperties

Local server API interface to TDIProperties. Wrapper API to expose the functionality available from com.ibm.di.config.interface.TDIProperties

See Also:
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)
           
 

Method Detail

commit

void commit()
            throws Exception
Throws:
Exception

getProperty

Object getProperty(String key)
                   throws Exception
Throws:
Exception

setProperty

TDIPropertyStore setProperty(String key,
                             Object value)
                             throws Exception
Throws:
Exception

setProperty

TDIPropertyStore setProperty(String key,
                             Object value,
                             boolean protect)
                             throws Exception
Throws:
Exception

setProperty

void setProperty(String propertyStoreName,
                 String key,
                 Object value)
                 throws Exception
Throws:
Exception

setProperty

void setProperty(String propertyStoreName,
                 String key,
                 Object value,
                 boolean protect)
                 throws Exception
Throws:
Exception

removeProperty

void removeProperty(String propertyStoreName,
                    String key)
                    throws Exception
Throws:
Exception

getProperty

Object getProperty(String propertyStoreName,
                   String key)
                   throws Exception
Throws:
Exception

getPropertyStoreKeys

String[] getPropertyStoreKeys(String propertyStoreName)
                              throws Exception
Throws:
Exception

getPropertyStoreNames

List getPropertyStoreNames()
                           throws Exception
Throws:
Exception

getDefaultStore

TDIPropertyStore getDefaultStore()
                                 throws Exception
Throws:
Exception

getPasswordStore

TDIPropertyStore getPasswordStore()
                                  throws Exception
Throws:
Exception

getPropertyStore

TDIPropertyStore getPropertyStore(String name)
                                  throws Exception
Throws:
Exception

isPropertyEncrypted

boolean isPropertyEncrypted(String propertyStoreName,
                            String key)
                            throws Exception
Throws:
Exception

addPropertyStore

void addPropertyStore(PropertyStoreConfig config)
                      throws Exception
Throws:
Exception

insertPropertyStore

void insertPropertyStore(PropertyStoreConfig config,
                         int atIndex)
                         throws Exception
Throws:
Exception

removePropertyStore

void removePropertyStore(String propertyStoreName)
                         throws Exception
Throws:
Exception

setDefaultStore

void setDefaultStore(TDIPropertyStore defaultStore)
                     throws Exception
Throws:
Exception

setPasswordStore

void setPasswordStore(TDIPropertyStore passwordStore)
                      throws Exception
Throws:
Exception

trimKey

String trimKey(String key)
               throws Exception
Throws:
Exception