IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.web2.profile
Interface BTTWeb2ProfileDAO

All Known Implementing Classes:
BTTWeb2ProfileFileDAOImpl, BTTWeb2ProfileJDBCDAOImpl

public interface BTTWeb2ProfileDAO


Method Summary
 int addGlobalProfile(java.lang.String configType, java.lang.String xmlContent)
          Add global profile
 int addUserProfile(java.lang.String configType, java.lang.String userID, java.lang.String xmlContent)
          Add user profile
 java.lang.String getGlobalProfile(java.lang.String configType)
          Get the global profile
 java.lang.String getUserProfile(java.lang.String configType, java.lang.String userID)
          Get the user profile
 int updateGlobalProfile(java.lang.String configType, java.lang.String xmlContent)
          Update global profile
 int updateUserProfile(java.lang.String configType, java.lang.String userID, java.lang.String xmlContent)
          Update user profile
 

Method Detail

getUserProfile

java.lang.String getUserProfile(java.lang.String configType,
                                java.lang.String userID)
                                throws java.lang.Exception
Get the user profile

Parameters:
configType -
userID -
Returns:
XML String of user profile
Throws:
java.lang.Exception

getGlobalProfile

java.lang.String getGlobalProfile(java.lang.String configType)
                                  throws java.lang.Exception
Get the global profile

Parameters:
configType -
Returns:
XML String of global profile
Throws:
java.lang.Exception

addUserProfile

int addUserProfile(java.lang.String configType,
                   java.lang.String userID,
                   java.lang.String xmlContent)
                   throws java.lang.Exception
Add user profile

Parameters:
configType -
userID -
xmlContent -
Returns:
the count of record added, normally should be 1
Throws:
java.lang.Exception

addGlobalProfile

int addGlobalProfile(java.lang.String configType,
                     java.lang.String xmlContent)
                     throws java.lang.Exception
Add global profile

Parameters:
configType -
xmlContent -
Returns:
the count of record added, normally should be 1
Throws:
java.lang.Exception

updateUserProfile

int updateUserProfile(java.lang.String configType,
                      java.lang.String userID,
                      java.lang.String xmlContent)
                      throws java.lang.Exception
Update user profile

Parameters:
configType -
userID -
xmlContent -
Returns:
the count of record updated, normally should be 1
Throws:
java.lang.Exception

updateGlobalProfile

int updateGlobalProfile(java.lang.String configType,
                        java.lang.String xmlContent)
                        throws java.lang.Exception
Update global profile

Parameters:
configType -
xmlContent -
Returns:
the count of record updated, normally should be 1
Throws:
java.lang.Exception

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010