edu.iris.dmc.service
Class SacpzService

java.lang.Object
  extended by edu.iris.dmc.service.BaseService
      extended by edu.iris.dmc.service.SacpzService

public class SacpzService
extends BaseService

Sacpz service is the main class for querying the Sacpz service


Field Summary
 
Fields inherited from class edu.iris.dmc.service.BaseService
appName, baseUrl, DEFAULT_READ_TIMEOUT_IN_MS, password, userAgent, username
 
Constructor Summary
SacpzService(String baseUrl, String version, String compatabilityVersion, String userAgent)
           
 
Method Summary
 List<Sacpz> fetch(SacpzCriteria criteria)
          fetch sacpz objects list from IRIS Sacpz service
 List<Sacpz> load(InputStream inputStream)
          Load Sacpz from inputstream, example local file
 
Methods inherited from class edu.iris.dmc.service.BaseService
authenticate, getAppName, getBaseUrl, getConnection, setAppName, setBaseUrl, stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SacpzService

public SacpzService(String baseUrl,
                    String version,
                    String compatabilityVersion,
                    String userAgent)
Method Detail

fetch

public List<Sacpz> fetch(SacpzCriteria criteria)
                  throws NoDataFoundException,
                         CriteriaException,
                         IOException,
                         ServiceNotSupportedException,
                         DataFormatException
fetch sacpz objects list from IRIS Sacpz service

Parameters:
criteria -
Returns:
list of events
Throws:
NoDataFoundException
CriteriaException
ServiceNotSupportedException
IOException
DataFormatException

load

public List<Sacpz> load(InputStream inputStream)
                 throws IOException
Load Sacpz from inputstream, example local file

Parameters:
inputStream -
Returns:
list of Sacpz objects
Throws:
IOException


Copyright © 2013. All Rights Reserved.