de.fhhannover.inform.trust.ifmapj.messages
Interface PollResult

All Superinterfaces:
Result

public interface PollResult
extends Result

Interface to access SearchResult objects contained in a PollResult. Note: All returned collections should be assumed to be unmodifiable.

Author:
aw FIXME: We have to return the SearchResults in ordered...!!!

Method Summary
 Collection<SearchResult> getDeleteResults()
          Deprecated. No ordering enforced. Replace with getResults() and SearchResult.getType().
 Collection<IfmapErrorResult> getErrorResults()
          Get all IfmapErrorResult objects that indicate errors that occured since the last poll.
 Collection<SearchResult> getNotifyResults()
          Deprecated. No ordering enforced. Replace with getResults() and SearchResult.getType().
 List<SearchResult> getResults()
           
 Collection<SearchResult> getSearchResults()
          Deprecated. No ordering enforced. Replace with getResults() and SearchResult.getType().
 Collection<SearchResult> getUpdateResults()
          Deprecated. No ordering enforced. Replace with getResults() and SearchResult.getType().
 

Method Detail

getSearchResults

Collection<SearchResult> getSearchResults()
Deprecated. No ordering enforced. Replace with getResults() and SearchResult.getType().

Get all SearchResult objects that were received after the initial poll has been sent to the MAPS.

Returns:
an unmodifiable collection of SearchResult objects

getUpdateResults

Collection<SearchResult> getUpdateResults()
Deprecated. No ordering enforced. Replace with getResults() and SearchResult.getType().

Get all SearchResult objects for new metadata that has been published to the MAPS since the last poll.

Returns:
an unmodifiable collection of SearchResult objects

getDeleteResults

Collection<SearchResult> getDeleteResults()
Deprecated. No ordering enforced. Replace with getResults() and SearchResult.getType().

Get all SearchResult objects for metadata that has been deleted from the MAPS since the last poll.

Returns:
an unmodifiable collection of SearchResult objects

getNotifyResults

Collection<SearchResult> getNotifyResults()
Deprecated. No ordering enforced. Replace with getResults() and SearchResult.getType().

Get all SearchResult objects for metadata that has been published to the MAPS by using the publish notify request since the last poll.

Returns:
an unmodifiable collection of SearchResult objects

getErrorResults

Collection<IfmapErrorResult> getErrorResults()
Get all IfmapErrorResult objects that indicate errors that occured since the last poll.

Returns:
an unmodifiable collection of IfmapErrorResult objects

getResults

List<SearchResult> getResults()
Returns:
an unmodifieable list of SearchResult instances, ordered the way they were received from the MAPS.


Copyright © 2012 Trust@FHH. All Rights Reserved.