|
||||||||||
| 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.AbstractDatabaseCallManager
public abstract class AbstractDatabaseCallManager
| Field Summary | |
|---|---|
protected ICallDatabaseHandler |
m_dbh
|
| Fields inherited from class de.janrufmonitor.repository.AbstractConfigurableCallManager |
|---|
CFG_ENABLED, CFG_PRIO, m_configuration, m_externalID, m_logger |
| Constructor Summary | |
|---|---|
AbstractDatabaseCallManager()
|
|
| 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. |
protected abstract ICallDatabaseHandler |
getDatabaseHandler()
Creates a new instance of a specific database handler. |
boolean |
isSupported(Class c)
Returns wether a repository type (de.janrufmonitor.repository.types.*) is suppored by a repository manager implementation. |
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 |
shutdown()
This method is called on shutdown time by the runtime object. |
void |
updateCall(ICall call)
Updates a call with the new data. |
void |
updateCalls(ICallList list)
Updates a call list with the new data. |
| Methods inherited from class de.janrufmonitor.repository.AbstractConfigurableCallManager |
|---|
getConfigurableID, getID, getManagerID, getPriority, getRuntime, isActive, restart, setConfiguration, setManagerID, 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 |
| Field Detail |
|---|
protected ICallDatabaseHandler m_dbh
| Constructor Detail |
|---|
public AbstractDatabaseCallManager()
| Method Detail |
|---|
public boolean isSupported(Class c)
IRepositoryManager
isSupported in interface IRepositoryManagerc - Interface to be supported.
public void setCall(ICall call)
IWriteCallRepository
setCall in interface IWriteCallRepositorycall - call to be setpublic void setCalls(ICallList list)
IWriteCallRepository
setCalls in interface IWriteCallRepositorylist - call list to be setpublic void updateCall(ICall call)
IWriteCallRepository
updateCall in interface IWriteCallRepositorycall - call to be updatedpublic void updateCalls(ICallList list)
IWriteCallRepository
updateCalls in interface IWriteCallRepositorylist - call list to be updatedpublic void removeCall(ICall call)
IWriteCallRepository
removeCall in interface IWriteCallRepositorycall - call to be removedpublic void removeCalls(ICallList callList)
IWriteCallRepository
removeCalls in interface IWriteCallRepositorycallList - list of calls to be removed.public void shutdown()
IManager
shutdown in interface IManagershutdown in class AbstractConfigurableCallManagerpublic ICallList getCalls(IFilter filter)
IReadCallRepository
getCalls in interface IReadCallRepositorypublic ICallList getCalls(IFilter[] filters)
IReadCallRepository
getCalls 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
protected abstract ICallDatabaseHandler getDatabaseHandler()
public int getCallCount(IFilter[] filters)
IReadCallRepository
getCallCount in interface IReadCallRepository
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||