public class Control extends ERPInterfaceBogus implements IControl
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<BackendControl> |
ivControls
A supplied or WIP collection of backend controls.
|
protected char |
ivMode
The current mode being processed.
|
private static long |
serialVersionUID
The class' serialization version id.
|
ivConfig
ivHashCode, ivHashFlds, ivObjAttrs
ERROR_CONNECT, ERROR_NONE, ERROR_PROGRAM, WARN_DUPLICATE, WARN_NONE
Constructor and Description |
---|
Control()
Constructs a new ERP control file information interface.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
createControls()
Creates bogus controls for testing and adds each control to the collection
of controls.
|
java.util.ArrayList<BackendControl> |
getControls()
Retrieves a collection of backend control objects from the ERP system.
|
BackendJobDescription |
getJobDescription()
Retrieves a backend job description object from the ERP system.
|
boolean |
updateControls(java.util.ArrayList<BackendControl> controls)
Updates a collection of backend control objects on the ERP system.
|
equals, getContext, getErrorType, getQueueKey, getWarningType, setContext, setErrorType, setQueueKey, setWarningType
cloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArray
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getContext, getErrorType, getWarningType, setContext, setErrorType, setWarningType
private static final long serialVersionUID
protected java.util.ArrayList<BackendControl> ivControls
protected char ivMode
public Control()
public java.util.ArrayList<BackendControl> getControls()
getControls
in IControl
.getControls
in interface IControl
public BackendJobDescription getJobDescription()
getJobDescription
in IControl
.getJobDescription
in interface IControl
public boolean updateControls(java.util.ArrayList<BackendControl> controls)
updateControls
in IControl
.updateControls
in interface IControl
controls
- (ArrayList) The control objects to update.true
if updates are successful, otherwise
false
.protected boolean createControls()
true
if the creates are successful,
otherwise false
.