Interface ComponentInstanceDeletion
-
- All Known Implementing Classes:
DefaultCalendarService
,DefaultCommentService
,DefaultContactService
,DefaultCoordinatesService
,DefaultMyLinksService
,DefaultNodeService
,DefaultNotificationManager
,DefaultPdcClassificationService
,DefaultPdcClassifyManager
,DefaultPdcUtilizationService
,DefaultPublicationService
,DefaultQuestionContainerService
,DefaultRatingService
,DefaultStatisticService
,DefaultTagCloudService
,JpaSharingTicketService
,PublicationTemplateManager
,SimpleDocumentService
,SimpleSubscriptionService
,TagCloudPublicationService
,ThumbnailController
,WebConnectionService
public interface ComponentInstanceDeletion
It is a process implied within the deletion of a component instance. Usually such process is about the deletion of some transverses resources that are used by the component instance being deleted. To perform some treatments related specifically to the component instance that is being deleted, the implementation of theorg.silverpeas.core.admin.component.ComponentInstancePreDestruction
instance is preferred.Each implementation of this interface is invoked by the generic instance deletion process to perform their specific task. Usually, this interface should be implemented by each transverse services in Silverpeas Core.
In each component instance, whatever it is, different kind of transverses resources can be created and managed. When such an instance is then deleted in Silverpeas, it is necessary to clean up also those resources. Nevertheless, both the generic instance deletion process and the component instance itself aren't usually aware of them. It is then the responsibility of the services behind the different kinds of resources to take in charge the freed of the resources related to the component instance being deleted. For doing, they have to implement this interface.
- Author:
- mmoquillon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(String componentInstanceId)
Deletes the resources belonging to the specified component instance.
-
-
-
Method Detail
-
delete
void delete(String componentInstanceId)
Deletes the resources belonging to the specified component instance. This method is invoked by Silverpeas when a component instance is being deleted.- Parameters:
componentInstanceId
- the unique identifier of a component instance.
-
-