Krang::Schedule::Action::retire - Scheduler Action class which implements scheduler retire functions
Concrete Krang::Scheduler::Action class which retires stories and media
This class retires stories and media (removing them from the website, without deleting them from the database). It is instantiated in the scheduler depending on action type.
use Krang::ClassLoader base => 'Schedule::Action'; sub execute { }
$schedule->execute()
Action method for class. Must be defined in Krang::Scheduler::Action classes. This method serves as the entry point method in Krang::Scheduler::Action class implementations. In this class it functions to retire media and stories. Archiving means removing objects from the website without deleting them from the database.
$schedule->_retire()
Runs an retire job on object_type-object_id.
Will throw a croak() if it cannot find the appropriate object, or
will propegate errors thrown by the object itself.