Bric::App::Callback::Util::Asset - Asset utilities for callbacks
use Bric::App::Callback::Util::Asset;
Bric::App::Callback::Util::Asset->cancel_checkout($asset);
This module provides utility methods for managing Bricolage assets.
my $au = Bric::App::Callback::Util::Asset->new;
Constructs a new Bric::App::Callback::Util::Asset object.
Bric::App::Callback::Util::Asset->cancel_checkout($asset);
Cancels the checkout of $asset. This method does its best to remove all vestiges of the current checkout of the asset. If the asset is a template, it will be undeployed from the user's sandbox.
Bric::App::Callback::Util::Asset->remove($asset);
Checks in an asset (if it's checked out), removes it from workflow, and deactivates it. If the asset is a template, it will be undeployed.
David E. Wheeler <david@justatheory.com>
Copyright (c) 2010 Kineticode, Inc. See Bric::License for complete license terms and conditions.