Class ResourceNotifierHelper
java.lang.Object
org.ametys.plugins.workspaces.project.notification.ResourceNotifierHelper
- All Implemented Interfaces:
Initializable
,Component
,Serviceable
Notification helper for the Webdav actions
-
Field Summary
Modifier and TypeFieldDescriptionprotected CurrentUserProvider
The current user providerstatic final String
Avalon role. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
resourceRecentlyModified
(String resourceId) Notify the observation manager when a resource is updatedvoid
service
(ServiceManager manager)
-
Field Details
-
ROLE
Avalon role. -
_currentUserProvider
The current user provider
-
-
Constructor Details
-
ResourceNotifierHelper
public ResourceNotifierHelper()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
resourceRecentlyModified
Notify the observation manager when a resource is updated- Parameters:
resourceId
- The resource updated- Returns:
- True if the resource was recently modified
-