IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.channel.data.dao
Interface ChannelRuntimeDAO

All Known Implementing Classes:
ChannelRuntimeDAOImpl

public interface ChannelRuntimeDAO

DAO Interface for operation on ChannelRuntime


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
 

Method Detail

getChannelRuntime

ChannelRuntime getChannelRuntime(ChannelRuntimePK id)
Get ChannelRuntime by ID

Parameters:
id - ChannelRuntimePK
Returns:
ChannelRuntime

addChannelRuntime

void addChannelRuntime(ChannelRuntime channelRuntime)
Add a new ChannelRuntime instance to persistence layer

Parameters:
channelRuntime - the new entity instance

deleteChannelRuntime

void deleteChannelRuntime(ChannelRuntimePK id)
Delete a ChannelRuntime entity by ID

Parameters:
id - ChannelRuntimePK

updateChannelRuntime

void updateChannelRuntime(ChannelRuntime channelRuntime)
Update a persisted ChannelRuntime entity

Parameters:
channelRuntime - the entity instance

increaseTransferedAmount

void increaseTransferedAmount(ChannelRuntimePK id,
                              java.lang.Double amount)
Increase (+amount) transfered total amount in a day for user on a channel.

Parameters:
id -
amount -

increaseTransferedCount

void increaseTransferedCount(ChannelRuntimePK id)
Increase (+1) transfered count in a day for user on a channel.

Parameters:
id - ChannelRuntimePK

increasePasswordErrorCount

void increasePasswordErrorCount(ChannelRuntimePK id)
Increase (+1) password error count in a day for user on a channel.

Parameters:
id - ChannelRuntimePK

resetChannelRuntime

void resetChannelRuntime(ChannelRuntimePK id)
Reset the value of transferedAmount, transferedCount, passwordErrorCount to 0 for user on a channel.

Parameters:
id - ChannelRuntimePK

resetChannelRuntimeAll

void resetChannelRuntimeAll()
Reset the value of transferedAmount, transferedCount, passwordErrorCount to 0 for all record of ChannelRuntime


IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011