mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/comms/CommsMgrImpl.java
private void addAllLayersHelper(final CommType type, final List<FactoryObjectInfo> infoList, final int systemId)
    {
        for (FactoryObjectInfo info: infoList)
        {
            final UUID uuid = SharedMessageUtils.convertProtoUUIDtoUUID(info.getUuid());
            
            if (type.equals(CommType.TransportLayer))
            {
                processNewTransportLayer(systemId, uuid, info.getPid(), info.getProductType());
            }
            else if (type.equals(CommType.Linklayer))
            {
                processNewLinkLayer(systemId, uuid, info.getPid(), info.getProductType());
            }
            else if (type.equals(CommType.PhysicalLink))
            {
                processNewPhysicalLink(systemId, uuid, info.getPid(), info.getProductType());
            }
        }        
    }
/**
     * Helper method which adds new layers to the layer map corresponding to the given type 
     * using the data contained in the given FactoryObjectInfo list.
     * @param type
     *      layer type to which the info list corresponds
     * @param infoList
     *      list of information needed to create a new layer object
     * @param systemId
     *      ID of the controller to which the layers belong. 
     */
Helper method which adds new layers to the layer map corresponding to the given type
using the data contained in the given FactoryObjectInfo list.
@param type
layer type to which the info list corresponds
@param infoList
list of information needed to create a new layer object
@param systemId
ID of the controller to which the layers belong.
Helper method which adds new layers to the layer map corresponding to the given type using the data contained in the given FactoryObjectInfo list . @param type layer type to which the info list corresponds @param infoList list of information needed to create a new layer object @param systemId ID of the controller to which the layers belong .
private void addAllLayersHelper(final CommType type, final List<FactoryObjectInfo> infoList, final int systemId)
    {
        for (FactoryObjectInfo info: infoList)
        {
            final UUID uuid = SharedMessageUtils.convertProtoUUIDtoUUID(info.getUuid());
            if (type.equals(CommType.TransportLayer))
            {
                processNewTransportLayer(systemId, uuid, info.getPid(), info.getProductType());
            }
            else if (type.equals(CommType.Linklayer))
            {
                processNewLinkLayer(systemId, uuid, info.getPid(), info.getProductType());
            }
            else if (type.equals(CommType.PhysicalLink))
            {
                processNewPhysicalLink(systemId, uuid, info.getPid(), info.getProductType());
            }
        }        
    }
private void addAllLayersHelper ( final CommType type , final List < FactoryObjectInfo > infoList , final int systemId ) { for ( FactoryObjectInfo info : infoList ) { final UUID uuid = SharedMessageUtils . convertProtoUUIDtoUUID ( info . getUuid ( ) ) ; if ( type . equals ( CommType . TransportLayer ) ) { processNewTransportLayer ( systemId , uuid , info . getPid ( ) , info . getProductType ( ) ) ; } else if ( type . equals ( CommType . Linklayer ) ) { processNewLinkLayer ( systemId , uuid , info . getPid ( ) , info . getProductType ( ) ) ; } else if ( type . equals ( CommType . PhysicalLink ) ) { processNewPhysicalLink ( systemId , uuid , info . getPid ( ) , info . getProductType ( ) ) ; } } }
Helper method which adds new layers to the layer map corresponding to the given type
 using the data contained in the given FactoryObjectInfo list.
Helper method which adds new layers to the layer map corresponding to the given type using the data contained in the given FactoryObjectInfo list .