public class LoadDeviceState extends Object
Modifier and Type | Field and Description |
---|---|
protected PortalContext |
mContext |
protected LoaderOptions |
mOptions |
Constructor and Description |
---|
LoadDeviceState(LoaderOptions options)
Constructor takes the Loader options object as the param.
|
Modifier and Type | Method and Description |
---|---|
com.portal.common.FileParser |
createParser(LoaderOptions options)
This implements the createParser method of FileParser
createParser returns the DeviceStateConfigParser object
|
String |
getStorableObject(LoaderOptions options)
getStorableObject returns the name of the storable object.
|
static void |
main(String[] args) |
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
|
protected void |
updateParseFlist(FList parseFlist,
FList resultFlist)
Optionally override this method to update the parse Flist for your
particular loader application.
|
protected LoaderOptions mOptions
protected PortalContext mContext
public LoadDeviceState(LoaderOptions options)
options
- the LoaderOptions object that contains info about the
command line argspublic com.portal.common.FileParser createParser(LoaderOptions options)
options
- the LoaderOptions object that contains info about the
command line argspublic String getStorableObject(LoaderOptions options)
options
- the LoaderOptions object that contains info about the
command line argspublic static void main(String[] args)
public void processConfig(LoadPinConfigParams configParams)
configParams
- Object contains the params used, most
commonly contains the objectName, Opcode to be used for insertion
and opcode to be used for deletionprotected void updateParseFlist(FList parseFlist, FList resultFlist) throws EBufException
parseFlist
- the parseFList that is returned from the parserresultFlist
- the resultFlist contains the results of the database searchEBufException
Copyright © 2003, 2023, Oracle and/or its affiliates.