Class EventsServiceImpl

    • Field Detail

      • PROP_RMA_RECORD_ORIGINATING_LOCATION

        public static QName PROP_RMA_RECORD_ORIGINATING_LOCATION
    • Constructor Detail

      • EventsServiceImpl

        public EventsServiceImpl()
    • Method Detail

      • nodeUpdated

        public 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)
        Description copied from interface: EventsService
        Generate a node updated event (property and aspect changes).
        Specified by:
        nodeUpdated in interface EventsService
      • authorityRemovedFromGroup

        public void authorityRemovedFromGroup​(String parentGroup,
                                              String childAuthority)
        Description copied from interface: EventsService
        Generate an authority removed from group event
        Specified by:
        authorityRemovedFromGroup in interface EventsService
        Parameters:
        parentGroup - the group the authority is removed from
        childAuthority - the authority which leaves a certain group
      • authorityAddedToGroup

        public void authorityAddedToGroup​(String parentGroup,
                                          String childAuthority)
        Description copied from interface: EventsService
        Generate an authority added to a group
        Specified by:
        authorityAddedToGroup in interface EventsService
        Parameters:
        parentGroup - the group the authority is added to
        childAuthority - the authority which is added to the group
      • groupDeleted

        public void groupDeleted​(String groupName,
                                 boolean cascade)
        Description copied from interface: EventsService
        Generate a group deleted event
        Specified by:
        groupDeleted in interface EventsService
        Parameters:
        groupName - the group being deleted
        cascade - whether it's a cascading delete or not
      • inheritPermissionsEnabled

        public void inheritPermissionsEnabled​(NodeRef nodeRef)
        Description copied from interface: EventsService
        Generate an inherit permissions enabled event
        Specified by:
        inheritPermissionsEnabled in interface EventsService
        Parameters:
        nodeRef - the node which has the permission inheritance enabled
      • inheritPermissionsDisabled

        public void inheritPermissionsDisabled​(NodeRef nodeRef,
                                               boolean async)
        Description copied from interface: EventsService
        Generate an inherit permissions disabled event
        Specified by:
        inheritPermissionsDisabled in interface EventsService
        Parameters:
        nodeRef - the node which has the permission inheritance disabled
        async - whether the disabling is done asynchronously or not
      • revokeLocalPermissions

        public void revokeLocalPermissions​(NodeRef nodeRef,
                                           String authority,
                                           String permission)
        Description copied from interface: EventsService
        Generate a revoke local permission event
        Specified by:
        revokeLocalPermissions in interface EventsService
        Parameters:
        nodeRef - the node on which certain local permissions are revoked
        authority - the authority which has the permissions revoked
        permission - the permissions which are revoked
      • grantLocalPermission

        public void grantLocalPermission​(NodeRef nodeRef,
                                         String authority,
                                         String permission)
        Description copied from interface: EventsService
        Generate a grant local permission event
        Specified by:
        grantLocalPermission in interface EventsService
        Parameters:
        nodeRef - the node to which certain local permissions are granted
        authority - the authority which has the permissions granted
        permission - the permissions which are granted
      • fileUnclassified

        public void fileUnclassified​(NodeRef nodeRef)
        Description copied from interface: EventsService
        Generate an event when a file is unclassified
        Specified by:
        fileUnclassified in interface EventsService
        Parameters:
        nodeRef - the node from which the security mark is removed
      • fileClassified

        public void fileClassified​(NodeRef nodeRef)
        Description copied from interface: EventsService
        Generate an event when a file is classified
        Specified by:
        fileClassified in interface EventsService
        Parameters:
        nodeRef - the node on which a security mark is applied
      • recordRejected

        public void recordRejected​(NodeRef nodeRef)
        Description copied from interface: EventsService
        Generate an event when a record is rejected
        Specified by:
        recordRejected in interface EventsService
        Parameters:
        nodeRef - the node which becomes a regular file again after the record is rejected
      • recordCreated

        public void recordCreated​(NodeRef nodeRef)
        Description copied from interface: EventsService
        Generate an event when a record is created
        Specified by:
        recordCreated in interface EventsService
        Parameters:
        nodeRef - the node being declared as a record