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