LPS-38357 Don't call persistence classes directly from Staged Model Data Handlers
LPS-34449 Use searchContainer.getTotal() instead of total because now total is always 0
LPS-34449 We need to pass the groupId to empty trash