/** Returns the single endpoint configured like sender. Null otherwise. */ public PublishingEndPoint findSenderEndpointByAddress(String address) throws DotDataException { return publisherEndpointFactory.getSenderEndpointByAddress(address); }
/** Returns all the receiver endpoints. */ public List<PublishingEndPoint> findReceiverEndpoints() throws DotDataException { return publisherEndpointFactory.getReceiverEndpoints(); }
/** Delete an endpoint by id */ public void deleteEndpointById(String id) throws DotDataException { publisherEndpointFactory.deleteEndpointById(id); }
/** Update an endpoint */ public void updateEndpoint(PublishingEndPoint anEndpoint) throws DotDataException { publisherEndpointFactory.update(anEndpoint); }
/** Save a new endpoint */ public void saveEndpoint(PublishingEndPoint anEndpoint) throws DotDataException { publisherEndpointFactory.store(anEndpoint); }
/** Returns a single endpoint based on id. */ public PublishingEndPoint findEndpointById(String id) throws DotDataException { return publisherEndpointFactory.getEndpointById(id); }
/** Returns the endpoints list. */ public List<PublishingEndPoint> getAllEndpoints() throws DotDataException { return publisherEndpointFactory.getEndpoints(); }