edu.sc.seis.cormorant.network
Class ConcreteNetworkAccessImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by edu.iris.Fissures.IfNetwork.ConcreteNetworkAccessPOA
          extended by edu.sc.seis.cormorant.network.ConcreteNetworkAccessImpl
All Implemented Interfaces:
AuditSystemAccess, ConcreteNetworkAccessOperations, NetworkAccess, java.io.Serializable, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.portable.InvokeHandler

public class ConcreteNetworkAccessImpl
extends ConcreteNetworkAccessPOA

ConcreteNetworkAccessImpl.java Created: Thu Nov 8 15:05:23 2001

Version:
Author:
See Also:
Serialized Form

Field Summary
protected  edu.sc.seis.fissuresUtil.database.network.JDBCChannel jdbcChannel
           
protected  edu.sc.seis.fissuresUtil.database.network.JDBCNetwork jdbcNetwork
           
protected  NetworkId networkId
           
 
Constructor Summary
ConcreteNetworkAccessImpl(edu.sc.seis.fissuresUtil.database.network.JDBCChannel jdbcChannel, NetworkId networkId)
           
 
Method Summary
 ConcreteNetwork a_writeable()
           
 NetworkAttr get_attributes()
           
 AuditElement[] get_audit_trail_for_channel(ChannelId id)
           
 AuditElement[] get_audit_trail_for_site(SiteId id)
           
 AuditElement[] get_audit_trail_for_station(StationId id)
           
 AuditElement[] get_audit_trail()
           
 Channel[] getAllChannels()
          Gets all the channels for the network id of this network access in the db
static ChannelId[] getIds(Channel[] chans)
           
 Channel[] locate_channels(Area the_area, SamplingRange sampling, OrientationRange orientation)
           
 ChannelId[] retrieve_all_channels(int seq_max, ChannelIdIterHolder iter)
          This returns all channels for this network.
 Calibration[] retrieve_calibrations(ChannelId id, TimeRange the_time)
           
 Channel retrieve_channel(ChannelId id)
           
 Channel[] retrieve_channels_by_code(java.lang.String station_code, java.lang.String site_code, java.lang.String code)
           
 Channel[] retrieve_for_station(StationId id)
           
 ChannelId[] retrieve_grouping(ChannelId id)
           
 ChannelId[][] retrieve_groupings()
           
 Instrumentation retrieve_instrumentation(ChannelId id, Time the_time)
           
 Station[] retrieve_stations()
           
 TimeCorrection[] retrieve_time_corrections(ChannelId id, TimeRange time_range)
           
 
Methods inherited from class edu.iris.Fissures.IfNetwork.ConcreteNetworkAccessPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jdbcChannel

protected edu.sc.seis.fissuresUtil.database.network.JDBCChannel jdbcChannel

jdbcNetwork

protected edu.sc.seis.fissuresUtil.database.network.JDBCNetwork jdbcNetwork

networkId

protected NetworkId networkId
Constructor Detail

ConcreteNetworkAccessImpl

public ConcreteNetworkAccessImpl(edu.sc.seis.fissuresUtil.database.network.JDBCChannel jdbcChannel,
                                 NetworkId networkId)
Method Detail

get_attributes

public NetworkAttr get_attributes()
Specified by:
get_attributes in interface NetworkAccess
Specified by:
get_attributes in class ConcreteNetworkAccessPOA

retrieve_stations

public Station[] retrieve_stations()
Specified by:
retrieve_stations in interface NetworkAccess
Specified by:
retrieve_stations in class ConcreteNetworkAccessPOA

retrieve_for_station

public Channel[] retrieve_for_station(StationId id)
Specified by:
retrieve_for_station in interface NetworkAccess
Specified by:
retrieve_for_station in class ConcreteNetworkAccessPOA

retrieve_grouping

public ChannelId[] retrieve_grouping(ChannelId id)
                              throws ChannelNotFound
Specified by:
retrieve_grouping in interface NetworkAccess
Specified by:
retrieve_grouping in class ConcreteNetworkAccessPOA
Throws:
ChannelNotFound

retrieve_groupings

public ChannelId[][] retrieve_groupings()
Specified by:
retrieve_groupings in interface NetworkAccess
Specified by:
retrieve_groupings in class ConcreteNetworkAccessPOA

retrieve_channel

public Channel retrieve_channel(ChannelId id)
                         throws ChannelNotFound
Specified by:
retrieve_channel in interface NetworkAccess
Specified by:
retrieve_channel in class ConcreteNetworkAccessPOA
Throws:
ChannelNotFound

retrieve_channels_by_code

public Channel[] retrieve_channels_by_code(java.lang.String station_code,
                                           java.lang.String site_code,
                                           java.lang.String code)
                                    throws ChannelNotFound
Specified by:
retrieve_channels_by_code in interface NetworkAccess
Specified by:
retrieve_channels_by_code in class ConcreteNetworkAccessPOA
Throws:
ChannelNotFound

locate_channels

public Channel[] locate_channels(Area the_area,
                                 SamplingRange sampling,
                                 OrientationRange orientation)
Specified by:
locate_channels in interface NetworkAccess
Specified by:
locate_channels in class ConcreteNetworkAccessPOA

retrieve_instrumentation

public Instrumentation retrieve_instrumentation(ChannelId id,
                                                Time the_time)
                                         throws ChannelNotFound
Specified by:
retrieve_instrumentation in interface NetworkAccess
Specified by:
retrieve_instrumentation in class ConcreteNetworkAccessPOA
Throws:
ChannelNotFound

retrieve_calibrations

public Calibration[] retrieve_calibrations(ChannelId id,
                                           TimeRange the_time)
                                    throws ChannelNotFound,
                                           NotImplemented
Specified by:
retrieve_calibrations in interface NetworkAccess
Specified by:
retrieve_calibrations in class ConcreteNetworkAccessPOA
Throws:
ChannelNotFound
NotImplemented

retrieve_time_corrections

public TimeCorrection[] retrieve_time_corrections(ChannelId id,
                                                  TimeRange time_range)
                                           throws ChannelNotFound,
                                                  NotImplemented
Specified by:
retrieve_time_corrections in interface NetworkAccess
Specified by:
retrieve_time_corrections in class ConcreteNetworkAccessPOA
Throws:
ChannelNotFound
NotImplemented

retrieve_all_channels

public ChannelId[] retrieve_all_channels(int seq_max,
                                         ChannelIdIterHolder iter)
This returns all channels for this network. The iterator is ignored and all channels are returned in one fell swoop

Specified by:
retrieve_all_channels in interface NetworkAccess
Specified by:
retrieve_all_channels in class ConcreteNetworkAccessPOA

getAllChannels

public Channel[] getAllChannels()
                         throws java.sql.SQLException,
                                edu.sc.seis.fissuresUtil.database.NotFound
Gets all the channels for the network id of this network access in the db

Throws:
edu.sc.seis.fissuresUtil.database.NotFound
java.sql.SQLException

getIds

public static ChannelId[] getIds(Channel[] chans)

get_audit_trail_for_channel

public AuditElement[] get_audit_trail_for_channel(ChannelId id)
                                           throws ChannelNotFound,
                                                  NotImplemented
Specified by:
get_audit_trail_for_channel in interface NetworkAccess
Specified by:
get_audit_trail_for_channel in class ConcreteNetworkAccessPOA
Throws:
ChannelNotFound
NotImplemented

a_writeable

public ConcreteNetwork a_writeable()
Specified by:
a_writeable in interface ConcreteNetworkAccessOperations
Specified by:
a_writeable in class ConcreteNetworkAccessPOA

get_audit_trail_for_station

public AuditElement[] get_audit_trail_for_station(StationId id)
                                           throws StationNotFound,
                                                  NotImplemented
Specified by:
get_audit_trail_for_station in interface ConcreteNetworkAccessOperations
Specified by:
get_audit_trail_for_station in class ConcreteNetworkAccessPOA
Throws:
StationNotFound
NotImplemented

get_audit_trail_for_site

public AuditElement[] get_audit_trail_for_site(SiteId id)
                                        throws SiteNotFound,
                                               NotImplemented
Specified by:
get_audit_trail_for_site in interface ConcreteNetworkAccessOperations
Specified by:
get_audit_trail_for_site in class ConcreteNetworkAccessPOA
Throws:
SiteNotFound
NotImplemented

get_audit_trail

public AuditElement[] get_audit_trail()
                               throws NotImplemented
Specified by:
get_audit_trail in interface AuditSystemAccess
Specified by:
get_audit_trail in class ConcreteNetworkAccessPOA
Throws:
NotImplemented


Copyright © 2004-2007 Seismology at the University of South Carolina. All Rights Reserved.