IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.web2.profile
Class BTTWeb2ProfileFileDAOImpl

java.lang.Object
  extended by com.ibm.btt.web2.profile.BTTWeb2ProfileFileDAOImpl
All Implemented Interfaces:
BTTWeb2ProfileDAO

public class BTTWeb2ProfileFileDAOImpl
extends java.lang.Object
implements BTTWeb2ProfileDAO


Field Summary
(package private)  java.lang.String rootPath
           
 
Constructor Summary
BTTWeb2ProfileFileDAOImpl()
           
 
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 getRootPath()
           
 java.lang.String getUserProfile(java.lang.String configType, java.lang.String userID)
          Get the user profile
 void setRootPath(java.lang.String rootPath)
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootPath

java.lang.String rootPath
Constructor Detail

BTTWeb2ProfileFileDAOImpl

public BTTWeb2ProfileFileDAOImpl()
Method Detail

getRootPath

public java.lang.String getRootPath()

setRootPath

public void setRootPath(java.lang.String rootPath)

addGlobalProfile

public int addGlobalProfile(java.lang.String configType,
                            java.lang.String xmlContent)
                     throws java.lang.Exception
Description copied from interface: BTTWeb2ProfileDAO
Add global profile

Specified by:
addGlobalProfile in interface BTTWeb2ProfileDAO
Returns:
the count of record added, normally should be 1
Throws:
java.lang.Exception

addUserProfile

public int addUserProfile(java.lang.String configType,
                          java.lang.String userID,
                          java.lang.String xmlContent)
                   throws java.lang.Exception
Description copied from interface: BTTWeb2ProfileDAO
Add user profile

Specified by:
addUserProfile in interface BTTWeb2ProfileDAO
Returns:
the count of record added, normally should be 1
Throws:
java.lang.Exception

getGlobalProfile

public java.lang.String getGlobalProfile(java.lang.String configType)
                                  throws java.lang.Exception
Description copied from interface: BTTWeb2ProfileDAO
Get the global profile

Specified by:
getGlobalProfile in interface BTTWeb2ProfileDAO
Returns:
XML String of global profile
Throws:
java.lang.Exception

getUserProfile

public java.lang.String getUserProfile(java.lang.String configType,
                                       java.lang.String userID)
                                throws java.lang.Exception
Description copied from interface: BTTWeb2ProfileDAO
Get the user profile

Specified by:
getUserProfile in interface BTTWeb2ProfileDAO
Returns:
XML String of user profile
Throws:
java.lang.Exception

updateGlobalProfile

public int updateGlobalProfile(java.lang.String configType,
                               java.lang.String xmlContent)
                        throws java.lang.Exception
Description copied from interface: BTTWeb2ProfileDAO
Update global profile

Specified by:
updateGlobalProfile in interface BTTWeb2ProfileDAO
Returns:
the count of record updated, normally should be 1
Throws:
java.lang.Exception

updateUserProfile

public int updateUserProfile(java.lang.String configType,
                             java.lang.String userID,
                             java.lang.String xmlContent)
                      throws java.lang.Exception
Description copied from interface: BTTWeb2ProfileDAO
Update user profile

Specified by:
updateUserProfile in interface BTTWeb2ProfileDAO
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