IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.channel.data.dao.jpa
Class ChannelRuntimeDAOImpl

java.lang.Object
  extended by com.ibm.btt.channel.data.dao.jpa.ChannelRuntimeDAOImpl
All Implemented Interfaces:
ChannelRuntimeDAO

public class ChannelRuntimeDAOImpl
extends java.lang.Object
implements ChannelRuntimeDAO


Field Summary
(package private)  ChannelRuntimeManager cpRuntimeMgr
           
 
Constructor Summary
ChannelRuntimeDAOImpl()
           
 
Method Summary
 void addChannelRuntime(ChannelRuntime channelRuntime)
          Add a new ChannelRuntime instance to persistence layer
 void deleteChannelRuntime(ChannelRuntimePK id)
          Delete a ChannelRuntime entity by ID
 ChannelRuntime getChannelRuntime(ChannelRuntimePK id)
          Get ChannelRuntime by ID
 void increasePasswordErrorCount(ChannelRuntimePK id)
          Increase (+1) password error count in a day for user on a channel.
 void increaseTransferedAmount(ChannelRuntimePK id, java.lang.Double amount)
          Increase (+amount) transfered total amount in a day for user on a channel.
 void increaseTransferedCount(ChannelRuntimePK id)
          Increase (+1) transfered count in a day for user on a channel.
 void resetChannelRuntime(ChannelRuntimePK id)
          Reset the value of transferedAmount, transferedCount, passwordErrorCount to 0 for user on a channel.
 void resetChannelRuntimeAll()
          Reset the value of transferedAmount, transferedCount, passwordErrorCount to 0 for all record of ChannelRuntime
 void updateChannelRuntime(ChannelRuntime channelRuntime)
          Update a persisted ChannelRuntime entity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cpRuntimeMgr

ChannelRuntimeManager cpRuntimeMgr
Constructor Detail

ChannelRuntimeDAOImpl

public ChannelRuntimeDAOImpl()
Method Detail

addChannelRuntime

public void addChannelRuntime(ChannelRuntime channelRuntime)
Description copied from interface: ChannelRuntimeDAO
Add a new ChannelRuntime instance to persistence layer

Specified by:
addChannelRuntime in interface ChannelRuntimeDAO
Parameters:
channelRuntime - the new entity instance
See Also:
ChannelRuntimeDAO.addChannelRuntime(ChannelRuntime)

deleteChannelRuntime

public void deleteChannelRuntime(ChannelRuntimePK id)
Description copied from interface: ChannelRuntimeDAO
Delete a ChannelRuntime entity by ID

Specified by:
deleteChannelRuntime in interface ChannelRuntimeDAO
Parameters:
id - ChannelRuntimePK
See Also:
ChannelRuntimeDAO.deleteChannelRuntime(ChannelRuntimePK)

getChannelRuntime

public ChannelRuntime getChannelRuntime(ChannelRuntimePK id)
Description copied from interface: ChannelRuntimeDAO
Get ChannelRuntime by ID

Specified by:
getChannelRuntime in interface ChannelRuntimeDAO
Parameters:
id - ChannelRuntimePK
Returns:
ChannelRuntime
See Also:
ChannelRuntimeDAO.getChannelRuntime(ChannelRuntimePK)

increasePasswordErrorCount

public void increasePasswordErrorCount(ChannelRuntimePK id)
Description copied from interface: ChannelRuntimeDAO
Increase (+1) password error count in a day for user on a channel.

Specified by:
increasePasswordErrorCount in interface ChannelRuntimeDAO
Parameters:
id - ChannelRuntimePK
See Also:
ChannelRuntimeDAO.increasePasswordErrorCount(ChannelRuntimePK)

increaseTransferedAmount

public void increaseTransferedAmount(ChannelRuntimePK id,
                                     java.lang.Double amount)
Description copied from interface: ChannelRuntimeDAO
Increase (+amount) transfered total amount in a day for user on a channel.

Specified by:
increaseTransferedAmount in interface ChannelRuntimeDAO
See Also:
ChannelRuntimeDAO.increaseTransferedAmount(ChannelRuntimePK, Double)

increaseTransferedCount

public void increaseTransferedCount(ChannelRuntimePK id)
Description copied from interface: ChannelRuntimeDAO
Increase (+1) transfered count in a day for user on a channel.

Specified by:
increaseTransferedCount in interface ChannelRuntimeDAO
Parameters:
id - ChannelRuntimePK
See Also:
ChannelRuntimeDAO.increaseTransferedCount(ChannelRuntimePK)

updateChannelRuntime

public void updateChannelRuntime(ChannelRuntime channelRuntime)
Description copied from interface: ChannelRuntimeDAO
Update a persisted ChannelRuntime entity

Specified by:
updateChannelRuntime in interface ChannelRuntimeDAO
Parameters:
channelRuntime - the entity instance
See Also:
ChannelRuntimeDAO.updateChannelRuntime(ChannelRuntime)

resetChannelRuntime

public void resetChannelRuntime(ChannelRuntimePK id)
Description copied from interface: ChannelRuntimeDAO
Reset the value of transferedAmount, transferedCount, passwordErrorCount to 0 for user on a channel.

Specified by:
resetChannelRuntime in interface ChannelRuntimeDAO
Parameters:
id - ChannelRuntimePK
See Also:
ChannelRuntimeDAO.resetChannelRuntime(ChannelRuntimePK)

resetChannelRuntimeAll

public void resetChannelRuntimeAll()
Description copied from interface: ChannelRuntimeDAO
Reset the value of transferedAmount, transferedCount, passwordErrorCount to 0 for all record of ChannelRuntime

Specified by:
resetChannelRuntimeAll in interface ChannelRuntimeDAO
See Also:
ChannelRuntimeDAO.resetChannelRuntimeAll()

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010