TrashHandler trashHandler = TrashHandlerRegistryUtil.getTrashHandler(
getClassName(activity));
long classPK = getClassPK(activity);
if ((trashHandler != null) && (trashHandler.isInTrash(classPK) ||
trashHandler.isInTrashContainer(classPK))) {
<BUG>return TrashUtil.getViewContentURL(

getClassName(activity), classPK,
serviceContext.getThemeDisplay());
}</BUG>
StringBundler sb = new StringBundler(4);

TrashHandler trashHandler = TrashHandlerRegistryUtil.getTrashHandler(
getClassName(activity));
long classPK = getClassPK(activity);
if ((trashHandler != null) && (trashHandler.isInTrash(classPK) ||
trashHandler.isInTrashContainer(classPK))) {
PortletURL portletURL = TrashUtil.getViewContentURL(
getClassName(activity), classPK, serviceContext.getRequest());
return portletURL.toString();
}
StringBundler sb = new StringBundler(4);
