com.ibm.retail.AEF.event
Interface TerminalOptions

All Superinterfaces:
POSAppEventElement, SAXElementHandler, java.io.Serializable

public interface TerminalOptions
extends POSAppEventElement

TerminalOptions is a simple data object to contain information about POS terminal options. Terminal options determine what POS functions are allowed at a specific POS terminal. TerminalOptions are accesible from the OptionsEvent.

See Also:
getTerminalOptions

Method Summary
 boolean isEnabled(java.lang.String propertyName)
          Is this terminal enabled for a specific function?
 
Methods inherited from interface com.ibm.retail.AEF.event.POSAppEventElement
getBooleanPropertyValue, getData, getIntegerPropertyValue, getProperty, getPropertyEntries, setData, setProperty, toString
 
Methods inherited from interface com.ibm.retail.AEF.xml.SAXElementHandler
endElement, startElement
 

Method Detail

isEnabled

public boolean isEnabled(java.lang.String propertyName)
                  throws AEFException
Is this terminal enabled for a specific function?

Since options are application specific, isEnabled provides a method to determine the value of an option based on the property name of the function. Property names are contained in the TerminalOptionsProperties interface.

Returns:
true if the function is enabled
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.NO_SUCH_PROPERTY
AEFConst.INVALID_PROPERTY_VALUE
See Also:
TerminalOptionsProperties


Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004