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 that match the dynamic query.
227            *
228            * @param dynamicQuery the dynamic query
229            * @return the number of rows that match 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 that match 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 that match 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            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
344            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(
345                    java.lang.String uuid, long companyId);
346    
347            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
348            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(
349                    java.lang.String uuid, long companyId, int start, int end,
350                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
351    
352            /**
353            * Returns the number of document library file entry types.
354            *
355            * @return the number of document library file entry types
356            */
357            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
358            public int getDLFileEntryTypesCount();
359    
360            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
361            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
362                    long folderId);
363    
364            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
365            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
366                    long folderId, int start, int end);
367    
368            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
369            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
370                    long folderId, int start, int end,
371                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
372    
373            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
374            public int getDLFolderDLFileEntryTypesCount(long folderId);
375    
376            /**
377            * Returns the folderIds of the document library folders associated with the document library file entry type.
378            *
379            * @param fileEntryTypeId the fileEntryTypeId of the document library file entry type
380            * @return long[] the folderIds of document library folders associated with the document library file entry type
381            */
382            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
383            public long[] getDLFolderPrimaryKeys(long fileEntryTypeId);
384    
385            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
386            public long getDefaultFileEntryTypeId(long folderId)
387                    throws com.liferay.portal.kernel.exception.PortalException;
388    
389            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
390            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
391                    com.liferay.portal.kernel.lar.PortletDataContext portletDataContext);
392    
393            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
394            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
395                    long fileEntryTypeId)
396                    throws com.liferay.portal.kernel.exception.PortalException;
397    
398            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
399            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
400                    long groupId, java.lang.String fileEntryTypeKey)
401                    throws com.liferay.portal.kernel.exception.PortalException;
402    
403            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
404            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
405                    long[] groupIds);
406    
407            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
408            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFolderFileEntryTypes(
409                    long[] groupIds, long folderId, boolean inherited)
410                    throws com.liferay.portal.kernel.exception.PortalException;
411    
412            @Override
413            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
414            public com.liferay.portal.model.PersistedModel getPersistedModel(
415                    java.io.Serializable primaryKeyObj)
416                    throws com.liferay.portal.kernel.exception.PortalException;
417    
418            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
419            public boolean hasDDMStructureDLFileEntryType(long structureId,
420                    long fileEntryTypeId);
421    
422            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
423            public boolean hasDDMStructureDLFileEntryTypes(long structureId);
424    
425            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
426            public boolean hasDLFolderDLFileEntryType(long folderId,
427                    long fileEntryTypeId);
428    
429            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
430            public boolean hasDLFolderDLFileEntryTypes(long folderId);
431    
432            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
433            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
434                    long companyId, long[] groupIds, java.lang.String keywords,
435                    boolean includeBasicFileEntryType, int start, int end,
436                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
437    
438            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
439            public int searchCount(long companyId, long[] groupIds,
440                    java.lang.String keywords, boolean includeBasicFileEntryType);
441    
442            /**
443            * Sets the Spring bean ID for this bean.
444            *
445            * @param beanIdentifier the Spring bean ID for this bean
446            */
447            public void setBeanIdentifier(java.lang.String beanIdentifier);
448    
449            public void setDDMStructureDLFileEntryTypes(long structureId,
450                    long[] fileEntryTypeIds);
451    
452            public void setDLFolderDLFileEntryTypes(long folderId,
453                    long[] fileEntryTypeIds);
454    
455            public void unsetFolderFileEntryTypes(long folderId);
456    
457            /**
458            * 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.
459            *
460            * @param dlFileEntryType the document library file entry type
461            * @return the document library file entry type that was updated
462            */
463            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
464            public com.liferay.portlet.documentlibrary.model.DLFileEntryType updateDLFileEntryType(
465                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
466    
467            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntryFileEntryType(
468                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
469                    com.liferay.portal.service.ServiceContext serviceContext)
470                    throws com.liferay.portal.kernel.exception.PortalException;
471    
472            public void updateFileEntryType(long userId, long fileEntryTypeId,
473                    java.lang.String name, java.lang.String description,
474                    long[] ddmStructureIds,
475                    com.liferay.portal.service.ServiceContext serviceContext)
476                    throws com.liferay.portal.kernel.exception.PortalException;
477    
478            public void updateFileEntryType(long userId, long fileEntryTypeId,
479                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
480                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
481                    long[] ddmStructureIds,
482                    com.liferay.portal.service.ServiceContext serviceContext)
483                    throws com.liferay.portal.kernel.exception.PortalException;
484    
485            public void updateFolderFileEntryTypes(
486                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
487                    java.util.List<java.lang.Long> fileEntryTypeIds,
488                    long defaultFileEntryTypeId,
489                    com.liferay.portal.service.ServiceContext serviceContext);
490    }