Interface KmeliaDeleter

  • All Known Implementing Classes:
    DefaultKmeliaService

    public interface KmeliaDeleter
    Deleter of contributions managed in a Kmelia application.
    Author:
    mmoquillon
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deletePublication​(org.silverpeas.core.contribution.publication.model.PublicationPK pubPK)
      Deletes definitively the specified publication.
      void deleteTopic​(org.silverpeas.core.node.model.NodePK pkToDelete)
      Deletes definitively the specified topic and all descendants.
    • Method Detail

      • deleteTopic

        void deleteTopic​(org.silverpeas.core.node.model.NodePK pkToDelete)
        Deletes definitively the specified topic and all descendants. Delete all links between descendants and publications. Its publications will deleted. Delete All subscriptions and favorites on its topics and all descendants
        Parameters:
        pkToDelete - the id of the topic to delete
      • deletePublication

        void deletePublication​(org.silverpeas.core.contribution.publication.model.PublicationPK pubPK)
        Deletes definitively the specified publication.
        Parameters:
        pubPK - the unique identifier of the publication to delete.