Class RemoveItemsCronJob

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable

    public class RemoveItemsCronJob
    extends GeneratedRemoveItemsCronJob
    CronJob Implementation for asynchronous Item removal.
    Since:
    2.20
    See Also:
    Serialized Form
    • Constructor Detail

      • RemoveItemsCronJob

        public RemoveItemsCronJob()
    • Method Detail

      • remove

        public void remove​(SessionContext ctx)
                    throws ConsistencyCheckException
        Description copied from class: Item
        Removes this item.

        This method is using the following attributes of the given SessionContext:

        CacheUsage   Language   StagingMethod
        n/a (this is a setter method)   no, language doesn't matter for removal   yes if called on a StageableItem, no otherwise


        Overrides:
        remove in class CronJob
        Parameters:
        ctx - A SessionContext object
        Throws:
        ConsistencyCheckException - if this item could not be removed for some reason
      • resetItemsCounter

        public void resetItemsCounter()
        Resets the counter for deleted an refused items.