Package org.silverpeas.components.websites

# Class WebSitesInstancePreDestruction

java.lang.Object
org.silverpeas.components.websites.WebSitesInstancePreDestruction

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

Direct Known Subclasses:
  `BookmarkInstancePreDestruction`

@Technical @Bean @Named public class WebSitesInstancePreDestruction extends Object implements org.silverpeas.core.admin.component.ComponentInstancePreDestruction
Deletes all the websites managed by the WebSites instance that is being deleted.

Author:
  mmoquillon

- ## Field Summary

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

  `NAME_SUFFIX, WORKFLOW_PRE_DESTRUCTION`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WebSitesInstancePreDestruction()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `preDestroy(String componentInstanceId)`
  Performs pre destruction tasks in the behalf of the specified component instance.

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

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

- ## Constructor Details

  - ### WebSitesInstancePreDestruction

    public WebSitesInstancePreDestruction()

- ## 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.