|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ROAccessReportsRepository
Common interface for all the implementations providing access to the
RO_ACCESS_REPORTS data-base. The actual implementation of the interface
is chosen at runtime via the strategy pattern from the respective Context
(in this case the implementation of the Repository
interface). The
interface extends the MessageHandler
interface, in order to be able
to receive LLRP RO_ACCESS_REPORTS messages.
AdaptorManagement
is done
automatically for the implementing class. So do this ONLY, if you know
exactly what you are planing to do (otherwise messages might get logged
twice!!!).
Method Summary | |
---|---|
void |
clear()
drop all the messages in the repository. |
java.util.List<ROAccessItem> |
getAll()
retrieves all the RO_ACCESS_REPORTS elements in the database. |
void |
initialize(Repository repository)
Initializer for the RO_ACCESS_REPORTS repository. |
void |
setRepository(Repository repository)
set the repository that "owns" this RO_ACCESS_REPORTS repository. |
Methods inherited from interface org.fosstrak.llrp.client.MessageHandler |
---|
handle |
Method Detail |
---|
void setRepository(Repository repository)
repository
- the repository that "owns" this RO_ACCESS_REPORTS repository.void initialize(Repository repository) throws LLRPRuntimeException
repository
- the repository belonging to this RO_ACCESS_REPORTS DB.
when
- there is a problem with initialization (eg. missing param).
LLRPRuntimeException
java.util.List<ROAccessItem> getAll() throws java.lang.Exception
ROAccessItem
.
java.lang.Exception
- when there is an error of any kind.void clear() throws java.lang.Exception
java.lang.Exception
- when there is an error of any kind.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |