@Override public TrashRenderer getTrashRenderer(long classPK) throws PortalException, SystemException { DLFileShortcut fileShortcut = DLFileShortcutLocalServiceUtil.getDLFileShortcut(classPK); return new DLFileShortcutTrashRenderer(fileShortcut); }
@Override public boolean isInTrashContainer(long classPK) throws PortalException, SystemException { DLFileShortcut fileShortcut = DLFileShortcutLocalServiceUtil.getDLFileShortcut(classPK); return fileShortcut.isInTrashContainer(); }
@Override public String getRestoreMessage(PortletRequest portletRequest, long classPK) throws PortalException, SystemException { DLFileShortcut fileShortcut = DLFileShortcutLocalServiceUtil.getDLFileShortcut(classPK); return DLUtil.getAbsolutePath(portletRequest, fileShortcut.getFolderId()); }
@Override public String getRestoreLink(PortletRequest portletRequest, long classPK) throws PortalException, SystemException { DLFileShortcut fileShortcut = DLFileShortcutLocalServiceUtil.getDLFileShortcut(classPK); return DLUtil.getDLControlPanelLink(portletRequest, fileShortcut.getFolderId()); }
protected DLFileShortcut getDLFileShortcut(long classPK) throws PortalException, SystemException { return DLFileShortcutLocalServiceUtil.getDLFileShortcut(classPK); }