Class ProjectResourceApplicationEventHandler

    • Constructor Detail

      • ProjectResourceApplicationEventHandler

        public ProjectResourceApplicationEventHandler​(BackendViewPushContext viewPushContext,
                                                      Long projectId,
                                                      UUID viewId)
        Creates a new event handler.
        Parameters:
        viewPushContext - View push context for sending push messages to the form files view.
        projectId - ID of the project whose files are being edited.
        viewId - UUID of the project resource view that registered this handler.
    • Method Detail

      • onProjectResourceUpdates

        public void onProjectResourceUpdates​(ProjectResourceModifiedEvent event)
        When a project resource was added, updated, or deleted.
        Parameters:
        event - Entity event that occurred.