001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service;
016    
017    import com.liferay.portal.kernel.exception.PortalException;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.kernel.transaction.Isolation;
020    import com.liferay.portal.kernel.transaction.Propagation;
021    import com.liferay.portal.kernel.transaction.Transactional;
022    import com.liferay.portal.service.BaseLocalService;
023    import com.liferay.portal.service.PersistedModelLocalService;
024    
025    /**
026     * The interface for the document library file entry type local service.
027     *
028     * <p>
029     * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
030     * </p>
031     *
032     * @author Brian Wing Shun Chan
033     * @see DLFileEntryTypeLocalServiceUtil
034     * @see com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeLocalServiceBaseImpl
035     * @see com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl
036     * @generated
037     */
038    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
039            PortalException.class, SystemException.class})
040    public interface DLFileEntryTypeLocalService extends BaseLocalService,
041            PersistedModelLocalService {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. Always use {@link DLFileEntryTypeLocalServiceUtil} to access the document library file entry type local service. Add custom service methods to {@link com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
046             */
047    
048            /**
049            * Adds the document library file entry type to the database. Also notifies the appropriate model listeners.
050            *
051            * @param dlFileEntryType the document library file entry type
052            * @return the document library file entry type that was added
053            * @throws SystemException if a system exception occurred
054            */
055            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addDLFileEntryType(
056                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
057                    throws com.liferay.portal.kernel.exception.SystemException;
058    
059            /**
060            * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.
061            *
062            * @param fileEntryTypeId the primary key for the new document library file entry type
063            * @return the new document library file entry type
064            */
065            public com.liferay.portlet.documentlibrary.model.DLFileEntryType createDLFileEntryType(
066                    long fileEntryTypeId);
067    
068            /**
069            * Deletes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.
070            *
071            * @param fileEntryTypeId the primary key of the document library file entry type
072            * @return the document library file entry type that was removed
073            * @throws PortalException if a document library file entry type with the primary key could not be found
074            * @throws SystemException if a system exception occurred
075            */
076            public com.liferay.portlet.documentlibrary.model.DLFileEntryType deleteDLFileEntryType(
077                    long fileEntryTypeId)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException;
080    
081            /**
082            * Deletes the document library file entry type from the database. Also notifies the appropriate model listeners.
083            *
084            * @param dlFileEntryType the document library file entry type
085            * @return the document library file entry type that was removed
086            * @throws SystemException if a system exception occurred
087            */
088            public com.liferay.portlet.documentlibrary.model.DLFileEntryType deleteDLFileEntryType(
089                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
090                    throws com.liferay.portal.kernel.exception.SystemException;
091    
092            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
093    
094            /**
095            * Performs a dynamic query on the database and returns the matching rows.
096            *
097            * @param dynamicQuery the dynamic query
098            * @return the matching rows
099            * @throws SystemException if a system exception occurred
100            */
101            @SuppressWarnings("rawtypes")
102            public java.util.List dynamicQuery(
103                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
104                    throws com.liferay.portal.kernel.exception.SystemException;
105    
106            /**
107            * Performs a dynamic query on the database and returns a range of the matching rows.
108            *
109            * <p>
110            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
111            * </p>
112            *
113            * @param dynamicQuery the dynamic query
114            * @param start the lower bound of the range of model instances
115            * @param end the upper bound of the range of model instances (not inclusive)
116            * @return the range of matching rows
117            * @throws SystemException if a system exception occurred
118            */
119            @SuppressWarnings("rawtypes")
120            public java.util.List dynamicQuery(
121                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122                    int end) throws com.liferay.portal.kernel.exception.SystemException;
123    
124            /**
125            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
126            *
127            * <p>
128            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
129            * </p>
130            *
131            * @param dynamicQuery the dynamic query
132            * @param start the lower bound of the range of model instances
133            * @param end the upper bound of the range of model instances (not inclusive)
134            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
135            * @return the ordered range of matching rows
136            * @throws SystemException if a system exception occurred
137            */
138            @SuppressWarnings("rawtypes")
139            public java.util.List dynamicQuery(
140                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141                    int end,
142                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143                    throws com.liferay.portal.kernel.exception.SystemException;
144    
145            /**
146            * Returns the number of rows that match the dynamic query.
147            *
148            * @param dynamicQuery the dynamic query
149            * @return the number of rows that match the dynamic query
150            * @throws SystemException if a system exception occurred
151            */
152            public long dynamicQueryCount(
153                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
154                    throws com.liferay.portal.kernel.exception.SystemException;
155    
156            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
157            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchDLFileEntryType(
158                    long fileEntryTypeId)
159                    throws com.liferay.portal.kernel.exception.SystemException;
160    
161            /**
162            * Returns the document library file entry type with the primary key.
163            *
164            * @param fileEntryTypeId the primary key of the document library file entry type
165            * @return the document library file entry type
166            * @throws PortalException if a document library file entry type with the primary key could not be found
167            * @throws SystemException if a system exception occurred
168            */
169            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
170            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getDLFileEntryType(
171                    long fileEntryTypeId)
172                    throws com.liferay.portal.kernel.exception.PortalException,
173                            com.liferay.portal.kernel.exception.SystemException;
174    
175            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
176            public com.liferay.portal.model.PersistedModel getPersistedModel(
177                    java.io.Serializable primaryKeyObj)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException;
180    
181            /**
182            * Returns the document library file entry type with the UUID in the group.
183            *
184            * @param uuid the UUID of document library file entry type
185            * @param groupId the group id of the document library file entry type
186            * @return the document library file entry type
187            * @throws PortalException if a document library file entry type with the UUID in the group could not be found
188            * @throws SystemException if a system exception occurred
189            */
190            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
191            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(
192                    java.lang.String uuid, long groupId)
193                    throws com.liferay.portal.kernel.exception.PortalException,
194                            com.liferay.portal.kernel.exception.SystemException;
195    
196            /**
197            * Returns a range of all the document library file entry types.
198            *
199            * <p>
200            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
201            * </p>
202            *
203            * @param start the lower bound of the range of document library file entry types
204            * @param end the upper bound of the range of document library file entry types (not inclusive)
205            * @return the range of document library file entry types
206            * @throws SystemException if a system exception occurred
207            */
208            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
209            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
210                    int start, int end)
211                    throws com.liferay.portal.kernel.exception.SystemException;
212    
213            /**
214            * Returns the number of document library file entry types.
215            *
216            * @return the number of document library file entry types
217            * @throws SystemException if a system exception occurred
218            */
219            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
220            public int getDLFileEntryTypesCount()
221                    throws com.liferay.portal.kernel.exception.SystemException;
222    
223            /**
224            * Updates the document library file entry type in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
225            *
226            * @param dlFileEntryType the document library file entry type
227            * @return the document library file entry type that was updated
228            * @throws SystemException if a system exception occurred
229            */
230            public com.liferay.portlet.documentlibrary.model.DLFileEntryType updateDLFileEntryType(
231                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
232                    throws com.liferay.portal.kernel.exception.SystemException;
233    
234            /**
235            * Updates the document library file entry type in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
236            *
237            * @param dlFileEntryType the document library file entry type
238            * @param merge whether to merge the document library file entry type with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
239            * @return the document library file entry type that was updated
240            * @throws SystemException if a system exception occurred
241            */
242            public com.liferay.portlet.documentlibrary.model.DLFileEntryType updateDLFileEntryType(
243                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType,
244                    boolean merge)
245                    throws com.liferay.portal.kernel.exception.SystemException;
246    
247            /**
248            * @throws SystemException if a system exception occurred
249            */
250            public void addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId)
251                    throws com.liferay.portal.kernel.exception.SystemException;
252    
253            /**
254            * @throws SystemException if a system exception occurred
255            */
256            public void addDLFolderDLFileEntryType(long folderId,
257                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
258                    throws com.liferay.portal.kernel.exception.SystemException;
259    
260            /**
261            * @throws SystemException if a system exception occurred
262            */
263            public void addDLFolderDLFileEntryTypes(long folderId,
264                    long[] fileEntryTypeIds)
265                    throws com.liferay.portal.kernel.exception.SystemException;
266    
267            /**
268            * @throws SystemException if a system exception occurred
269            */
270            public void addDLFolderDLFileEntryTypes(long folderId,
271                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes)
272                    throws com.liferay.portal.kernel.exception.SystemException;
273    
274            /**
275            * @throws SystemException if a system exception occurred
276            */
277            public void clearDLFolderDLFileEntryTypes(long folderId)
278                    throws com.liferay.portal.kernel.exception.SystemException;
279    
280            /**
281            * @throws SystemException if a system exception occurred
282            */
283            public void deleteDLFolderDLFileEntryType(long folderId,
284                    long fileEntryTypeId)
285                    throws com.liferay.portal.kernel.exception.SystemException;
286    
287            /**
288            * @throws SystemException if a system exception occurred
289            */
290            public void deleteDLFolderDLFileEntryType(long folderId,
291                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
292                    throws com.liferay.portal.kernel.exception.SystemException;
293    
294            /**
295            * @throws SystemException if a system exception occurred
296            */
297            public void deleteDLFolderDLFileEntryTypes(long folderId,
298                    long[] fileEntryTypeIds)
299                    throws com.liferay.portal.kernel.exception.SystemException;
300    
301            /**
302            * @throws SystemException if a system exception occurred
303            */
304            public void deleteDLFolderDLFileEntryTypes(long folderId,
305                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes)
306                    throws com.liferay.portal.kernel.exception.SystemException;
307    
308            /**
309            * @throws SystemException if a system exception occurred
310            */
311            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
312            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
313                    long folderId)
314                    throws com.liferay.portal.kernel.exception.SystemException;
315    
316            /**
317            * @throws SystemException if a system exception occurred
318            */
319            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
320            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
321                    long folderId, int start, int end)
322                    throws com.liferay.portal.kernel.exception.SystemException;
323    
324            /**
325            * @throws SystemException if a system exception occurred
326            */
327            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
328            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
329                    long folderId, int start, int end,
330                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
331                    throws com.liferay.portal.kernel.exception.SystemException;
332    
333            /**
334            * @throws SystemException if a system exception occurred
335            */
336            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
337            public int getDLFolderDLFileEntryTypesCount(long folderId)
338                    throws com.liferay.portal.kernel.exception.SystemException;
339    
340            /**
341            * @throws SystemException if a system exception occurred
342            */
343            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
344            public boolean hasDLFolderDLFileEntryType(long folderId,
345                    long fileEntryTypeId)
346                    throws com.liferay.portal.kernel.exception.SystemException;
347    
348            /**
349            * @throws SystemException if a system exception occurred
350            */
351            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
352            public boolean hasDLFolderDLFileEntryTypes(long folderId)
353                    throws com.liferay.portal.kernel.exception.SystemException;
354    
355            /**
356            * @throws SystemException if a system exception occurred
357            */
358            public void setDLFolderDLFileEntryTypes(long folderId,
359                    long[] fileEntryTypeIds)
360                    throws com.liferay.portal.kernel.exception.SystemException;
361    
362            /**
363            * @throws SystemException if a system exception occurred
364            */
365            public void addDDMStructureDLFileEntryType(long structureId,
366                    long fileEntryTypeId)
367                    throws com.liferay.portal.kernel.exception.SystemException;
368    
369            /**
370            * @throws SystemException if a system exception occurred
371            */
372            public void addDDMStructureDLFileEntryType(long structureId,
373                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
374                    throws com.liferay.portal.kernel.exception.SystemException;
375    
376            /**
377            * @throws SystemException if a system exception occurred
378            */
379            public void addDDMStructureDLFileEntryTypes(long structureId,
380                    long[] fileEntryTypeIds)
381                    throws com.liferay.portal.kernel.exception.SystemException;
382    
383            /**
384            * @throws SystemException if a system exception occurred
385            */
386            public void addDDMStructureDLFileEntryTypes(long structureId,
387                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes)
388                    throws com.liferay.portal.kernel.exception.SystemException;
389    
390            /**
391            * @throws SystemException if a system exception occurred
392            */
393            public void clearDDMStructureDLFileEntryTypes(long structureId)
394                    throws com.liferay.portal.kernel.exception.SystemException;
395    
396            /**
397            * @throws SystemException if a system exception occurred
398            */
399            public void deleteDDMStructureDLFileEntryType(long structureId,
400                    long fileEntryTypeId)
401                    throws com.liferay.portal.kernel.exception.SystemException;
402    
403            /**
404            * @throws SystemException if a system exception occurred
405            */
406            public void deleteDDMStructureDLFileEntryType(long structureId,
407                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
408                    throws com.liferay.portal.kernel.exception.SystemException;
409    
410            /**
411            * @throws SystemException if a system exception occurred
412            */
413            public void deleteDDMStructureDLFileEntryTypes(long structureId,
414                    long[] fileEntryTypeIds)
415                    throws com.liferay.portal.kernel.exception.SystemException;
416    
417            /**
418            * @throws SystemException if a system exception occurred
419            */
420            public void deleteDDMStructureDLFileEntryTypes(long structureId,
421                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes)
422                    throws com.liferay.portal.kernel.exception.SystemException;
423    
424            /**
425            * @throws SystemException if a system exception occurred
426            */
427            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
428            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
429                    long structureId)
430                    throws com.liferay.portal.kernel.exception.SystemException;
431    
432            /**
433            * @throws SystemException if a system exception occurred
434            */
435            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
436            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
437                    long structureId, int start, int end)
438                    throws com.liferay.portal.kernel.exception.SystemException;
439    
440            /**
441            * @throws SystemException if a system exception occurred
442            */
443            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
444            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
445                    long structureId, int start, int end,
446                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
447                    throws com.liferay.portal.kernel.exception.SystemException;
448    
449            /**
450            * @throws SystemException if a system exception occurred
451            */
452            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
453            public int getDDMStructureDLFileEntryTypesCount(long structureId)
454                    throws com.liferay.portal.kernel.exception.SystemException;
455    
456            /**
457            * @throws SystemException if a system exception occurred
458            */
459            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
460            public boolean hasDDMStructureDLFileEntryType(long structureId,
461                    long fileEntryTypeId)
462                    throws com.liferay.portal.kernel.exception.SystemException;
463    
464            /**
465            * @throws SystemException if a system exception occurred
466            */
467            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
468            public boolean hasDDMStructureDLFileEntryTypes(long structureId)
469                    throws com.liferay.portal.kernel.exception.SystemException;
470    
471            /**
472            * @throws SystemException if a system exception occurred
473            */
474            public void setDDMStructureDLFileEntryTypes(long structureId,
475                    long[] fileEntryTypeIds)
476                    throws com.liferay.portal.kernel.exception.SystemException;
477    
478            /**
479            * Returns the Spring bean ID for this bean.
480            *
481            * @return the Spring bean ID for this bean
482            */
483            public java.lang.String getBeanIdentifier();
484    
485            /**
486            * Sets the Spring bean ID for this bean.
487            *
488            * @param beanIdentifier the Spring bean ID for this bean
489            */
490            public void setBeanIdentifier(java.lang.String beanIdentifier);
491    
492            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
493                    long userId, long groupId, java.lang.String name,
494                    java.lang.String description, long[] ddmStructureIds,
495                    com.liferay.portal.service.ServiceContext serviceContext)
496                    throws com.liferay.portal.kernel.exception.PortalException,
497                            com.liferay.portal.kernel.exception.SystemException;
498    
499            public void cascadeFileEntryTypes(long userId,
500                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
501                    throws com.liferay.portal.kernel.exception.PortalException,
502                            com.liferay.portal.kernel.exception.SystemException;
503    
504            public void deleteFileEntryType(
505                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
506                    throws com.liferay.portal.kernel.exception.PortalException,
507                            com.liferay.portal.kernel.exception.SystemException;
508    
509            public void deleteFileEntryType(long fileEntryTypeId)
510                    throws com.liferay.portal.kernel.exception.PortalException,
511                            com.liferay.portal.kernel.exception.SystemException;
512    
513            public void deleteFileEntryTypes(long groupId)
514                    throws com.liferay.portal.kernel.exception.PortalException,
515                            com.liferay.portal.kernel.exception.SystemException;
516    
517            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
518            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchFileEntryType(
519                    long fileEntryTypeId)
520                    throws com.liferay.portal.kernel.exception.SystemException;
521    
522            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
523            public long getDefaultFileEntryTypeId(long folderId)
524                    throws com.liferay.portal.kernel.exception.PortalException,
525                            com.liferay.portal.kernel.exception.SystemException;
526    
527            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
528            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
529                    long fileEntryTypeId)
530                    throws com.liferay.portal.kernel.exception.PortalException,
531                            com.liferay.portal.kernel.exception.SystemException;
532    
533            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
534            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
535                    long groupId, java.lang.String name)
536                    throws com.liferay.portal.kernel.exception.PortalException,
537                            com.liferay.portal.kernel.exception.SystemException;
538    
539            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
540            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
541                    long[] groupIds)
542                    throws com.liferay.portal.kernel.exception.SystemException;
543    
544            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
545            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFolderFileEntryTypes(
546                    long[] groupIds, long folderId, boolean inherited)
547                    throws com.liferay.portal.kernel.exception.PortalException,
548                            com.liferay.portal.kernel.exception.SystemException;
549    
550            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
551            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
552                    long companyId, long[] groupIds, java.lang.String keywords,
553                    boolean includeBasicFileEntryType, int start, int end,
554                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
555                    throws com.liferay.portal.kernel.exception.SystemException;
556    
557            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
558            public int searchCount(long companyId, long[] groupIds,
559                    java.lang.String keywords, boolean includeBasicFileEntryType)
560                    throws com.liferay.portal.kernel.exception.SystemException;
561    
562            public void unsetFolderFileEntryTypes(long folderId)
563                    throws com.liferay.portal.kernel.exception.SystemException;
564    
565            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntryFileEntryType(
566                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
567                    com.liferay.portal.service.ServiceContext serviceContext)
568                    throws com.liferay.portal.kernel.exception.PortalException,
569                            com.liferay.portal.kernel.exception.SystemException;
570    
571            public void updateFileEntryType(long userId, long fileEntryTypeId,
572                    java.lang.String name, java.lang.String description,
573                    long[] ddmStructureIds,
574                    com.liferay.portal.service.ServiceContext serviceContext)
575                    throws com.liferay.portal.kernel.exception.PortalException,
576                            com.liferay.portal.kernel.exception.SystemException;
577    
578            public void updateFolderFileEntryTypes(
579                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
580                    java.util.List<java.lang.Long> fileEntryTypeIds,
581                    long defaultFileEntryTypeId,
582                    com.liferay.portal.service.ServiceContext serviceContext)
583                    throws com.liferay.portal.kernel.exception.PortalException,
584                            com.liferay.portal.kernel.exception.SystemException;
585    }