Class LoadDevicePermitMap

java.lang.Object
com.portal.common.LoadDevicePermitMap

public class LoadDevicePermitMap extends Object
This class extends the LoadPinConfig class and provides a concrete implementation for the parser, it calls the base class's processConfig with the right object name and opcodes for delete and insert.
  • Field Details

  • Constructor Details

    • LoadDevicePermitMap

      public LoadDevicePermitMap(LoaderOptions loader)
      Constructor takes the Loader options object as the param.
      Parameters:
      options - LoaderOptions object that contains info about the command line args
  • Method Details

    • createParser

      public com.portal.common.FileParser createParser(LoaderOptions options)
      createParser returns the DeviceStateConfigParser object which implements the FileParser
      Parameters:
      options - LoaderOptions object that contains info about the command line args
    • updateParseFlist

      public void updateParseFlist(FList parseFlist, FList resultFlist) throws EBufException
      updateParseFlist modifies the parseFlist produced by the parser.
      Parameters:
      parseFlist - the parseFList that is returned from the parser.
      resultFlist - the resultFlist contains the results of the database search
      Throws:
      EBufException
    • main

      public static void main(String[] args)
    • processConfig

      public void processConfig(LoadPinConfigParams configParams)
      processConfig is the method invoked by the derived classes, this method connects to Portal and invokes the parser, gets an Flist and calls the updateInfranet method with the Flist
      Parameters:
      configParams - Object contains the params used, most commonly contains the objectName, Opcode to be used for insertion and opcode to be used for deletion