Class TrashBulkProcess

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class TrashBulkProcess extends BackgroundProcess
  • Constructor Details

    • TrashBulkProcess

      protected TrashBulkProcess()
      Since:
      jcms-10.0.8 JCMS-9179
  • Method Details

    • runProcess

      protected void runProcess() throws BackgroundProcessException
      Description copied from class: BackgroundProcess
      Override to implement the process.
      Specified by:
      runProcess in class BackgroundProcess
      Throws:
      BackgroundProcessException - if an error occurs
    • getLabelProp

      public String getLabelProp()
      Description copied from class: BackgroundProcess
      Retrieve the I18N property key to use to provide the I18Ned label of this BackgroundProcess to the user.
      Overrides:
      getLabelProp in class BackgroundProcess
      Returns:
      a property
    • setCurrentStep

      public void setCurrentStep(int stepNbr)
      Description copied from class: BackgroundProcess
      Set the current step number of this processing.

      Implementation detail : If this step changes the progress percentage, it triggers an update in database of the BackgroundProcessInfo used to track the process progress

      Overrides:
      setCurrentStep in class BackgroundProcess
      Parameters:
      stepNbr - the step number to set
    • performBulkDelete

      protected void performBulkDelete()
    • setOpDelete

      protected void setOpDelete(boolean v)
    • performBulkRestore

      protected void performBulkRestore()
    • setOpRestore

      protected void setOpRestore(boolean opRestore)
    • setPubSet

      protected void setPubSet(Set<String> pubIdSet)
    • getAvailablePubSet

      protected Set<Publication> getAvailablePubSet()
    • toString

      public String toString()
      Overrides:
      toString in class BackgroundProcess
      Since:
      jcms-10.0.8