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 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 PortalException;
097    
098            public void cascadeFileEntryTypes(long userId,
099                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
100                    throws 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) throws PortalException;
147    
148            public void deleteDLFolderDLFileEntryType(long folderId,
149                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
150    
151            public void deleteDLFolderDLFileEntryType(long folderId,
152                    long fileEntryTypeId);
153    
154            public void deleteDLFolderDLFileEntryTypes(long folderId,
155                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes);
156    
157            public void deleteDLFolderDLFileEntryTypes(long folderId,
158                    long[] fileEntryTypeIds);
159    
160            @com.liferay.portal.kernel.systemevent.SystemEvent(action = SystemEventConstants.ACTION_SKIP, type = SystemEventConstants.TYPE_DELETE)
161            public void deleteFileEntryType(
162                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
163                    throws PortalException;
164    
165            public void deleteFileEntryType(long fileEntryTypeId)
166                    throws PortalException;
167    
168            public void deleteFileEntryTypes(long groupId) throws PortalException;
169    
170            /**
171            * @throws PortalException
172            */
173            @Override
174            public com.liferay.portal.model.PersistedModel deletePersistedModel(
175                    com.liferay.portal.model.PersistedModel persistedModel)
176                    throws PortalException;
177    
178            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
179    
180            /**
181            * Performs a dynamic query on the database and returns the matching rows.
182            *
183            * @param dynamicQuery the dynamic query
184            * @return the matching rows
185            */
186            public <T> java.util.List<T> dynamicQuery(
187                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
188    
189            /**
190            * Performs a dynamic query on the database and returns a range of the matching rows.
191            *
192            * <p>
193            * 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.
194            * </p>
195            *
196            * @param dynamicQuery the dynamic query
197            * @param start the lower bound of the range of model instances
198            * @param end the upper bound of the range of model instances (not inclusive)
199            * @return the range of matching rows
200            */
201            public <T> java.util.List<T> dynamicQuery(
202                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
203                    int end);
204    
205            /**
206            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
207            *
208            * <p>
209            * 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.
210            * </p>
211            *
212            * @param dynamicQuery the dynamic query
213            * @param start the lower bound of the range of model instances
214            * @param end the upper bound of the range of model instances (not inclusive)
215            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
216            * @return the ordered range of matching rows
217            */
218            public <T> java.util.List<T> dynamicQuery(
219                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
220                    int end,
221                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
222    
223            /**
224            * Returns the number of rows matching the dynamic query.
225            *
226            * @param dynamicQuery the dynamic query
227            * @return the number of rows matching the dynamic query
228            */
229            public long dynamicQueryCount(
230                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
231    
232            /**
233            * Returns the number of rows matching the dynamic query.
234            *
235            * @param dynamicQuery the dynamic query
236            * @param projection the projection to apply to the query
237            * @return the number of rows matching the dynamic query
238            */
239            public long dynamicQueryCount(
240                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
241                    com.liferay.portal.kernel.dao.orm.Projection projection);
242    
243            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchDLFileEntryType(
245                    long fileEntryTypeId);
246    
247            /**
248            * Returns the document library file entry type matching the UUID and group.
249            *
250            * @param uuid the document library file entry type's UUID
251            * @param groupId the primary key of the group
252            * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
253            */
254            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
255            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchDLFileEntryTypeByUuidAndGroupId(
256                    java.lang.String uuid, long groupId);
257    
258            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
259            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchFileEntryType(
260                    long fileEntryTypeId);
261    
262            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
263            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchFileEntryType(
264                    long groupId, java.lang.String fileEntryTypeKey);
265    
266            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
267            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
268    
269            /**
270            * Returns the Spring bean ID for this bean.
271            *
272            * @return the Spring bean ID for this bean
273            */
274            public java.lang.String getBeanIdentifier();
275    
276            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
277            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
278                    long structureId);
279    
280            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
281            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
282                    long structureId, int start, int end);
283    
284            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
285            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
286                    long structureId, int start, int end,
287                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
288    
289            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
290            public int getDDMStructureDLFileEntryTypesCount(long structureId);
291    
292            /**
293            * Returns the structureIds of the d d m structures associated with the document library file entry type.
294            *
295            * @param fileEntryTypeId the fileEntryTypeId of the document library file entry type
296            * @return long[] the structureIds of d d m structures associated with the document library file entry type
297            */
298            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
299            public long[] getDDMStructurePrimaryKeys(long fileEntryTypeId);
300    
301            /**
302            * Returns the document library file entry type with the primary key.
303            *
304            * @param fileEntryTypeId the primary key of the document library file entry type
305            * @return the document library file entry type
306            * @throws PortalException if a document library file entry type with the primary key could not be found
307            */
308            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
309            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getDLFileEntryType(
310                    long fileEntryTypeId) throws PortalException;
311    
312            /**
313            * Returns the document library file entry type matching the UUID and group.
314            *
315            * @param uuid the document library file entry type's UUID
316            * @param groupId the primary key of the group
317            * @return the matching document library file entry type
318            * @throws PortalException if a matching document library file entry type could not be found
319            */
320            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
321            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(
322                    java.lang.String uuid, long groupId) throws PortalException;
323    
324            /**
325            * Returns a range of all the document library file entry types.
326            *
327            * <p>
328            * 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.
329            * </p>
330            *
331            * @param start the lower bound of the range of document library file entry types
332            * @param end the upper bound of the range of document library file entry types (not inclusive)
333            * @return the range of document library file entry types
334            */
335            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
336            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
337                    int start, int end);
338    
339            /**
340            * Returns all the document library file entry types matching the UUID and company.
341            *
342            * @param uuid the UUID of the document library file entry types
343            * @param companyId the primary key of the company
344            * @return the matching document library file entry types, or an empty list if no matches were found
345            */
346            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
347            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(
348                    java.lang.String uuid, long companyId);
349    
350            /**
351            * Returns a range of document library file entry types matching the UUID and company.
352            *
353            * @param uuid the UUID of the document library file entry types
354            * @param companyId the primary key of the company
355            * @param start the lower bound of the range of document library file entry types
356            * @param end the upper bound of the range of document library file entry types (not inclusive)
357            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
358            * @return the range of matching document library file entry types, or an empty list if no matches were found
359            */
360            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
361            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(
362                    java.lang.String uuid, long companyId, int start, int end,
363                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
364    
365            /**
366            * Returns the number of document library file entry types.
367            *
368            * @return the number of document library file entry types
369            */
370            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
371            public int getDLFileEntryTypesCount();
372    
373            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
374            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
375                    long folderId);
376    
377            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
378            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
379                    long folderId, int start, int end);
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                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
385    
386            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
387            public int getDLFolderDLFileEntryTypesCount(long folderId);
388    
389            /**
390            * Returns the folderIds of the document library folders associated with the document library file entry type.
391            *
392            * @param fileEntryTypeId the fileEntryTypeId of the document library file entry type
393            * @return long[] the folderIds of document library folders associated with the document library file entry type
394            */
395            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
396            public long[] getDLFolderPrimaryKeys(long fileEntryTypeId);
397    
398            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
399            public long getDefaultFileEntryTypeId(long folderId)
400                    throws PortalException;
401    
402            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
403            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
404                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext);
405    
406            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
407            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
408                    long fileEntryTypeId) throws PortalException;
409    
410            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
411            public com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
412                    long groupId, java.lang.String fileEntryTypeKey)
413                    throws PortalException;
414    
415            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
416            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
417                    long[] groupIds);
418    
419            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
420            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFolderFileEntryTypes(
421                    long[] groupIds, long folderId, boolean inherited)
422                    throws PortalException;
423    
424            @Override
425            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
426            public com.liferay.portal.model.PersistedModel getPersistedModel(
427                    java.io.Serializable primaryKeyObj) throws PortalException;
428    
429            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
430            public boolean hasDDMStructureDLFileEntryType(long structureId,
431                    long fileEntryTypeId);
432    
433            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
434            public boolean hasDDMStructureDLFileEntryTypes(long structureId);
435    
436            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
437            public boolean hasDLFolderDLFileEntryType(long folderId,
438                    long fileEntryTypeId);
439    
440            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
441            public boolean hasDLFolderDLFileEntryTypes(long folderId);
442    
443            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
444            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
445                    long companyId, long[] groupIds, java.lang.String keywords,
446                    boolean includeBasicFileEntryType, int start, int end,
447                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator);
448    
449            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
450            public int searchCount(long companyId, long[] groupIds,
451                    java.lang.String keywords, boolean includeBasicFileEntryType);
452    
453            /**
454            * Sets the Spring bean ID for this bean.
455            *
456            * @param beanIdentifier the Spring bean ID for this bean
457            */
458            public void setBeanIdentifier(java.lang.String beanIdentifier);
459    
460            public void setDDMStructureDLFileEntryTypes(long structureId,
461                    long[] fileEntryTypeIds);
462    
463            public void setDLFolderDLFileEntryTypes(long folderId,
464                    long[] fileEntryTypeIds);
465    
466            public void unsetFolderFileEntryTypes(long folderId);
467    
468            /**
469            * 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.
470            *
471            * @param dlFileEntryType the document library file entry type
472            * @return the document library file entry type that was updated
473            */
474            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
475            public com.liferay.portlet.documentlibrary.model.DLFileEntryType updateDLFileEntryType(
476                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
477    
478            public com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntryFileEntryType(
479                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
480                    com.liferay.portal.service.ServiceContext serviceContext)
481                    throws PortalException;
482    
483            public void updateFileEntryType(long userId, long fileEntryTypeId,
484                    java.lang.String name, java.lang.String description,
485                    long[] ddmStructureIds,
486                    com.liferay.portal.service.ServiceContext serviceContext)
487                    throws PortalException;
488    
489            public void updateFileEntryType(long userId, long fileEntryTypeId,
490                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
491                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
492                    long[] ddmStructureIds,
493                    com.liferay.portal.service.ServiceContext serviceContext)
494                    throws PortalException;
495    
496            public void updateFolderFileEntryTypes(
497                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
498                    java.util.List<java.lang.Long> fileEntryTypeIds,
499                    long defaultFileEntryTypeId,
500                    com.liferay.portal.service.ServiceContext serviceContext);
501    }