Expanded DataManagerEvent
API
Overall hierarchy:
public interface DataManagerEvent [extends EntityValue]
public interface KernelEvent
public interface EntityEvent
public interface ValueEvent
public class GetValueEvent
public class SetValueEvent
public interface LinkEvent
public class AttachLinkEvent
public class DetachLinkEvent
CreateEntityEvent
public interface PoolEvent
public class AddEntityEvent
public class RemoveEntityEvent
public class SearchEvent
SubscribeEvent
UnsubscribeEvent
public interface InterfaceEvent
BeginSessionInterfaceEvent
EndSessionInterfaceEvent
EntityCreatedInterfaceEvent
EntitySelectedInterfaceEvent
EntityOpenedInterfaceEvent
EntityClosedInterfaceEvent
EntityAttachedInterfaceEvent
EntityDetachedInterfaceEvent
EntityMovedInterfaceEvent
EntityModifiedInterfaceEvent
public interface CollectorEvent
NetworkDownCollectorEvent
FileSystemDownCollectorEvent
URLFetchedCollectorEvent
MailFetchedCollectorEvent
NewsFetchedCollectorEvent
FileFetchedCollectorEvent
public interface ModelEvent
DataModelEvent
UserModelEvent
DataManagerEvent
API
-
[package: org.datamanager.event]
public interface DataManagerEvent
-
public abstract EventGenerator getSource()
Report the object generating the event
-
public abstract long getTime()
Report the time the event occurred (in milliseconds)
-
public abstract String toString()
Report a String
representation of the event
KernelEvent
API
-
[package: org.datamanager.event]
public interface KernelEvent
EntityEvent
API
-
[package: org.datamanager.event]
public interface EntityEvent
ValueEvent
API
-
[package: org.datamanager.event]
public interface ValueEvent
GetValueEvent
API
-
[package: org.datamanager.event]
public class GetValueEvent
This event fires when Entity.getValue()
is invoked
SetValueEvent
API:
-
[package: org.datamanager.event]
public class SetValueEvent
This event fires when Entity.setValue()
is invoked and both the new and old values of
the entity are EntityValues
-
public EntityValue getOldEntityValue()
Report the overwritten entity value
-
public EntityValue getNewEntityValue()
Report the new entity value
LinkEvent
API:
-
[package: org.datamanager.event]
public interface LinkEvent
AttachLinkEvent
API:
-
[package: org.datamanager.event]
public class AttachLinkEvent
This event fires when Entity.attach()
is invoked
-
public Entity getAttachedEntity()
Report the entity that was attached
DetachLinkEvent
API:
-
[package: org.datamanager.event]
public class DetachLinkEvent
This event fires when Entity.detach()
is invoked
-
public Entity getDetachedEntity()
Report the entity that was detached
CreateEntityEvent
API:
-
[package: org.datamanager.event]
public class CreateEntityEvent
This event fires when Entity.create()
is invoked
-
public Entity getCreatedEntity()
Report the entity that was created
PoolEvent
API:
-
[package: org.datamanager.event]
public interface PoolEvent
AddEntityEvent
API:
-
[package: org.datamanager.event]
public class AddEntityEvent
This event fires when Pool.add()
is invoked
-
public Entity getAddedEntity()
Report the new Entity that has been added to the Pool
RemoveEntityEvent
API:
-
[package: org.datamanager.event]
public class RemoveEntityEvent
This event fires when Pool.remove()
is invoked
-
public Entity getRemovedEntity()
Report the Entity that is being removed from the Pool
SearchEvent
API:
-
[package: org.datamanager.event]
public class SearchEvent
This event fires when Pool.search()
is invoked
-
public Constraint getConstraint()
Report the constraint that is being used in the search
SubscribeEvent
API:
-
[package: org.datamanager.event]
public class SubscribeEvent
This event fires when EventGenerator.subscribe()
is invoked
-
public EventHandler getEventHandler()
Report the EventHandler that is being subscribed
-
public Constraint getConstraint()
Report the constraint with which the
EventHandler is being subscribed
UnsubscribeEvent
API:
-
[package: org.datamanager.event]
public class UnsubscribeEvent
This event fires when EventGenerator.unsubscribe()
is invoked
-
public EventHandler getEventHandler()
Report the EventHandler that is being unsubscribed
-
public Constraint getConstraint()
Report the constraint for which the
EventHandler is being unsubscribed