de.janrufmonitor.repository.types
Interface IWriteCallRepository

All Known Implementing Classes:
AbstractDatabaseCallManager, AbstractPersistentCallManager

public interface IWriteCallRepository

This type is used for repositories which allow write access to their call information.

Author:
brandt

Method Summary
 void removeCall(ICall call)
          Removes a certain call from a repository.
 void removeCalls(ICallList callList)
          Removes a list of calls objects from a repository.
 void setCall(ICall call)
          Sets a call object to a repository.
 void setCalls(ICallList list)
          Sets a list of call objects to a repository.
 void updateCall(ICall call)
          Updates a call with the new data.
 void updateCalls(ICallList list)
          Updates a call list with the new data.
 

Method Detail

setCall

void setCall(ICall call)
Sets a call object to a repository.

Parameters:
call - call to be set

setCalls

void setCalls(ICallList list)
Sets a list of call objects to a repository.

Parameters:
list - call list to be set

updateCall

void updateCall(ICall call)
Updates a call with the new data. The call to be updated has to be detremined through its UUID.

Parameters:
call - call to be updated

updateCalls

void updateCalls(ICallList list)
Updates a call list with the new data. The calls to be updated have to be detremined through its UUID.

Parameters:
list - call list to be updated

removeCall

void removeCall(ICall call)
Removes a certain call from a repository.

Parameters:
call - call to be removed

removeCalls

void removeCalls(ICallList callList)
Removes a list of calls objects from a repository.

Parameters:
callList - list of calls to be removed.


Copyright © 2010 by Thilo Brandt. All Rights Reserved.