1
14
15 package com.liferay.portlet.documentlibrary.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.documentlibrary.model.DLFileShortcut;
20
21
34 public interface DLFileShortcutPersistence extends BasePersistence<DLFileShortcut> {
35 public void cacheResult(
36 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts);
40
41 public com.liferay.portlet.documentlibrary.model.DLFileShortcut create(
42 long fileShortcutId);
43
44 public com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(
45 long fileShortcutId)
46 throws com.liferay.portal.SystemException,
47 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
48
49
52 public com.liferay.portlet.documentlibrary.model.DLFileShortcut update(
53 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl(
57 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey(
61 long fileShortcutId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
64
65 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey(
66 long fileShortcutId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
69 java.lang.String uuid) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
72 java.lang.String uuid, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
76 java.lang.String uuid, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator obc)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_First(
81 java.lang.String uuid,
82 com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
85
86 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_Last(
87 java.lang.String uuid,
88 com.liferay.portal.kernel.util.OrderByComparator obc)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
91
92 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_PrevAndNext(
93 long fileShortcutId, java.lang.String uuid,
94 com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
97
98 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUUID_G(
99 java.lang.String uuid, long groupId)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
102
103 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
104 java.lang.String uuid, long groupId)
105 throws com.liferay.portal.SystemException;
106
107 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
108 java.lang.String uuid, long groupId, boolean retrieveFromCache)
109 throws com.liferay.portal.SystemException;
110
111 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByFolderId(
112 long folderId) throws com.liferay.portal.SystemException;
113
114 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByFolderId(
115 long folderId, int start, int end)
116 throws com.liferay.portal.SystemException;
117
118 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByFolderId(
119 long folderId, int start, int end,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException;
122
123 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByFolderId_First(
124 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
127
128 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByFolderId_Last(
129 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.SystemException,
131 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
132
133 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByFolderId_PrevAndNext(
134 long fileShortcutId, long folderId,
135 com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
138
139 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByTF_TN(
140 long toFolderId, java.lang.String toName)
141 throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByTF_TN(
144 long toFolderId, java.lang.String toName, int start, int end)
145 throws com.liferay.portal.SystemException;
146
147 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByTF_TN(
148 long toFolderId, java.lang.String toName, int start, int end,
149 com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException;
151
152 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByTF_TN_First(
153 long toFolderId, java.lang.String toName,
154 com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.SystemException,
156 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
157
158 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByTF_TN_Last(
159 long toFolderId, java.lang.String toName,
160 com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
163
164 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByTF_TN_PrevAndNext(
165 long fileShortcutId, long toFolderId, java.lang.String toName,
166 com.liferay.portal.kernel.util.OrderByComparator obc)
167 throws com.liferay.portal.SystemException,
168 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
169
170 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll()
171 throws com.liferay.portal.SystemException;
172
173 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
174 int start, int end) throws com.liferay.portal.SystemException;
175
176 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
177 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException;
179
180 public void removeByUuid(java.lang.String uuid)
181 throws com.liferay.portal.SystemException;
182
183 public void removeByUUID_G(java.lang.String uuid, long groupId)
184 throws com.liferay.portal.SystemException,
185 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
186
187 public void removeByFolderId(long folderId)
188 throws com.liferay.portal.SystemException;
189
190 public void removeByTF_TN(long toFolderId, java.lang.String toName)
191 throws com.liferay.portal.SystemException;
192
193 public void removeAll() throws com.liferay.portal.SystemException;
194
195 public int countByUuid(java.lang.String uuid)
196 throws com.liferay.portal.SystemException;
197
198 public int countByUUID_G(java.lang.String uuid, long groupId)
199 throws com.liferay.portal.SystemException;
200
201 public int countByFolderId(long folderId)
202 throws com.liferay.portal.SystemException;
203
204 public int countByTF_TN(long toFolderId, java.lang.String toName)
205 throws com.liferay.portal.SystemException;
206
207 public int countAll() throws com.liferay.portal.SystemException;
208 }