org.cmis.interopserver.services.nwem
Class NWEMSoapBindingImpl

java.lang.Object
  extended by org.cmis.interopserver.services.base.InteropDmisProxyObject
      extended by org.cmis.interopserver.services.base.BaseSoapBindingImpl
          extended by org.cmis.interopserver.services.nwem.NWEMSoapBindingImpl
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, org.cmis.interopserver.services.base.Base, NWEM

public class NWEMSoapBindingImpl
extends org.cmis.interopserver.services.base.BaseSoapBindingImpl
implements NWEM

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.cmis.interopserver.services.base.BaseSoapBindingImpl
alCogs, cogNameMapping, GENERIC_INTERNAL_ERROR, INVALID_SESSION_MESSAGE, log, SERVER_ERROR
 
Constructor Summary
NWEMSoapBindingImpl()
           
 
Method Summary
 org.cmis.interopserver.beans.cap1_1.Alert getAlert(java.lang.String in0)
          Gets the Alert that corresponds to the unique identifier.
 org.cmis.interopserver.beans.cap1_1.Alert[] getAlertsByPostedDate(java.util.Calendar in0)
          Gets all alerts (NWEM messages and non-NWEM messages) posted after the user sepecified time.
 org.cmis.interopserver.beans.cap1_1.Alert[] getAlertsBySentDate(java.util.Calendar in0)
          Gets all alerts (NWEM messages and non-NWEM messages) those sent fields are later than the last update time.
 java.lang.String getHCSMode()
          Returns the current operation mode for HazCollect Server.
 org.cmis.interopserver.beans.SimpleCOG getMyCog()
          DOCUMENT ME!
 gov.noaa.nws.hazcollect.support.view.CogGeoFipsCodeImpl[] getNWEMAuxData(java.lang.String in0)
          Returns all the county FIP codes, county names, FIP county or Zone indicators, state codes, zone codes, ane zone names authorized for user's COG.
 java.util.Calendar getServerTime()
           
 boolean isCogAuthorized(java.lang.String in0)
           
 java.lang.String ping()
          DOCUMENT ME!
 void postNWEM(org.cmis.interopserver.beans.cap1_1.Alert in0, java.lang.String in1, org.cmis.interopserver.beans.SimpleCOG[] in2)
          This method first sends the NWEM message to the HazCollect Server to be broadcast.
 
Methods inherited from class org.cmis.interopserver.services.base.BaseSoapBindingImpl
addAttachment, addAttachment, clientNotifyViaSMTP, clientNotifyViaUrl, convertSimpleCogs, getCogNameMapping, getCogs, getDataHandler
 
Methods inherited from class org.cmis.interopserver.services.base.InteropDmisProxyObject
getOperator, getProxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NWEMSoapBindingImpl

public NWEMSoapBindingImpl()
Method Detail

getAlert

public org.cmis.interopserver.beans.cap1_1.Alert getAlert(java.lang.String in0)
                                                   throws java.rmi.RemoteException
Description copied from interface: NWEM
Gets the Alert that corresponds to the unique identifier. The unique identifier consists of the sender field of the CAP 1.1 object, a colon, and the identifier field of the CAP 1.1 object. A null value will be returned if unique identifier cannot be found.

Specified by:
getAlert in interface NWEM
Parameters:
in0 - String -> unique identifier
Returns:
Alert
Throws:
RemoteException

getAlertsBySentDate

public org.cmis.interopserver.beans.cap1_1.Alert[] getAlertsBySentDate(java.util.Calendar in0)
                                                                throws java.rmi.RemoteException
Description copied from interface: NWEM
Gets all alerts (NWEM messages and non-NWEM messages) those sent fields are later than the last update time. Please note the smallest unit of time used for calculation is a second.

Specified by:
getAlertsBySentDate in interface NWEM
Parameters:
in0 - Calendar -> last update time
Returns:
Alert[] -> all alerts those sent fields are later than the last update time
Throws:
RemoteException

getServerTime

public java.util.Calendar getServerTime()
                                 throws java.rmi.RemoteException
Specified by:
getServerTime in interface NWEM
Returns:
Calendar -> current time of the server
Throws:
RemoteException

postNWEM

public void postNWEM(org.cmis.interopserver.beans.cap1_1.Alert in0,
                     java.lang.String in1,
                     org.cmis.interopserver.beans.SimpleCOG[] in2)
              throws java.rmi.RemoteException
Description copied from interface: NWEM
This method first sends the NWEM message to the HazCollect Server to be broadcast. After HazCollect Server broadcasts the messaage, the message will be posted to the DMIS COGs. Only valid NWEM messages can be posted to the HazCollect Server. For details on NWEM messages please refer to the HazCollect System Dataflow Analysis document.

Specified by:
postNWEM in interface NWEM
Parameters:
in0 - Alert - alert to be posted
in1 - String - timezone posting COG
in2 - SimpleCOG[] -> a list of DMIS COGs to post to
Throws:
RemoteException - This method will first post the alert to HazCollect, if the post is successful, the alert will then be saved to DMIS database tables.

getNWEMAuxData

public gov.noaa.nws.hazcollect.support.view.CogGeoFipsCodeImpl[] getNWEMAuxData(java.lang.String in0)
                                                                         throws java.rmi.RemoteException
Description copied from interface: NWEM
Returns all the county FIP codes, county names, FIP county or Zone indicators, state codes, zone codes, ane zone names authorized for user's COG. Please see section 6 (Auxiliary Data), of the HazCollect System Dataflow Analysis document.

Specified by:
getNWEMAuxData in interface NWEM
Parameters:
in0 - String -> COG id
Returns:
CogGeoFipsCodeImpl[]
Throws:
RemoteException

getMyCog

public org.cmis.interopserver.beans.SimpleCOG getMyCog()
                                                throws java.rmi.RemoteException
Description copied from class: org.cmis.interopserver.services.base.BaseSoapBindingImpl
DOCUMENT ME!

Specified by:
getMyCog in interface org.cmis.interopserver.services.base.Base
Specified by:
getMyCog in interface NWEM
Overrides:
getMyCog in class org.cmis.interopserver.services.base.BaseSoapBindingImpl
Returns:
DOCUMENT ME!
Throws:
java.rmi.RemoteException - DOCUMENT ME!

ping

public java.lang.String ping()
                      throws java.rmi.RemoteException
Description copied from class: org.cmis.interopserver.services.base.BaseSoapBindingImpl
DOCUMENT ME!

Specified by:
ping in interface org.cmis.interopserver.services.base.Base
Specified by:
ping in interface NWEM
Overrides:
ping in class org.cmis.interopserver.services.base.BaseSoapBindingImpl
Returns:
DOCUMENT ME!
Throws:
java.rmi.RemoteException - An exception occurred remotely

getAlertsByPostedDate

public org.cmis.interopserver.beans.cap1_1.Alert[] getAlertsByPostedDate(java.util.Calendar in0)
                                                                  throws java.rmi.RemoteException
Description copied from interface: NWEM
Gets all alerts (NWEM messages and non-NWEM messages) posted after the user sepecified time.

Specified by:
getAlertsByPostedDate in interface NWEM
Parameters:
in0 - Calendar -> user specified time
Returns:
Alert[] -> all alerts posted after the user sepecified time
Throws:
RemoteException

getHCSMode

public java.lang.String getHCSMode()
                            throws java.rmi.RemoteException
Description copied from interface: NWEM
Returns the current operation mode for HazCollect Server. Please refer to the HazCollect System Dataflow Analysis document for details on HazCollect operation modes and message dissemination.

Specified by:
getHCSMode in interface NWEM
Returns:
String -> current operation mode of HazCollect Server
Throws:
RemoteException

isCogAuthorized

public boolean isCogAuthorized(java.lang.String in0)
                        throws java.rmi.RemoteException
Specified by:
isCogAuthorized in interface NWEM
Parameters:
in0 - String -> COG id
Throws:
RemoteException