1
14
15 package com.liferay.portlet.documentlibrary.service;
16
17 import com.liferay.portal.kernel.annotation.Isolation;
18 import com.liferay.portal.kernel.annotation.Propagation;
19 import com.liferay.portal.kernel.annotation.Transactional;
20 import com.liferay.portal.kernel.exception.PortalException;
21 import com.liferay.portal.kernel.exception.SystemException;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface DLFileShortcutService {
50 public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
51 long groupId, long folderId, long toFolderId, java.lang.String toName,
52 com.liferay.portal.service.ServiceContext serviceContext)
53 throws com.liferay.portal.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException;
55
56 public void deleteFileShortcut(long fileShortcutId)
57 throws com.liferay.portal.kernel.exception.PortalException,
58 com.liferay.portal.kernel.exception.SystemException;
59
60 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
61 public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
62 long fileShortcutId)
63 throws com.liferay.portal.kernel.exception.PortalException,
64 com.liferay.portal.kernel.exception.SystemException;
65
66 public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
67 long fileShortcutId, long folderId, long toFolderId,
68 java.lang.String toName,
69 com.liferay.portal.service.ServiceContext serviceContext)
70 throws com.liferay.portal.kernel.exception.PortalException,
71 com.liferay.portal.kernel.exception.SystemException;
72 }