Package lumis.doui.source.event
Class SourceDeleteDataEvent
- java.lang.Object
-
- lumis.portal.event.AbstractPortalEvent
-
- lumis.portal.event.AbstractTransactionalPortalEvent
-
- lumis.doui.source.event.SourceDeleteDataEvent
-
- All Implemented Interfaces:
IPortalEvent
- Direct Known Subclasses:
SourcePostDeleteDataEvent
,SourcePreDeleteDataEvent
@StableMinor(version="15.0", sinceVersion="10.4") public abstract class SourceDeleteDataEvent extends AbstractTransactionalPortalEvent
Base event class for source's delete data operation.- Since:
- 10.4.0
- Version:
- $Revision: 25304 $ $Date: 2022-10-22 22:51:05 -0300 (Sat, 22 Oct 2022) $
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SourceDeleteDataEvent(Source<?> serviceSource, java.util.Collection<java.lang.String> itemIds)
Creates a new event for before delete of source data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
getDeletedItemIds()
Returns the item identifiers that will be deleted.Source<?>
getSource()
Returns the source that triggered this event.-
Methods inherited from class lumis.portal.event.AbstractTransactionalPortalEvent
getSessionConfig, getTransaction
-
Methods inherited from class lumis.portal.event.AbstractPortalEvent
getEventGroups, getOperationType, setEventGroups, setOperationType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.event.IPortalEvent
toString
-
-
-
-
Constructor Detail
-
SourceDeleteDataEvent
protected SourceDeleteDataEvent(Source<?> serviceSource, java.util.Collection<java.lang.String> itemIds)
Creates a new event for before delete of source data.- Parameters:
serviceSource
- the source. By definition, must be the source at service level to prevent inconsistency.itemIds
- the item identifiers being deleted.- Since:
- 10.4.0
-
-
Method Detail
-
getSource
public Source<?> getSource()
Returns the source that triggered this event.- Returns:
- the source.
- Since:
- 10.4.0
-
getDeletedItemIds
public java.util.Collection<java.lang.String> getDeletedItemIds()
Returns the item identifiers that will be deleted.- Returns:
- a immutable collection with the item identifiers.
- Since:
- 10.4.0
-
-