1
22
23 package com.liferay.portlet.documentlibrary.service;
24
25
26
51 public interface DLFileShortcutLocalService {
52 public com.liferay.portlet.documentlibrary.model.DLFileShortcut addDLFileShortcut(
53 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
54 throws com.liferay.portal.SystemException;
55
56 public void deleteDLFileShortcut(long fileShortcutId)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deleteDLFileShortcut(
61 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
62 throws com.liferay.portal.SystemException;
63
64 public java.util.List<Object> dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70 int end) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcut(
73 long fileShortcutId)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portal.PortalException;
76
77 public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
78 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
79 throws com.liferay.portal.SystemException;
80
81 public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
82 long userId, long folderId, long toFolderId, java.lang.String toName,
83 boolean addCommunityPermissions, boolean addGuestPermissions)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException;
86
87 public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
88 java.lang.String uuid, long userId, long folderId, long toFolderId,
89 java.lang.String toName, boolean addCommunityPermissions,
90 boolean addGuestPermissions)
91 throws com.liferay.portal.PortalException,
92 com.liferay.portal.SystemException;
93
94 public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
95 long userId, long folderId, long toFolderId, java.lang.String toName,
96 java.lang.String[] communityPermissions,
97 java.lang.String[] guestPermissions)
98 throws com.liferay.portal.PortalException,
99 com.liferay.portal.SystemException;
100
101 public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
102 java.lang.String uuid, long userId, long folderId, long toFolderId,
103 java.lang.String toName, java.lang.Boolean addCommunityPermissions,
104 java.lang.Boolean addGuestPermissions,
105 java.lang.String[] communityPermissions,
106 java.lang.String[] guestPermissions)
107 throws com.liferay.portal.PortalException,
108 com.liferay.portal.SystemException;
109
110 public void addFileShortcutResources(long fileShortcutId,
111 boolean addCommunityPermissions, boolean addGuestPermissions)
112 throws com.liferay.portal.PortalException,
113 com.liferay.portal.SystemException;
114
115 public void addFileShortcutResources(
116 com.liferay.portlet.documentlibrary.model.DLFolder folder,
117 com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
118 boolean addCommunityPermissions, boolean addGuestPermissions)
119 throws com.liferay.portal.PortalException,
120 com.liferay.portal.SystemException;
121
122 public void addFileShortcutResources(long fileShortcutId,
123 java.lang.String[] communityPermissions,
124 java.lang.String[] guestPermissions)
125 throws com.liferay.portal.PortalException,
126 com.liferay.portal.SystemException;
127
128 public void addFileShortcutResources(
129 com.liferay.portlet.documentlibrary.model.DLFolder folder,
130 com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
131 java.lang.String[] communityPermissions,
132 java.lang.String[] guestPermissions)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException;
135
136 public void deleteFileShortcut(long fileShortcutId)
137 throws com.liferay.portal.PortalException,
138 com.liferay.portal.SystemException;
139
140 public void deleteFileShortcut(
141 com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException;
144
145 public void deleteFileShortcuts(long toFolderId, java.lang.String toName)
146 throws com.liferay.portal.PortalException,
147 com.liferay.portal.SystemException;
148
149 public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
150 long fileShortcutId)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException;
153
154 public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
155 long userId, long fileShortcutId, long folderId, long toFolderId,
156 java.lang.String toName)
157 throws com.liferay.portal.PortalException,
158 com.liferay.portal.SystemException;
159
160 public void updateFileShortcuts(long oldToFolderId,
161 java.lang.String oldToName, long newToFolderId,
162 java.lang.String newToName) throws com.liferay.portal.SystemException;
163 }