public Serializable execute(final TaskHandlerActionContext<ActionContext> inActionContext)
{
Long galleryItemId = (Long) inActionContext.getActionContext().getParams();
// hide definition until we can delete it (asynchronously)
GalleryItem galleryItem = galleryItemMapper.findById(galleryItemId);
galleryItem.setShowInGallery(false);
inActionContext.getUserActionRequests().add(new UserActionRequest(nextAction, null, galleryItemId));
return null;
}