001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.exception.PortalException;
020    import com.liferay.portal.kernel.exception.SystemException;
021    import com.liferay.portal.kernel.search.IndexableType;
022    import com.liferay.portal.kernel.transaction.Isolation;
023    import com.liferay.portal.kernel.transaction.Propagation;
024    import com.liferay.portal.kernel.transaction.Transactional;
025    import com.liferay.portal.model.SystemEventConstants;
026    import com.liferay.portal.service.BaseLocalService;
027    import com.liferay.portal.service.PersistedModelLocalService;
028    
029    /**
030     * Provides the local service interface for DLFileEntryType. Methods of this
031     * service will not have security checks based on the propagated JAAS
032     * credentials because this service can only be accessed from within the same
033     * VM.
034     *
035     * @author Brian Wing Shun Chan
036     * @see DLFileEntryTypeLocalServiceUtil
037     * @see com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeLocalServiceBaseImpl
038     * @see com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl
039     * @generated
040     */
041    @ProviderType
042    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
043            PortalException.class, SystemException.class})
044    public interface DLFileEntryTypeLocalService extends BaseLocalService,
045            PersistedModelLocalService {
046            /*
047             * NOTE FOR DEVELOPERS:
048             *
049             * 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.
050             */
051            public void addDDMStructureDLFileEntryType(long structureId,
052                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
053    
054            public void addDDMStructureDLFileEntryType(long structureId,
055                    long fileEntryTypeId);
056    
057            public void addDDMStructureDLFileEntryTypes(long structureId,
058                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes);
059    
060            public void addDDMStructureDLFileEntryTypes(long structureId,
061                    long[] fileEntryTypeIds);
062    
063            /**
064            * Adds the document library file entry type to the database. Also notifies the appropriate model listeners.
065            *
066            * @param dlFileEntryType the document library file entry type
067            * @return the document library file entry type that was added
068            */
069            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
070            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addDLFileEntryType(
071                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
072    
073            public void addDLFolderDLFileEntryType(long folderId,
074                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
075    
076            public void addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId);
077    
078            public void addDLFolderDLFileEntryTypes(long folderId,
079                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes);
080    
081            public void addDLFolderDLFileEntryTypes(long folderId,
082                    long[] fileEntryTypeIds);
083    
084            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
085                    long userId, long groupId, java.lang.String fileEntryTypeKey,
086                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
087                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
088                    long[] ddmStructureIds,
089                    com.liferay.portal.service.ServiceContext serviceContext)
090                    throws com.liferay.portal.kernel.exception.PortalException;
091    
092            public com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
093                    long userId, long groupId, java.lang.String name,
094                    java.lang.String description, long[] ddmStructureIds,
095                    com.liferay.portal.service.ServiceContext serviceContext)
096                    throws com.liferay.portal.kernel.exception.PortalException;
097    
098            public void cascadeFileEntryTypes(long userId,
099                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
100                    throws com.liferay.portal.kernel.exception.PortalException;
101    
102            public void clearDDMStructureDLFileEntryTypes(long structureId);
103    
104            public void clearDLFolderDLFileEntryTypes(long folderId);
105    
106            /**
107            * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.
108            *
109            * @param fileEntryTypeId the primary key for the new document library file entry type
110            * @return the new document library file entry type
111            */
112            public com.liferay.portlet.documentlibrary.model.DLFileEntryType createDLFileEntryType(
113                    long fileEntryTypeId);
114    
115            public void deleteDDMStructureDLFileEntryType(long structureId,
116                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
117    
118            public void deleteDDMStructureDLFileEntryType(long structureId,
119                    long fileEntryTypeId);
120    
121            public void deleteDDMStructureDLFileEntryTypes(long structureId,
122                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes);
123    
124            public void deleteDDMStructureDLFileEntryTypes(long structureId,
125                    long[] fileEntryTypeIds);
126    
127            /**
128            * Deletes the document library file entry type from the database. Also notifies the appropriate model listeners.
129            *
130            * @param dlFileEntryType the document library file entry type
131            * @return the document library file entry type that was removed
132            */
133            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
134            public com.liferay.portlet.documentlibrary.model.DLFileEntryType deleteDLFileEntryType(
135                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
136    
137            /**
138            * Deletes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.
139            *
140            * @param fileEntryTypeId the primary key of the document library file entry type
141            * @return the document library file entry type that was removed
142            * @throws PortalException if a document library file entry type with the primary key could not be found
143            */
144            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
145            public com.liferay.portlet.documentlibrary.model.DLFileEntryType deleteDLFileEntryType(
146                    long fileEntryTypeId)
147                    throws com.liferay.portal.kernel.exception.PortalException;
148    
149            public void deleteDLFolderDLFileEntryType(long folderId,
150                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
151    
152            public void deleteDLFolderDLFileEntryType(long folderId,
153                    long fileEntryTypeId);
154    
155            public void deleteDLFolderDLFileEntryTypes(long folderId,
156                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes);
157    
158            public void deleteDLFolderDLFileEntryTypes(long folderId,
159                    long[] fileEntryTypeIds);
160    
161            @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
162            public void deleteFileEntryType(
163                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
164                    throws com.liferay.portal.kernel.exception.PortalException;
165    
166            public void deleteFileEntryType(long fileEntryTypeId)
167                    throws com.liferay.portal.kernel.exception.PortalException;
168    
169            public void deleteFileEntryTypes(long groupId)
170                    throws com.liferay.portal.kernel.exception.PortalException;
171    
172            /**
173            * @throws PortalException
174            */
175            @Override
176            public com.liferay.portal.model.PersistedModel deletePersistedModel(
177                    com.liferay.portal.model.PersistedModel persistedModel)
178                    throws com.liferay.portal.kernel.exception.PortalException;
179    
180            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
181    
182            /**
183            * Performs a dynamic query on the database and returns the matching rows.
184            *
185            * @param dynamicQuery the dynamic query
186            * @return the matching rows
187            */
188            public <T> java.util.List<T> dynamicQuery(
189                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
190    
191            /**
192            * Performs a dynamic query on the database and returns a range of the matching rows.
193            *
194            * <p>
195            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
196            * </p>
197            *
198            * @param dynamicQuery the dynamic query
199            * @param start the lower bound of the range of model instances
200            * @param end the upper bound of the range of model instances (not inclusive)
201            * @return the range of matching rows
202            */
203            public <T> java.util.List<T> dynamicQuery(
204                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
205                    int end);
206    
207            /**
208            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
209            *
210            * <p>
211            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
212            * </p>
213            *
214            * @param dynamicQuery the dynamic query
215            * @param start the lower bound of the range of model instances
216            * @param end the upper bound of the range of model instances (not inclusive)
217            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
218            * @return the ordered range of matching rows
219            */
220            public <T> java.util.List<T> dynamicQuery(
221                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
222                    int end,
223                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
224    
225            /**
226            * Returns the number of rows matching the dynamic query.
227            *
228            * @param dynamicQuery the dynamic query
229            * @return the number of rows matching the dynamic query
230            */
231            public long dynamicQueryCount(
232                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
233    
234            /**
235            * Returns the number of rows matching the dynamic query.
236            *
237            * @param dynamicQuery the dynamic query
238            * @param projection the projection to apply to the query
239            * @return the number of rows matching the dynamic query
240            */
241            public long dynamicQueryCount(
242                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
243                    com.liferay.portal.kernel.dao.orm.Projection projection);
244    
245            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
246            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchDLFileEntryType(
247                    long fileEntryTypeId);
248    
249            /**
250            * Returns the document library file entry type matching the UUID and group.
251            *
252            * @param uuid the document library file entry type's UUID
253            * @param groupId the primary key of the group
254            * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
255            */
256            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
257            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchDLFileEntryTypeByUuidAndGroupId(
258                    java.lang.String uuid, long groupId);
259    
260            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
261            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchFileEntryType(
262                    long fileEntryTypeId);
263    
264            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
265            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchFileEntryType(
266                    long groupId, java.lang.String fileEntryTypeKey);
267    
268            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
269            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
270    
271            /**
272            * Returns the Spring bean ID for this bean.
273            *
274            * @return the Spring bean ID for this bean
275            */
276            public java.lang.String getBeanIdentifier();
277    
278            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
279            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
280                    long structureId);
281    
282            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
283            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
284                    long structureId, int start, int end);
285    
286            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
287            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
288                    long structureId, int start, int end,
289                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
290    
291            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
292            public int getDDMStructureDLFileEntryTypesCount(long structureId);
293    
294            /**
295            * Returns the structureIds of the d d m structures associated with the document library file entry type.
296            *
297            * @param fileEntryTypeId the fileEntryTypeId of the document library file entry type
298            * @return long[] the structureIds of d d m structures associated with the document library file entry type
299            */
300            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
301            public long[] getDDMStructurePrimaryKeys(long fileEntryTypeId);
302    
303            /**
304            * Returns the document library file entry type with the primary key.
305            *
306            * @param fileEntryTypeId the primary key of the document library file entry type
307            * @return the document library file entry type
308            * @throws PortalException if a document library file entry type with the primary key could not be found
309            */
310            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
311            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getDLFileEntryType(
312                    long fileEntryTypeId)
313                    throws com.liferay.portal.kernel.exception.PortalException;
314    
315            /**
316            * Returns the document library file entry type matching the UUID and group.
317            *
318            * @param uuid the document library file entry type's UUID
319            * @param groupId the primary key of the group
320            * @return the matching document library file entry type
321            * @throws PortalException if a matching document library file entry type could not be found
322            */
323            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
324            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(
325                    java.lang.String uuid, long groupId)
326                    throws com.liferay.portal.kernel.exception.PortalException;
327    
328            /**
329            * Returns a range of all the document library file entry types.
330            *
331            * <p>
332            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
333            * </p>
334            *
335            * @param start the lower bound of the range of document library file entry types
336            * @param end the upper bound of the range of document library file entry types (not inclusive)
337            * @return the range of document library file entry types
338            */
339            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
340            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
341                    int start, int end);
342    
343            /**
344            * Returns all the document library file entry types matching the UUID and company.
345            *
346            * @param uuid the UUID of the document library file entry types
347            * @param companyId the primary key of the company
348            * @return the matching document library file entry types, or an empty list if no matches were found
349            */
350            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
351            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(
352                    java.lang.String uuid, long companyId);
353    
354            /**
355            * Returns a range of document library file entry types matching the UUID and company.
356            *
357            * @param uuid the UUID of the document library file entry types
358            * @param companyId the primary key of the company
359            * @param start the lower bound of the range of document library file entry types
360            * @param end the upper bound of the range of document library file entry types (not inclusive)
361            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
362            * @return the range of matching document library file entry types, or an empty list if no matches were found
363            */
364            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
365            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(
366                    java.lang.String uuid, long companyId, int start, int end,
367                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
368    
369            /**
370            * Returns the number of document library file entry types.
371            *
372            * @return the number of document library file entry types
373            */
374            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
375            public int getDLFileEntryTypesCount();
376    
377            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
378            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
379                    long folderId);
380    
381            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
382            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
383                    long folderId, int start, int end);
384    
385            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
386            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
387                    long folderId, int start, int end,
388                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
389    
390            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
391            public int getDLFolderDLFileEntryTypesCount(long folderId);
392    
393            /**
394            * Returns the folderIds of the document library folders associated with the document library file entry type.
395            *
396            * @param fileEntryTypeId the fileEntryTypeId of the document library file entry type
397            * @return long[] the folderIds of document library folders associated with the document library file entry type
398            */
399            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
400            public long[] getDLFolderPrimaryKeys(long fileEntryTypeId);
401    
402            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
403            public long getDefaultFileEntryTypeId(long folderId)
404                    throws com.liferay.portal.kernel.exception.PortalException;
405    
406            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
407            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
408                    com.liferay.portal.kernel.lar.PortletDataContext portletDataContext);
409    
410            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
411            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
412                    long fileEntryTypeId)
413                    throws com.liferay.portal.kernel.exception.PortalException;
414    
415            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
416            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
417                    long groupId, java.lang.String fileEntryTypeKey)
418                    throws com.liferay.portal.kernel.exception.PortalException;
419    
420            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
421            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
422                    long[] groupIds);
423    
424            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
425            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFolderFileEntryTypes(
426                    long[] groupIds, long folderId, boolean inherited)
427                    throws com.liferay.portal.kernel.exception.PortalException;
428    
429            @Override
430            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
431            public com.liferay.portal.model.PersistedModel getPersistedModel(
432                    java.io.Serializable primaryKeyObj)
433                    throws com.liferay.portal.kernel.exception.PortalException;
434    
435            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
436            public boolean hasDDMStructureDLFileEntryType(long structureId,
437                    long fileEntryTypeId);
438    
439            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
440            public boolean hasDDMStructureDLFileEntryTypes(long structureId);
441    
442            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
443            public boolean hasDLFolderDLFileEntryType(long folderId,
444                    long fileEntryTypeId);
445    
446            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
447            public boolean hasDLFolderDLFileEntryTypes(long folderId);
448    
449            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
450            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
451                    long companyId, long[] groupIds, java.lang.String keywords,
452                    boolean includeBasicFileEntryType, int start, int end,
453                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
454    
455            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
456            public int searchCount(long companyId, long[] groupIds,
457                    java.lang.String keywords, boolean includeBasicFileEntryType);
458    
459            /**
460            * Sets the Spring bean ID for this bean.
461            *
462            * @param beanIdentifier the Spring bean ID for this bean
463            */
464            public void setBeanIdentifier(java.lang.String beanIdentifier);
465    
466            public void setDDMStructureDLFileEntryTypes(long structureId,
467                    long[] fileEntryTypeIds);
468    
469            public void setDLFolderDLFileEntryTypes(long folderId,
470                    long[] fileEntryTypeIds);
471    
472            public void unsetFolderFileEntryTypes(long folderId);
473    
474            /**
475            * 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.
476            *
477            * @param dlFileEntryType the document library file entry type
478            * @return the document library file entry type that was updated
479            */
480            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
481            public com.liferay.portlet.documentlibrary.model.DLFileEntryType updateDLFileEntryType(
482                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
483    
484            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntryFileEntryType(
485                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
486                    com.liferay.portal.service.ServiceContext serviceContext)
487                    throws com.liferay.portal.kernel.exception.PortalException;
488    
489            public void updateFileEntryType(long userId, long fileEntryTypeId,
490                    java.lang.String name, java.lang.String description,
491                    long[] ddmStructureIds,
492                    com.liferay.portal.service.ServiceContext serviceContext)
493                    throws com.liferay.portal.kernel.exception.PortalException;
494    
495            public void updateFileEntryType(long userId, long fileEntryTypeId,
496                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
497                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
498                    long[] ddmStructureIds,
499                    com.liferay.portal.service.ServiceContext serviceContext)
500                    throws com.liferay.portal.kernel.exception.PortalException;
501    
502            public void updateFolderFileEntryTypes(
503                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
504                    java.util.List<java.lang.Long> fileEntryTypeIds,
505                    long defaultFileEntryTypeId,
506                    com.liferay.portal.service.ServiceContext serviceContext);
507    }