Package com.portal.common
Class LoadDevicePermitMap
java.lang.Object
com.portal.common.LoadDevicePermitMap
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoadDevicePermitMap
(LoaderOptions loader) Constructor takes the Loader options object as the param. -
Method Summary
Modifier and TypeMethodDescriptioncom.portal.common.FileParser
createParser
(LoaderOptions options) createParser returns the DeviceStateConfigParser object which implements the FileParserstatic void
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 Flistvoid
updateParseFlist
(FList parseFlist, FList resultFlist) updateParseFlist modifies the parseFlist produced by the parser.
-
Field Details
-
mOptions
-
mContext
-
-
Constructor Details
-
LoadDevicePermitMap
Constructor takes the Loader options object as the param.- Parameters:
options
- LoaderOptions object that contains info about the command line args
-
-
Method Details
-
createParser
createParser returns the DeviceStateConfigParser object which implements the FileParser- Parameters:
options
- LoaderOptions object that contains info about the command line args
-
updateParseFlist
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
-
processConfig
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
-