Class QuestionReplyInstancePreDestruction

java.lang.Object
org.silverpeas.components.questionreply.QuestionReplyInstancePreDestruction
All Implemented Interfaces:
org.silverpeas.core.admin.component.ComponentInstancePreDestruction

@Technical @Bean @Named public class QuestionReplyInstancePreDestruction extends Object implements org.silverpeas.core.admin.component.ComponentInstancePreDestruction
Deletes all the questions and their answers that are managed by the QuestionReply instance that is being deleted.
Author:
mmoquillon
  • Constructor Details

    • QuestionReplyInstancePreDestruction

      public QuestionReplyInstancePreDestruction()
  • Method Details

    • preDestroy

      public void preDestroy(String componentInstanceId)
      Performs pre destruction tasks in the behalf of the specified component instance.
      Specified by:
      preDestroy in interface org.silverpeas.core.admin.component.ComponentInstancePreDestruction
      Parameters:
      componentInstanceId - the unique identifier of the component instance.