Package org.alfresco.repo.events
Interface EventsService
- All Known Implementing Classes:
EventsServiceImpl
public interface EventsService
Event generation service.
- Author:
- steveglover
-
Method Summary
Modifier and TypeMethodDescriptionvoidauthorityAddedToGroup(String parentGroup, String childAuthority) Generate an authority added to a groupvoidauthorityRemovedFromGroup(String parentGroup, String childAuthority) Generate an authority removed from group eventvoidcontentGet(NodeRef nodeRef) Generate a node content get/read event.voidcontentWrite(NodeRef nodeRef, QName propertyQName, ContentData value) Generate a node write/update event.voidfileClassified(NodeRef nodeRef) Generate an event when a file is classifiedvoidfileUnclassified(NodeRef nodeRef) Generate an event when a file is unclassifiedvoidgrantLocalPermission(NodeRef nodeRef, String authority, String permission) Generate a grant local permission eventvoidgroupDeleted(String groupName, boolean cascade) Generate a group deleted eventvoidinheritPermissionsDisabled(NodeRef nodeRef, boolean async) Generate an inherit permissions disabled eventvoidinheritPermissionsEnabled(NodeRef nodeRef) Generate an inherit permissions enabled eventvoidnodeCheckedIn(NodeRef nodeRef) voidnodeCheckedOut(NodeRef workingCopyNodeRef) voidnodeCheckOutCancelled(NodeRef nodeRef) voidnodeCommented(NodeRef nodeRef, String comment) Generate a node commented event.voidnodeCreated(NodeRef nodeRef) Generate a node created event.voidnodeDeleted(NodeRef nodeRef) Generate a node deleted event.voidnodeFavourited(NodeRef nodeRef) Generate a node favourited event.voidGenerate a node liked event.voidnodeLocked(NodeRef nodeRef) Generate an event when a node is lockedvoidnodeMoved(ChildAssociationRef oldChildAssocRef, ChildAssociationRef newChildAssocRef) Generate a node moved event.voidnodeRenamed(NodeRef nodeRef, String oldName, String newName) Generate a node renamed event.voidnodeTagged(NodeRef nodeRef, String tag) Generate a node tag added event.voidnodeTagRemoved(NodeRef nodeRef, String tag) Generate a node tag removed event.voidnodeUnFavourited(NodeRef nodeRef) Generate a node un-favourited event.voidnodeUnLiked(NodeRef nodeRef) Generate a node unliked event.voidnodeUnlocked(NodeRef nodeRef) Generate an event when a node is unlockedvoidnodeUpdated(NodeRef nodeRef, Map<String, org.alfresco.sync.events.types.Property> propertiesAdded, Set<String> propertiesRemoved, Map<String, org.alfresco.sync.events.types.Property> propertiesChanged, Set<String> aspectsAdded, Set<String> aspectsRemoved) Generate a node updated event (property and aspect changes).voidrecordCreated(NodeRef nodeRef) Generate an event when a record is createdvoidrecordRejected(NodeRef nodeRef) Generate an event when a record is rejectedvoidrevokeLocalPermissions(NodeRef nodeRef, String authority, String permission) Generate a revoke local permission eventvoidsecondaryAssociationCreated(ChildAssociationRef secAssociation) Generated a node created event for a secondary childvoidsecondaryAssociationDeleted(ChildAssociationRef secAssociation) Generate a delete event for a secondary child
-
Method Details
-
nodeMoved
Generate a node moved event.- Parameters:
oldChildAssocRef-newChildAssocRef-
-
nodeRenamed
Generate a node renamed event. -
nodeCreated
Generate a node created event.- Parameters:
nodeRef-
-
nodeDeleted
Generate a node deleted event.- Parameters:
nodeRef-
-
nodeUpdated
void nodeUpdated(NodeRef nodeRef, Map<String, org.alfresco.sync.events.types.Property> propertiesAdded, Set<String> propertiesRemoved, Map<String, org.alfresco.sync.events.types.Property> propertiesChanged, Set<String> aspectsAdded, Set<String> aspectsRemoved) Generate a node updated event (property and aspect changes).- Parameters:
nodeRef-propertiesAdded-propertiesRemoved-propertiesChanged-aspectsAdded-aspectsRemoved-
-
nodeTagged
Generate a node tag added event.- Parameters:
nodeRef-tag-
-
nodeTagRemoved
Generate a node tag removed event.- Parameters:
nodeRef-
-
nodeLiked
Generate a node liked event.- Parameters:
nodeRef-
-
nodeUnLiked
Generate a node unliked event.- Parameters:
nodeRef-
-
nodeFavourited
Generate a node favourited event.- Parameters:
nodeRef-
-
nodeUnFavourited
Generate a node un-favourited event.- Parameters:
nodeRef-
-
nodeCommented
Generate a node commented event.- Parameters:
nodeRef-
-
contentGet
Generate a node content get/read event.- Parameters:
nodeRef-
-
contentWrite
Generate a node write/update event.- Parameters:
nodeRef-
-
nodeCheckedOut
-
nodeCheckOutCancelled
-
nodeCheckedIn
-
authorityRemovedFromGroup
Generate an authority removed from group event- Parameters:
parentGroup- the group the authority is removed fromchildAuthority- the authority which leaves a certain group
-
authorityAddedToGroup
Generate an authority added to a group- Parameters:
parentGroup- the group the authority is added tochildAuthority- the authority which is added to the group
-
inheritPermissionsEnabled
Generate an inherit permissions enabled event- Parameters:
nodeRef- the node which has the permission inheritance enabled
-
inheritPermissionsDisabled
Generate an inherit permissions disabled event- Parameters:
nodeRef- the node which has the permission inheritance disabledasync- whether the disabling is done asynchronously or not
-
revokeLocalPermissions
Generate a revoke local permission event- Parameters:
nodeRef- the node on which certain local permissions are revokedauthority- the authority which has the permissions revokedpermission- the permissions which are revoked
-
grantLocalPermission
Generate a grant local permission event- Parameters:
nodeRef- the node to which certain local permissions are grantedauthority- the authority which has the permissions grantedpermission- the permissions which are granted
-
groupDeleted
Generate a group deleted event- Parameters:
groupName- the group being deletedcascade- whether it's a cascading delete or not
-
secondaryAssociationCreated
Generated a node created event for a secondary child- Parameters:
secAssociation- the child association being created
-
secondaryAssociationDeleted
Generate a delete event for a secondary child- Parameters:
secAssociation- the child association being deleted
-
fileUnclassified
Generate an event when a file is unclassified- Parameters:
nodeRef- the node from which the security mark is removed
-
fileClassified
Generate an event when a file is classified- Parameters:
nodeRef- the node on which a security mark is applied
-
recordRejected
Generate an event when a record is rejected- Parameters:
nodeRef- the node which becomes a regular file again after the record is rejected
-
recordCreated
Generate an event when a record is created- Parameters:
nodeRef- the node being declared as a record
-
nodeLocked
Generate an event when a node is locked- Parameters:
nodeRef-
-
nodeUnlocked
Generate an event when a node is unlocked- Parameters:
nodeRef-
-