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

All Superinterfaces:
Request

public interface PublishRequest
extends Request

Interface to access data concerning a PublishRequest. MAPCs can publish or delete metadata on a MAPS. A PublishRequest is used to do these operations. A PublishRequest can hold one or more of PublishUpdate, PublishNotify and PublishDelete elements.

Author:
aw

Method Summary
 void addPublishElement(PublishElement pe)
          Add a new PublishElement to the request
 List<PublishElement> getPublishElements()
          Get all PublishElement instances of this request
 
Methods inherited from interface de.fhhannover.inform.trust.ifmapj.messages.Request
getSessionId, setSessionId
 

Method Detail

addPublishElement

void addPublishElement(PublishElement pe)
Add a new PublishElement to the request

Parameters:
pe - the element to add to the list
Throws:
NullPointerException - if the given element is null

getPublishElements

List<PublishElement> getPublishElements()
Get all PublishElement instances of this request

Returns:
the list of elements in the request. Note: The returned collection is unmodifiable.


Copyright © 2012 Trust@FHH. All Rights Reserved.