|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An OperatorEvent
is generated when an operator signs on or off a POS terminal.
The OperatorEvent
object contains details about the operator and the authorization
levels for the operator.
Field Summary | |
---|---|
static java.lang.String |
LOCK_ACTION
Lock action identifier |
static java.lang.String |
SIGNOFF_ACTION
Signoff action identifier |
static java.lang.String |
SIGNON_ACTION
Signon action identifier |
static java.lang.String |
UNLOCK_ACTION
Unlock action identifier |
Method Summary | |
---|---|
java.lang.String |
getID()
Get the operator logon ID. |
java.lang.String |
getName()
Get the operator name. |
com.ibm.retail.AEF.automation.OperatorAuthorization |
getOperatorAuthorization()
Returns information describing the functions authorized for this operator. |
boolean |
isAuthorized(java.lang.String authProperty)
Indicates whether the operator is authorized for a specified operation (e.g., "NO_SALE_ALLOWED"). |
Methods inherited from interface com.ibm.retail.AEF.event.POSAppEvent |
---|
getEventType, getPropertyChangeCategory, getTerminalNumber, setEventType, setTerminalNumber |
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 |
Field Detail |
public static final java.lang.String SIGNON_ACTION
public static final java.lang.String SIGNOFF_ACTION
public static final java.lang.String LOCK_ACTION
public static final java.lang.String UNLOCK_ACTION
Method Detail |
public java.lang.String getName()
public java.lang.String getID()
public com.ibm.retail.AEF.automation.OperatorAuthorization getOperatorAuthorization()
OperatorAuthorization
object containing authorization data.public boolean isAuthorized(java.lang.String authProperty) throws AEFException
Authorizations are POS application specific, and therefore this method provides for a generic
means of checking an authorization based on a property name supplied by the application.
A list of property name identifiers is provided in
OperatorAuthorizationProperties
.
An exception is thrown if isAuthorized
is called and
the property is undefined by the operator event.
authProperty
- property name
AEFException
- Among the possible AEFException error codes are:
OperatorAuthorizationProperties
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |