Package org.silverpeas.components.almanach

## Class AlmanachInstancePreDestruction

- java.lang.Object
- - org.silverpeas.components.almanach.AlmanachInstancePreDestruction

- All Implemented Interfaces:
    `org.silverpeas.core.admin.component.ComponentInstancePreDestruction`

      @Named
      public class AlmanachInstancePreDestruction
      extends Object
      implements org.silverpeas.core.admin.component.ComponentInstancePreDestruction

  Before being deleted, remove all events in an almanach instance.
  Author:
    mmoquillon

- - ### Field Summary

    - ### Fields inherited from interface org.silverpeas.core.admin.component.ComponentInstancePreDestruction

      `NAME_SUFFIX, WORKFLOW_PRE_DESTRUCTION`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AlmanachInstancePreDestruction()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `preDestroy​(String componentInstanceId)` | Performs pre destruction tasks in the behalf of the specified Almanach instance.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AlmanachInstancePreDestruction

          public AlmanachInstancePreDestruction()

  - ### Method Detail

    - #### preDestroy

          public void preDestroy​(String componentInstanceId)

      Performs pre destruction tasks in the behalf of the specified Almanach instance.
      Specified by:
        `preDestroy` in interface `org.silverpeas.core.admin.component.ComponentInstancePreDestruction`
      Parameters:
        `componentInstanceId` - the unique identifier of the Almanach instance.