IEventHub

Provides events for the further processing of modifications in onion.net.

The onion.net Client API stands out for its event-controlled caching. Only current contents are cached. Only out-of-date content or content no longer required is removed from the cache.

So that this functionality can also be used by components, this interface offers various events for responding to modifications in the data, ChangeSet, schema and user management.

All events are generated after execution of the action. This means that the component is not given an event before execution and can decide in this event whether the action can be carried out or not.

Events

EventDescription
BinaryCreated(BinaryChangeEventHandler(sender:Object, e:BinaryChangedEventArgs):Void)

Is generated when a new binary object has been created.

BinaryDeleted(BinaryChangeEventHandler(sender:Object, e:BinaryChangedEventArgs):Void)

Is generated when a binary object has been deleted.

ChangeSetChanged(ChangeSetChangeEventHandler(sender:Object, e:ChangeSetChagneEventArgs):Void)

Is generated when changes have been made to a ChangeSet.

ChangeSetCommitted(ChangeSetChangeEventHandler(sender:Object, e:ChangeSetChagneEventArgs):Void)

Is generated when a ChangeSet has been published.

ChangeSetCreated(ChangeSetChangeEventHandler(sender:Object, e:ChangeSetChagneEventArgs):Void)

Is generated when a new ChangeSet has been created.

ChangeSetDiscarded(ChangeSetChangeEventHandler(sender:Object, e:ChangeSetChagneEventArgs):Void)

Is generated when a ChangeSet has been discarded.

DataObjectChildrenChanged(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated if the structure of the directly subordinate data objects has been changed.

DataObjectChildrenInitialVersionCheckedIn(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated when a data object has been returned for the first time.

DataObjectChildrenNamesChanged(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated if the name of a directly subordinate data object has changed.

DataObjectContentChanged(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated when the content (Xml) of a data object has been edited.

DataObjectCreated(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated when a new data object has been created.

DataObjectDeleted(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated when a data object has been deleted.

DataObjectMetaChanged(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated if the meta information of a data object has been changed.

DataObjectOrderChanged(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated if the sorting of the data object in the current level has been changed.

DataObjectReferencesChanged(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated if references for a data object have been created or resolved.

DataObjectRightsChanged(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated when permissions are added, edited or removed for a data object.

DataObjectStatusChanged(DataObjectChangeEventHandler(sender:Object, e:DataObjectChangedEventArgs):Void)

Is generated when the status of a data object has been changed.

GroupChanged(GroupChangeEventHandler(sender:Object, e:GroupChangedEventArgs):Void)

Is generated if the meta information of a group has been changed.

GroupCreated(GroupChangeEventHandler(sender:Object, e:GroupChangedEventArgs):Void)

Is generated when a new group has been created.

GroupDeleted(GroupChangeEventHandler(sender:Object, e:GroupChangedEventArgs):Void)

Is generated when a group has been deleted.

GroupIncludesChanged(GroupChangeEventHandler(sender:Object, e:GroupChangedEventArgs):Void)

Is generated if the Includes of a group have been changed.

GroupMembersChanged(GroupChangeEventHandler(sender:Object, e:GroupChangedEventArgs):Void)

Is generated when members have been added to a group or removed from it.

GroupRightsChanged(GroupChangeEventHandler(sender:Object, e:GroupChangedEventArgs):Void)

Is generated when permissions for a data object have been added, edited or removed in a group.

SchemaChildrenChanged(SchemaChangeEventHandler(sender:Object, e:SchemaChangedEventArgs):Void)

Is generated if the structure of the directly subordinate schemas has been changed.

SchemaContentChanged(SchemaChangeEventHandler(sender:Object, e:SchemaChangedEventArgs):Void)

Is generated when the content (XSD) of a schema has been changed.

SchemaCreated(SchemaChangeEventHandler(sender:Object, e:SchemaChangedEventArgs):Void)

Is generated when a new schema has been created.

SchemaDeleted(SchemaChangeEventHandler(sender:Object, e:SchemaChangedEventArgs):Void)

Is generated when a schema has been deleted.

SessionBroke(EventHandler)

Is generated if the Client API does not receive an answer from the onion.net Information Server.

UserChanged(UserChangeEventHandler(sender:Object, e:UserChangedEventArgs):Void)

Is generated when changes have been made to a user.

UserCreated(UserChangeEventHandler(sender:Object, e:UserChangedEventArgs):Void)

Is generated when a new user has been created.

UserDeleted(UserChangeEventHandler(sender:Object, e:UserChangedEventArgs):Void)

Is generated when a user has been deleted.

UserGroupsChanged(UserChangeEventHandler(sender:Object, e:UserChangedEventArgs):Void)

Is generated when the user has been added to a group or removed from it.

Methods

MethodDescription
AcquireIntermission():Void

Interrupts the event stream for the Client API.

ReleaseIntermission():Void

Resumes the activity for the event stream for the Client API.