Package org.silverpeas.components.classifieds

# Class ClassifiedsInstancePreDestruction

java.lang.Object
org.silverpeas.components.classifieds.ClassifiedsInstancePreDestruction

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

@Technical @Bean @Named public class ClassifiedsInstancePreDestruction extends Object implements org.silverpeas.core.admin.component.ComponentInstancePreDestruction
Deletes all the subscriptions and classifieds of the Classifieds 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
  `ClassifiedsInstancePreDestruction()`

- ## Method Summary

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

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

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

- ## Constructor Details

  - ### ClassifiedsInstancePreDestruction

    public ClassifiedsInstancePreDestruction()

- ## Method Details

  - ### preDestroy

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