de.janrufmonitor.repository.types
Interface IReadCallRepository

All Known Implementing Classes:
AbstractDatabaseCallManager, AbstractFilterCallManager, AbstractPersistentCallManager

public interface IReadCallRepository

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

Author:
brandt

Method Summary
 int getCallCount(IFilter[] filters)
          Gets the number of call entries in the repository for a specific filter object.
 ICallList getCalls(IFilter filter)
          Gets a list with all calls of a repository filtered by the specified filter implementation.
 ICallList getCalls(IFilter[] filters)
          Gets a list with all calls of a repository filtered by the specified filter array.
 ICallList getCalls(IFilter[] filters, int count, int offset)
          Gets a list with all calls of a repository filtered by the specified filter array.
 

Method Detail

getCalls

ICallList getCalls(IFilter filter)
Gets a list with all calls of a repository filtered by the specified filter implementation.

Parameters:
f - a valid filter object
Returns:
list with calls

getCalls

ICallList getCalls(IFilter[] filters)
Gets a list with all calls of a repository filtered by the specified filter array. The order of the filtering is done by the order of the array object.

Parameters:
f - a valid filter array. Array elements must not be null.
Returns:
list with calls

getCalls

ICallList getCalls(IFilter[] filters,
                   int count,
                   int offset)
Gets a list with all calls of a repository filtered by the specified filter array. The order of the filtering is done by the order of the array object.

Parameters:
f - a valid filter array. Array elements must not be null.
count - number off entries from repository
offset - starting point in repository
Returns:
list with calls

getCallCount

int getCallCount(IFilter[] filters)
Gets the number of call entries in the repository for a specific filter object.

Parameters:
f - a valid filter array. Array elements must not be null.
Returns:
number of calls applied on this filter


Copyright © 2010 by Thilo Brandt. All Rights Reserved.