Package org.alfresco.repo.events
Interface EventsService
-
- All Known Implementing Classes:
EventsServiceImpl
public interface EventsServiceEvent generation service.- Author:
- steveglover
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidauthorityAddedToGroup(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.voidnodeLiked(NodeRef nodeRef)Generate 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 Detail
-
nodeMoved
void nodeMoved(ChildAssociationRef oldChildAssocRef, ChildAssociationRef newChildAssocRef)
Generate a node moved event.- Parameters:
oldChildAssocRef-newChildAssocRef-
-
nodeRenamed
void nodeRenamed(NodeRef nodeRef, String oldName, String newName)
Generate a node renamed event.
-
nodeCreated
void nodeCreated(NodeRef nodeRef)
Generate a node created event.- Parameters:
nodeRef-
-
nodeDeleted
void nodeDeleted(NodeRef nodeRef)
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
void nodeTagged(NodeRef nodeRef, String tag)
Generate a node tag added event.- Parameters:
nodeRef-tag-
-
nodeTagRemoved
void nodeTagRemoved(NodeRef nodeRef, String tag)
Generate a node tag removed event.- Parameters:
nodeRef-
-
nodeLiked
void nodeLiked(NodeRef nodeRef)
Generate a node liked event.- Parameters:
nodeRef-
-
nodeUnLiked
void nodeUnLiked(NodeRef nodeRef)
Generate a node unliked event.- Parameters:
nodeRef-
-
nodeFavourited
void nodeFavourited(NodeRef nodeRef)
Generate a node favourited event.- Parameters:
nodeRef-
-
nodeUnFavourited
void nodeUnFavourited(NodeRef nodeRef)
Generate a node un-favourited event.- Parameters:
nodeRef-
-
nodeCommented
void nodeCommented(NodeRef nodeRef, String comment)
Generate a node commented event.- Parameters:
nodeRef-
-
contentGet
void contentGet(NodeRef nodeRef)
Generate a node content get/read event.- Parameters:
nodeRef-
-
contentWrite
void contentWrite(NodeRef nodeRef, QName propertyQName, ContentData value)
Generate a node write/update event.- Parameters:
nodeRef-
-
nodeCheckedOut
void nodeCheckedOut(NodeRef workingCopyNodeRef)
-
nodeCheckOutCancelled
void nodeCheckOutCancelled(NodeRef nodeRef)
-
nodeCheckedIn
void nodeCheckedIn(NodeRef nodeRef)
-
authorityRemovedFromGroup
void authorityRemovedFromGroup(String parentGroup, String childAuthority)
Generate an authority removed from group event- Parameters:
parentGroup- the group the authority is removed fromchildAuthority- the authority which leaves a certain group
-
authorityAddedToGroup
void authorityAddedToGroup(String parentGroup, String childAuthority)
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
void inheritPermissionsEnabled(NodeRef nodeRef)
Generate an inherit permissions enabled event- Parameters:
nodeRef- the node which has the permission inheritance enabled
-
inheritPermissionsDisabled
void inheritPermissionsDisabled(NodeRef nodeRef, boolean async)
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
void revokeLocalPermissions(NodeRef nodeRef, String authority, String permission)
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
void grantLocalPermission(NodeRef nodeRef, String authority, String permission)
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
void groupDeleted(String groupName, boolean cascade)
Generate a group deleted event- Parameters:
groupName- the group being deletedcascade- whether it's a cascading delete or not
-
secondaryAssociationCreated
void secondaryAssociationCreated(ChildAssociationRef secAssociation)
Generated a node created event for a secondary child- Parameters:
secAssociation- the child association being created
-
secondaryAssociationDeleted
void secondaryAssociationDeleted(ChildAssociationRef secAssociation)
Generate a delete event for a secondary child- Parameters:
secAssociation- the child association being deleted
-
fileUnclassified
void fileUnclassified(NodeRef nodeRef)
Generate an event when a file is unclassified- Parameters:
nodeRef- the node from which the security mark is removed
-
fileClassified
void fileClassified(NodeRef nodeRef)
Generate an event when a file is classified- Parameters:
nodeRef- the node on which a security mark is applied
-
recordRejected
void recordRejected(NodeRef nodeRef)
Generate an event when a record is rejected- Parameters:
nodeRef- the node which becomes a regular file again after the record is rejected
-
recordCreated
void recordCreated(NodeRef nodeRef)
Generate an event when a record is created- Parameters:
nodeRef- the node being declared as a record
-
nodeLocked
void nodeLocked(NodeRef nodeRef)
Generate an event when a node is locked- Parameters:
nodeRef-
-
nodeUnlocked
void nodeUnlocked(NodeRef nodeRef)
Generate an event when a node is unlocked- Parameters:
nodeRef-
-
-