|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.janrufmonitor.repository.AbstractConfigurableCallManager
de.janrufmonitor.repository.AbstractFilterCallManager
public abstract class AbstractFilterCallManager
This abstract class can be used as base class for a new call manager implementation which is supporting configuration and does not offer an own filter mechanism.
| Field Summary |
|---|
| Fields inherited from class de.janrufmonitor.repository.AbstractConfigurableCallManager |
|---|
CFG_ENABLED, CFG_PRIO, m_configuration, m_externalID, m_logger |
| Constructor Summary | |
|---|---|
AbstractFilterCallManager()
|
|
| Method Summary | |
|---|---|
protected ICallList |
filterCalls(IFilter filter,
ICallList cl)
|
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. |
protected abstract ICallList |
getInitialCallList(IFilter f)
Gets the initial call list which can be pre-filtered. |
boolean |
isSupported(Class c)
Returns wether a repository type (de.janrufmonitor.repository.types.*) is suppored by a repository manager implementation. |
| Methods inherited from class de.janrufmonitor.repository.AbstractConfigurableCallManager |
|---|
getConfigurableID, getID, getManagerID, getPriority, getRuntime, isActive, restart, setConfiguration, setManagerID, shutdown, startup, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.janrufmonitor.framework.configuration.IConfigurable |
|---|
getNamespace |
| Constructor Detail |
|---|
public AbstractFilterCallManager()
| Method Detail |
|---|
protected abstract ICallList getInitialCallList(IFilter f)
f - inital filter object (optional processing).
public int getCallCount(IFilter[] filters)
IReadCallRepository
getCallCount in interface IReadCallRepository
public ICallList getCalls(IFilter[] filters,
int count,
int offset)
IReadCallRepository
getCalls in interface IReadCallRepositorycount - number off entries from repositoryoffset - starting point in repository
public ICallList getCalls(IFilter[] filters)
IReadCallRepository
getCalls in interface IReadCallRepositorypublic ICallList getCalls(IFilter filter)
IReadCallRepository
getCalls in interface IReadCallRepositorypublic boolean isSupported(Class c)
IRepositoryManager
isSupported in interface IRepositoryManagerc - Interface to be supported.
protected ICallList filterCalls(IFilter filter,
ICallList cl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||