001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.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    
023    /**
024     * The interface for the layout local service.
025     *
026     * <p>
027     * 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.
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see LayoutLocalServiceUtil
032     * @see com.liferay.portal.service.base.LayoutLocalServiceBaseImpl
033     * @see com.liferay.portal.service.impl.LayoutLocalServiceImpl
034     * @generated
035     */
036    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
037            PortalException.class, SystemException.class})
038    public interface LayoutLocalService extends PersistedModelLocalService {
039            /*
040             * NOTE FOR DEVELOPERS:
041             *
042             * Never modify or reference this interface directly. Always use {@link LayoutLocalServiceUtil} to access the layout local service. Add custom service methods to {@link com.liferay.portal.service.impl.LayoutLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
043             */
044    
045            /**
046            * Adds the layout to the database. Also notifies the appropriate model listeners.
047            *
048            * @param layout the layout
049            * @return the layout that was added
050            * @throws SystemException if a system exception occurred
051            */
052            public com.liferay.portal.model.Layout addLayout(
053                    com.liferay.portal.model.Layout layout)
054                    throws com.liferay.portal.kernel.exception.SystemException;
055    
056            /**
057            * Creates a new layout with the primary key. Does not add the layout to the database.
058            *
059            * @param plid the primary key for the new layout
060            * @return the new layout
061            */
062            public com.liferay.portal.model.Layout createLayout(long plid);
063    
064            /**
065            * Deletes the layout with the primary key from the database. Also notifies the appropriate model listeners.
066            *
067            * @param plid the primary key of the layout
068            * @throws PortalException if a layout with the primary key could not be found
069            * @throws SystemException if a system exception occurred
070            */
071            public void deleteLayout(long plid)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException;
074    
075            /**
076            * Deletes the layout from the database. Also notifies the appropriate model listeners.
077            *
078            * @param layout the layout
079            * @throws SystemException if a system exception occurred
080            */
081            public void deleteLayout(com.liferay.portal.model.Layout layout)
082                    throws com.liferay.portal.kernel.exception.SystemException;
083    
084            /**
085            * Performs a dynamic query on the database and returns the matching rows.
086            *
087            * @param dynamicQuery the dynamic query
088            * @return the matching rows
089            * @throws SystemException if a system exception occurred
090            */
091            @SuppressWarnings("rawtypes")
092            public java.util.List dynamicQuery(
093                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094                    throws com.liferay.portal.kernel.exception.SystemException;
095    
096            /**
097            * Performs a dynamic query on the database and returns a range of the matching rows.
098            *
099            * <p>
100            * 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.
101            * </p>
102            *
103            * @param dynamicQuery the dynamic query
104            * @param start the lower bound of the range of model instances
105            * @param end the upper bound of the range of model instances (not inclusive)
106            * @return the range of matching rows
107            * @throws SystemException if a system exception occurred
108            */
109            @SuppressWarnings("rawtypes")
110            public java.util.List dynamicQuery(
111                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112                    int end) throws com.liferay.portal.kernel.exception.SystemException;
113    
114            /**
115            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
116            *
117            * <p>
118            * 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.
119            * </p>
120            *
121            * @param dynamicQuery the dynamic query
122            * @param start the lower bound of the range of model instances
123            * @param end the upper bound of the range of model instances (not inclusive)
124            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
125            * @return the ordered range of matching rows
126            * @throws SystemException if a system exception occurred
127            */
128            @SuppressWarnings("rawtypes")
129            public java.util.List dynamicQuery(
130                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
131                    int end,
132                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133                    throws com.liferay.portal.kernel.exception.SystemException;
134    
135            /**
136            * Returns the number of rows that match the dynamic query.
137            *
138            * @param dynamicQuery the dynamic query
139            * @return the number of rows that match the dynamic query
140            * @throws SystemException if a system exception occurred
141            */
142            public long dynamicQueryCount(
143                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
144                    throws com.liferay.portal.kernel.exception.SystemException;
145    
146            /**
147            * Returns the layout with the primary key.
148            *
149            * @param plid the primary key of the layout
150            * @return the layout
151            * @throws PortalException if a layout with the primary key could not be found
152            * @throws SystemException if a system exception occurred
153            */
154            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
155            public com.liferay.portal.model.Layout getLayout(long plid)
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException;
158    
159            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
160            public com.liferay.portal.model.PersistedModel getPersistedModel(
161                    java.io.Serializable primaryKeyObj)
162                    throws com.liferay.portal.kernel.exception.PortalException,
163                            com.liferay.portal.kernel.exception.SystemException;
164    
165            /**
166            * Returns the layout with the UUID in the group.
167            *
168            * @param uuid the UUID of layout
169            * @param groupId the group id of the layout
170            * @return the layout
171            * @throws PortalException if a layout with the UUID in the group could not be found
172            * @throws SystemException if a system exception occurred
173            */
174            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
175            public com.liferay.portal.model.Layout getLayoutByUuidAndGroupId(
176                    java.lang.String uuid, long groupId)
177                    throws com.liferay.portal.kernel.exception.PortalException,
178                            com.liferay.portal.kernel.exception.SystemException;
179    
180            /**
181            * Returns a range of all the layouts.
182            *
183            * <p>
184            * 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.
185            * </p>
186            *
187            * @param start the lower bound of the range of layouts
188            * @param end the upper bound of the range of layouts (not inclusive)
189            * @return the range of layouts
190            * @throws SystemException if a system exception occurred
191            */
192            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
193            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
194                    int start, int end)
195                    throws com.liferay.portal.kernel.exception.SystemException;
196    
197            /**
198            * Returns the number of layouts.
199            *
200            * @return the number of layouts
201            * @throws SystemException if a system exception occurred
202            */
203            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
204            public int getLayoutsCount()
205                    throws com.liferay.portal.kernel.exception.SystemException;
206    
207            /**
208            * Updates the layout in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
209            *
210            * @param layout the layout
211            * @return the layout that was updated
212            * @throws SystemException if a system exception occurred
213            */
214            public com.liferay.portal.model.Layout updateLayout(
215                    com.liferay.portal.model.Layout layout)
216                    throws com.liferay.portal.kernel.exception.SystemException;
217    
218            /**
219            * Updates the layout in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
220            *
221            * @param layout the layout
222            * @param merge whether to merge the layout 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.
223            * @return the layout that was updated
224            * @throws SystemException if a system exception occurred
225            */
226            public com.liferay.portal.model.Layout updateLayout(
227                    com.liferay.portal.model.Layout layout, boolean merge)
228                    throws com.liferay.portal.kernel.exception.SystemException;
229    
230            /**
231            * Returns the Spring bean ID for this bean.
232            *
233            * @return the Spring bean ID for this bean
234            */
235            public java.lang.String getBeanIdentifier();
236    
237            /**
238            * Sets the Spring bean ID for this bean.
239            *
240            * @param beanIdentifier the Spring bean ID for this bean
241            */
242            public void setBeanIdentifier(java.lang.String beanIdentifier);
243    
244            public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
245                    boolean privateLayout, long parentLayoutId,
246                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
247                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
248                    java.lang.String description, java.lang.String type, boolean hidden,
249                    java.lang.String friendlyURL, long dlFolderId,
250                    com.liferay.portal.service.ServiceContext serviceContext)
251                    throws com.liferay.portal.kernel.exception.PortalException,
252                            com.liferay.portal.kernel.exception.SystemException;
253    
254            public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
255                    boolean privateLayout, long parentLayoutId,
256                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
257                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
258                    java.lang.String description, java.lang.String type, boolean hidden,
259                    java.lang.String friendlyURL,
260                    com.liferay.portal.service.ServiceContext serviceContext)
261                    throws com.liferay.portal.kernel.exception.PortalException,
262                            com.liferay.portal.kernel.exception.SystemException;
263    
264            public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
265                    boolean privateLayout, long parentLayoutId, java.lang.String name,
266                    java.lang.String title, java.lang.String description,
267                    java.lang.String type, boolean hidden, java.lang.String friendlyURL,
268                    long dlFolderId,
269                    com.liferay.portal.service.ServiceContext serviceContext)
270                    throws com.liferay.portal.kernel.exception.PortalException,
271                            com.liferay.portal.kernel.exception.SystemException;
272    
273            public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
274                    boolean privateLayout, long parentLayoutId, java.lang.String name,
275                    java.lang.String title, java.lang.String description,
276                    java.lang.String type, boolean hidden, java.lang.String friendlyURL,
277                    com.liferay.portal.service.ServiceContext serviceContext)
278                    throws com.liferay.portal.kernel.exception.PortalException,
279                            com.liferay.portal.kernel.exception.SystemException;
280    
281            public void deleteLayout(com.liferay.portal.model.Layout layout,
282                    boolean updateLayoutSet)
283                    throws com.liferay.portal.kernel.exception.PortalException,
284                            com.liferay.portal.kernel.exception.SystemException;
285    
286            public void deleteLayout(long groupId, boolean privateLayout, long layoutId)
287                    throws com.liferay.portal.kernel.exception.PortalException,
288                            com.liferay.portal.kernel.exception.SystemException;
289    
290            public void deleteLayouts(long groupId, boolean privateLayout)
291                    throws com.liferay.portal.kernel.exception.PortalException,
292                            com.liferay.portal.kernel.exception.SystemException;
293    
294            public byte[] exportLayouts(long groupId, boolean privateLayout,
295                    long[] layoutIds,
296                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
297                    java.util.Date startDate, java.util.Date endDate)
298                    throws com.liferay.portal.kernel.exception.PortalException,
299                            com.liferay.portal.kernel.exception.SystemException;
300    
301            public byte[] exportLayouts(long groupId, boolean privateLayout,
302                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
303                    java.util.Date startDate, java.util.Date endDate)
304                    throws com.liferay.portal.kernel.exception.PortalException,
305                            com.liferay.portal.kernel.exception.SystemException;
306    
307            public java.io.File exportLayoutsAsFile(long groupId,
308                    boolean privateLayout, long[] layoutIds,
309                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
310                    java.util.Date startDate, java.util.Date endDate)
311                    throws com.liferay.portal.kernel.exception.PortalException,
312                            com.liferay.portal.kernel.exception.SystemException;
313    
314            public byte[] exportPortletInfo(long plid, long groupId,
315                    java.lang.String portletId,
316                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
317                    java.util.Date startDate, java.util.Date endDate)
318                    throws com.liferay.portal.kernel.exception.PortalException,
319                            com.liferay.portal.kernel.exception.SystemException;
320    
321            public java.io.File exportPortletInfoAsFile(long plid, long groupId,
322                    java.lang.String portletId,
323                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
324                    java.util.Date startDate, java.util.Date endDate)
325                    throws com.liferay.portal.kernel.exception.PortalException,
326                            com.liferay.portal.kernel.exception.SystemException;
327    
328            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
329            public com.liferay.portal.model.Layout fetchLayoutByUuidAndGroupId(
330                    java.lang.String uuid, long groupId)
331                    throws com.liferay.portal.kernel.exception.SystemException;
332    
333            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
334            public long getDefaultPlid(long groupId)
335                    throws com.liferay.portal.kernel.exception.SystemException;
336    
337            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
338            public long getDefaultPlid(long groupId, boolean privateLayout)
339                    throws com.liferay.portal.kernel.exception.SystemException;
340    
341            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
342            public long getDefaultPlid(long groupId, boolean privateLayout,
343                    java.lang.String portletId)
344                    throws com.liferay.portal.kernel.exception.PortalException,
345                            com.liferay.portal.kernel.exception.SystemException;
346    
347            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
348            public com.liferay.portal.model.Layout getDLFolderLayout(long dlFolderId)
349                    throws com.liferay.portal.kernel.exception.PortalException,
350                            com.liferay.portal.kernel.exception.SystemException;
351    
352            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
353            public com.liferay.portal.model.Layout getFriendlyURLLayout(long groupId,
354                    boolean privateLayout, java.lang.String friendlyURL)
355                    throws com.liferay.portal.kernel.exception.PortalException,
356                            com.liferay.portal.kernel.exception.SystemException;
357    
358            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
359            public com.liferay.portal.model.Layout getLayout(long groupId,
360                    boolean privateLayout, long layoutId)
361                    throws com.liferay.portal.kernel.exception.PortalException,
362                            com.liferay.portal.kernel.exception.SystemException;
363    
364            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
365            public com.liferay.portal.model.Layout getLayoutByIconImageId(
366                    long iconImageId)
367                    throws com.liferay.portal.kernel.exception.PortalException,
368                            com.liferay.portal.kernel.exception.SystemException;
369    
370            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
371            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
372                    long groupId, boolean privateLayout)
373                    throws com.liferay.portal.kernel.exception.SystemException;
374    
375            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
376            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
377                    long groupId, boolean privateLayout, long parentLayoutId)
378                    throws com.liferay.portal.kernel.exception.SystemException;
379    
380            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
381            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
382                    long groupId, boolean privateLayout, long parentLayoutId, int start,
383                    int end) throws com.liferay.portal.kernel.exception.SystemException;
384    
385            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
386            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
387                    long groupId, boolean privateLayout, long[] layoutIds)
388                    throws com.liferay.portal.kernel.exception.PortalException,
389                            com.liferay.portal.kernel.exception.SystemException;
390    
391            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
392            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
393                    long groupId, boolean privateLayout, java.lang.String type)
394                    throws com.liferay.portal.kernel.exception.SystemException;
395    
396            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
397            public com.liferay.portal.model.LayoutReference[] getLayouts(
398                    long companyId, java.lang.String portletId,
399                    java.lang.String preferencesKey, java.lang.String preferencesValue)
400                    throws com.liferay.portal.kernel.exception.SystemException;
401    
402            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
403            public long getNextLayoutId(long groupId, boolean privateLayout)
404                    throws com.liferay.portal.kernel.exception.SystemException;
405    
406            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
407            public java.util.List<com.liferay.portal.model.Layout> getNullFriendlyURLLayouts()
408                    throws com.liferay.portal.kernel.exception.SystemException;
409    
410            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
411            public java.util.List<com.liferay.portal.model.Layout> getScopeGroupLayouts(
412                    long groupId, boolean privateLayout)
413                    throws com.liferay.portal.kernel.exception.SystemException;
414    
415            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
416            public boolean hasLayouts(long groupId, boolean privateLayout,
417                    long parentLayoutId)
418                    throws com.liferay.portal.kernel.exception.SystemException;
419    
420            public void importLayouts(long userId, long groupId, boolean privateLayout,
421                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
422                    byte[] bytes)
423                    throws com.liferay.portal.kernel.exception.PortalException,
424                            com.liferay.portal.kernel.exception.SystemException;
425    
426            public void importLayouts(long userId, long groupId, boolean privateLayout,
427                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
428                    java.io.File file)
429                    throws com.liferay.portal.kernel.exception.PortalException,
430                            com.liferay.portal.kernel.exception.SystemException;
431    
432            public void importLayouts(long userId, long groupId, boolean privateLayout,
433                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
434                    java.io.InputStream is)
435                    throws com.liferay.portal.kernel.exception.PortalException,
436                            com.liferay.portal.kernel.exception.SystemException;
437    
438            public void importPortletInfo(long userId, long plid, long groupId,
439                    java.lang.String portletId,
440                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
441                    java.io.File file)
442                    throws com.liferay.portal.kernel.exception.PortalException,
443                            com.liferay.portal.kernel.exception.SystemException;
444    
445            public void importPortletInfo(long userId, long plid, long groupId,
446                    java.lang.String portletId,
447                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
448                    java.io.InputStream is)
449                    throws com.liferay.portal.kernel.exception.PortalException,
450                            com.liferay.portal.kernel.exception.SystemException;
451    
452            public void setLayouts(long groupId, boolean privateLayout,
453                    long parentLayoutId, long[] layoutIds)
454                    throws com.liferay.portal.kernel.exception.PortalException,
455                            com.liferay.portal.kernel.exception.SystemException;
456    
457            public com.liferay.portal.model.Layout updateFriendlyURL(long plid,
458                    java.lang.String friendlyURL)
459                    throws com.liferay.portal.kernel.exception.PortalException,
460                            com.liferay.portal.kernel.exception.SystemException;
461    
462            public com.liferay.portal.model.Layout updateLayout(long groupId,
463                    boolean privateLayout, long layoutId, long parentLayoutId,
464                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
465                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
466                    java.lang.String description, java.lang.String type, boolean hidden,
467                    java.lang.String friendlyURL, java.lang.Boolean iconImage,
468                    byte[] iconBytes,
469                    com.liferay.portal.service.ServiceContext serviceContext)
470                    throws com.liferay.portal.kernel.exception.PortalException,
471                            com.liferay.portal.kernel.exception.SystemException;
472    
473            public com.liferay.portal.model.Layout updateLayout(long groupId,
474                    boolean privateLayout, long layoutId, long parentLayoutId,
475                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
476                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
477                    java.lang.String description, java.lang.String type, boolean hidden,
478                    java.lang.String friendlyURL,
479                    com.liferay.portal.service.ServiceContext serviceContext)
480                    throws com.liferay.portal.kernel.exception.PortalException,
481                            com.liferay.portal.kernel.exception.SystemException;
482    
483            public com.liferay.portal.model.Layout updateLayout(long groupId,
484                    boolean privateLayout, long layoutId, java.lang.String typeSettings)
485                    throws com.liferay.portal.kernel.exception.PortalException,
486                            com.liferay.portal.kernel.exception.SystemException;
487    
488            public com.liferay.portal.model.Layout updateLookAndFeel(long groupId,
489                    boolean privateLayout, long layoutId, java.lang.String themeId,
490                    java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
491                    throws com.liferay.portal.kernel.exception.PortalException,
492                            com.liferay.portal.kernel.exception.SystemException;
493    
494            public com.liferay.portal.model.Layout updateName(
495                    com.liferay.portal.model.Layout layout, java.lang.String name,
496                    java.lang.String languageId)
497                    throws com.liferay.portal.kernel.exception.PortalException,
498                            com.liferay.portal.kernel.exception.SystemException;
499    
500            public com.liferay.portal.model.Layout updateName(long groupId,
501                    boolean privateLayout, long layoutId, java.lang.String name,
502                    java.lang.String languageId)
503                    throws com.liferay.portal.kernel.exception.PortalException,
504                            com.liferay.portal.kernel.exception.SystemException;
505    
506            public com.liferay.portal.model.Layout updateName(long plid,
507                    java.lang.String name, java.lang.String languageId)
508                    throws com.liferay.portal.kernel.exception.PortalException,
509                            com.liferay.portal.kernel.exception.SystemException;
510    
511            public com.liferay.portal.model.Layout updateParentLayoutId(long groupId,
512                    boolean privateLayout, long layoutId, long parentLayoutId)
513                    throws com.liferay.portal.kernel.exception.PortalException,
514                            com.liferay.portal.kernel.exception.SystemException;
515    
516            public com.liferay.portal.model.Layout updateParentLayoutId(long plid,
517                    long parentPlid)
518                    throws com.liferay.portal.kernel.exception.PortalException,
519                            com.liferay.portal.kernel.exception.SystemException;
520    
521            public com.liferay.portal.model.Layout updatePriority(
522                    com.liferay.portal.model.Layout layout, int priority)
523                    throws com.liferay.portal.kernel.exception.SystemException;
524    
525            public com.liferay.portal.model.Layout updatePriority(long groupId,
526                    boolean privateLayout, long layoutId, int priority)
527                    throws com.liferay.portal.kernel.exception.PortalException,
528                            com.liferay.portal.kernel.exception.SystemException;
529    
530            public com.liferay.portal.model.Layout updatePriority(long plid,
531                    int priority)
532                    throws com.liferay.portal.kernel.exception.PortalException,
533                            com.liferay.portal.kernel.exception.SystemException;
534    
535            /**
536            * @see com.liferay.portlet.portletconfiguration.action.EditScopeAction#updateScope
537            */
538            public void updateScopedPortletNames(long groupId, boolean privateLayout,
539                    long layoutId, java.lang.String name, java.lang.String languageId)
540                    throws com.liferay.portal.kernel.exception.PortalException,
541                            com.liferay.portal.kernel.exception.SystemException;
542    }