@StableMinor(version="12.4", sinceVersion="4.2") public abstract class AbstractPortalEvent extends Object implements IPortalEvent
IPortalEvent
.
It is recommended to extend this class instead of implementing
the interface directly.
This implementation initializes getOperationType()
as
PortalEventOperationType.UNDEFINED
and
getEventGroups()
as and empty set. Subclasses may call the set
methods (preferably inside the constructor) or override the get methods
to change these default values.
Constructor and Description |
---|
AbstractPortalEvent() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getEventGroups()
Returns the event group identifiers for which this event was raised.
|
PortalEventOperationType |
getOperationType()
Returns the type of operation that generated this event.
|
protected void |
setEventGroups(Set<String> eventGroups)
Sets the groups for this event.
|
protected void |
setOperationType(PortalEventOperationType operationType)
Sets the type of operation that generated this event.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public Set<String> getEventGroups()
IPortalEvent
getEventGroups
in interface IPortalEvent
null
, but
may return an empty set to indicate that this event does not belong
to any group.protected void setEventGroups(Set<String> eventGroups)
eventGroups
- the groups to set.public PortalEventOperationType getOperationType()
IPortalEvent
getOperationType
in interface IPortalEvent
protected void setOperationType(PortalEventOperationType operationType)
operationType
- the operation type value to set.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.