Liferay 6.0-ee-sp2

com.liferay.portal.service
Class LayoutLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.LayoutLocalServiceWrapper
All Implemented Interfaces:
LayoutLocalService, PersistedModelLocalService

public class LayoutLocalServiceWrapper
extends Object
implements LayoutLocalService

This class is a wrapper for LayoutLocalService.

See Also:
LayoutLocalService

Constructor Summary
LayoutLocalServiceWrapper(LayoutLocalService layoutLocalService)
           
 
Method Summary
 Layout addLayout(Layout layout)
          Adds the layout to the database.
 Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, long dlFolderId, ServiceContext serviceContext)
           
 Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, ServiceContext serviceContext)
           
 Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL, long dlFolderId, ServiceContext serviceContext)
           
 Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL, ServiceContext serviceContext)
           
 Layout createLayout(long plid)
          Creates a new layout with the primary key.
 void deleteLayout(Layout layout)
          Deletes the layout from the database.
 void deleteLayout(Layout layout, boolean updateLayoutSet)
           
 void deleteLayout(long plid)
          Deletes the layout with the primary key from the database.
 void deleteLayout(long groupId, boolean privateLayout, long layoutId)
           
 void deleteLayouts(long groupId, boolean privateLayout)
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 byte[] exportLayouts(long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 byte[] exportLayouts(long groupId, boolean privateLayout, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 File exportLayoutsAsFile(long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 byte[] exportPortletInfo(long plid, long groupId, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 File exportPortletInfoAsFile(long plid, long groupId, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate)
           
 Layout fetchLayoutByUuidAndGroupId(String uuid, long groupId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 long getDefaultPlid(long groupId)
           
 long getDefaultPlid(long groupId, boolean privateLayout)
           
 long getDefaultPlid(long groupId, boolean privateLayout, String portletId)
           
 Layout getDLFolderLayout(long dlFolderId)
           
 Layout getFriendlyURLLayout(long groupId, boolean privateLayout, String friendlyURL)
           
 Layout getLayout(long plid)
          Returns the layout with the primary key.
 Layout getLayout(long groupId, boolean privateLayout, long layoutId)
           
 Layout getLayoutByIconImageId(long iconImageId)
           
 Layout getLayoutByUuidAndGroupId(String uuid, long groupId)
          Returns the layout with the UUID in the group.
 List<Layout> getLayouts(int start, int end)
          Returns a range of all the layouts.
 List<Layout> getLayouts(long groupId, boolean privateLayout)
           
 List<Layout> getLayouts(long groupId, boolean privateLayout, long parentLayoutId)
           
 List<Layout> getLayouts(long groupId, boolean privateLayout, long[] layoutIds)
           
 List<Layout> getLayouts(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
           
 List<Layout> getLayouts(long groupId, boolean privateLayout, String type)
           
 LayoutReference[] getLayouts(long companyId, String portletId, String preferencesKey, String preferencesValue)
           
 int getLayoutsCount()
          Returns the number of layouts.
 long getNextLayoutId(long groupId, boolean privateLayout)
           
 List<Layout> getNullFriendlyURLLayouts()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 List<Layout> getScopeGroupLayouts(long groupId, boolean privateLayout)
           
 LayoutLocalService getWrappedLayoutLocalService()
           
 boolean hasLayouts(long groupId, boolean privateLayout, long parentLayoutId)
           
 void importLayouts(long userId, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, byte[] bytes)
           
 void importLayouts(long userId, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, File file)
           
 void importLayouts(long userId, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, InputStream is)
           
 void importPortletInfo(long userId, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, File file)
           
 void importPortletInfo(long userId, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, InputStream is)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setLayouts(long groupId, boolean privateLayout, long parentLayoutId, long[] layoutIds)
           
 void setWrappedLayoutLocalService(LayoutLocalService layoutLocalService)
           
 Layout updateFriendlyURL(long plid, String friendlyURL)
           
 Layout updateLayout(Layout layout)
          Updates the layout in the database or adds it if it does not yet exist.
 Layout updateLayout(Layout layout, boolean merge)
          Updates the layout in the database or adds it if it does not yet exist.
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, Boolean iconImage, byte[] iconBytes, ServiceContext serviceContext)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, ServiceContext serviceContext)
           
 Layout updateLayout(long groupId, boolean privateLayout, long layoutId, String typeSettings)
           
 Layout updateLookAndFeel(long groupId, boolean privateLayout, long layoutId, String themeId, String colorSchemeId, String css, boolean wapTheme)
           
 Layout updateName(Layout layout, String name, String languageId)
           
 Layout updateName(long groupId, boolean privateLayout, long layoutId, String name, String languageId)
           
 Layout updateName(long plid, String name, String languageId)
           
 Layout updateParentLayoutId(long groupId, boolean privateLayout, long layoutId, long parentLayoutId)
           
 Layout updateParentLayoutId(long plid, long parentPlid)
           
 Layout updatePriority(Layout layout, int priority)
           
 Layout updatePriority(long groupId, boolean privateLayout, long layoutId, int priority)
           
 Layout updatePriority(long plid, int priority)
           
 void updateScopedPortletNames(long groupId, boolean privateLayout, long layoutId, String name, String languageId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutLocalServiceWrapper

public LayoutLocalServiceWrapper(LayoutLocalService layoutLocalService)
Method Detail

addLayout

public Layout addLayout(Layout layout)
                 throws SystemException
Adds the layout to the database. Also notifies the appropriate model listeners.

Specified by:
addLayout in interface LayoutLocalService
Parameters:
layout - the layout
Returns:
the layout that was added
Throws:
SystemException - if a system exception occurred

createLayout

public Layout createLayout(long plid)
Creates a new layout with the primary key. Does not add the layout to the database.

Specified by:
createLayout in interface LayoutLocalService
Parameters:
plid - the primary key for the new layout
Returns:
the new layout

deleteLayout

public void deleteLayout(long plid)
                  throws PortalException,
                         SystemException
Deletes the layout with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayout in interface LayoutLocalService
Parameters:
plid - the primary key of the layout
Throws:
PortalException - if a layout with the primary key could not be found
SystemException - if a system exception occurred

deleteLayout

public void deleteLayout(Layout layout)
                  throws SystemException
Deletes the layout from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayout in interface LayoutLocalService
Parameters:
layout - the layout
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface LayoutLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface LayoutLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
dynamicQuery in interface LayoutLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface LayoutLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

getLayout

public Layout getLayout(long plid)
                 throws PortalException,
                        SystemException
Returns the layout with the primary key.

Specified by:
getLayout in interface LayoutLocalService
Parameters:
plid - the primary key of the layout
Returns:
the layout
Throws:
PortalException - if a layout with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface LayoutLocalService
Specified by:
getPersistedModel in interface PersistedModelLocalService
Throws:
PortalException
SystemException

getLayoutByUuidAndGroupId

public Layout getLayoutByUuidAndGroupId(String uuid,
                                        long groupId)
                                 throws PortalException,
                                        SystemException
Returns the layout with the UUID in the group.

Specified by:
getLayoutByUuidAndGroupId in interface LayoutLocalService
Parameters:
uuid - the UUID of layout
groupId - the group id of the layout
Returns:
the layout
Throws:
PortalException - if a layout with the UUID in the group could not be found
SystemException - if a system exception occurred

getLayouts

public List<Layout> getLayouts(int start,
                               int end)
                        throws SystemException
Returns a range of all the layouts.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getLayouts in interface LayoutLocalService
Parameters:
start - the lower bound of the range of layouts
end - the upper bound of the range of layouts (not inclusive)
Returns:
the range of layouts
Throws:
SystemException - if a system exception occurred

getLayoutsCount

public int getLayoutsCount()
                    throws SystemException
Returns the number of layouts.

Specified by:
getLayoutsCount in interface LayoutLocalService
Returns:
the number of layouts
Throws:
SystemException - if a system exception occurred

updateLayout

public Layout updateLayout(Layout layout)
                    throws SystemException
Updates the layout in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateLayout in interface LayoutLocalService
Parameters:
layout - the layout
Returns:
the layout that was updated
Throws:
SystemException - if a system exception occurred

updateLayout

public Layout updateLayout(Layout layout,
                           boolean merge)
                    throws SystemException
Updates the layout in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateLayout in interface LayoutLocalService
Parameters:
layout - the layout
merge - whether to merge the layout with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the layout that was updated
Throws:
SystemException - if a system exception occurred

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface LayoutLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface LayoutLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addLayout

public Layout addLayout(long userId,
                        long groupId,
                        boolean privateLayout,
                        long parentLayoutId,
                        Map<Locale,String> localeNamesMap,
                        Map<Locale,String> localeTitlesMap,
                        String description,
                        String type,
                        boolean hidden,
                        String friendlyURL,
                        long dlFolderId,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

addLayout

public Layout addLayout(long userId,
                        long groupId,
                        boolean privateLayout,
                        long parentLayoutId,
                        Map<Locale,String> localeNamesMap,
                        Map<Locale,String> localeTitlesMap,
                        String description,
                        String type,
                        boolean hidden,
                        String friendlyURL,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

addLayout

public Layout addLayout(long userId,
                        long groupId,
                        boolean privateLayout,
                        long parentLayoutId,
                        String name,
                        String title,
                        String description,
                        String type,
                        boolean hidden,
                        String friendlyURL,
                        long dlFolderId,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

addLayout

public Layout addLayout(long userId,
                        long groupId,
                        boolean privateLayout,
                        long parentLayoutId,
                        String name,
                        String title,
                        String description,
                        String type,
                        boolean hidden,
                        String friendlyURL,
                        ServiceContext serviceContext)
                 throws PortalException,
                        SystemException
Specified by:
addLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

deleteLayout

public void deleteLayout(Layout layout,
                         boolean updateLayoutSet)
                  throws PortalException,
                         SystemException
Specified by:
deleteLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

deleteLayout

public void deleteLayout(long groupId,
                         boolean privateLayout,
                         long layoutId)
                  throws PortalException,
                         SystemException
Specified by:
deleteLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

deleteLayouts

public void deleteLayouts(long groupId,
                          boolean privateLayout)
                   throws PortalException,
                          SystemException
Specified by:
deleteLayouts in interface LayoutLocalService
Throws:
PortalException
SystemException

exportLayouts

public byte[] exportLayouts(long groupId,
                            boolean privateLayout,
                            long[] layoutIds,
                            Map<String,String[]> parameterMap,
                            Date startDate,
                            Date endDate)
                     throws PortalException,
                            SystemException
Specified by:
exportLayouts in interface LayoutLocalService
Throws:
PortalException
SystemException

exportLayouts

public byte[] exportLayouts(long groupId,
                            boolean privateLayout,
                            Map<String,String[]> parameterMap,
                            Date startDate,
                            Date endDate)
                     throws PortalException,
                            SystemException
Specified by:
exportLayouts in interface LayoutLocalService
Throws:
PortalException
SystemException

exportLayoutsAsFile

public File exportLayoutsAsFile(long groupId,
                                boolean privateLayout,
                                long[] layoutIds,
                                Map<String,String[]> parameterMap,
                                Date startDate,
                                Date endDate)
                         throws PortalException,
                                SystemException
Specified by:
exportLayoutsAsFile in interface LayoutLocalService
Throws:
PortalException
SystemException

exportPortletInfo

public byte[] exportPortletInfo(long plid,
                                long groupId,
                                String portletId,
                                Map<String,String[]> parameterMap,
                                Date startDate,
                                Date endDate)
                         throws PortalException,
                                SystemException
Specified by:
exportPortletInfo in interface LayoutLocalService
Throws:
PortalException
SystemException

exportPortletInfoAsFile

public File exportPortletInfoAsFile(long plid,
                                    long groupId,
                                    String portletId,
                                    Map<String,String[]> parameterMap,
                                    Date startDate,
                                    Date endDate)
                             throws PortalException,
                                    SystemException
Specified by:
exportPortletInfoAsFile in interface LayoutLocalService
Throws:
PortalException
SystemException

fetchLayoutByUuidAndGroupId

public Layout fetchLayoutByUuidAndGroupId(String uuid,
                                          long groupId)
                                   throws SystemException
Specified by:
fetchLayoutByUuidAndGroupId in interface LayoutLocalService
Throws:
SystemException

getDefaultPlid

public long getDefaultPlid(long groupId)
                    throws SystemException
Specified by:
getDefaultPlid in interface LayoutLocalService
Throws:
SystemException

getDefaultPlid

public long getDefaultPlid(long groupId,
                           boolean privateLayout)
                    throws SystemException
Specified by:
getDefaultPlid in interface LayoutLocalService
Throws:
SystemException

getDefaultPlid

public long getDefaultPlid(long groupId,
                           boolean privateLayout,
                           String portletId)
                    throws PortalException,
                           SystemException
Specified by:
getDefaultPlid in interface LayoutLocalService
Throws:
PortalException
SystemException

getDLFolderLayout

public Layout getDLFolderLayout(long dlFolderId)
                         throws PortalException,
                                SystemException
Specified by:
getDLFolderLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

getFriendlyURLLayout

public Layout getFriendlyURLLayout(long groupId,
                                   boolean privateLayout,
                                   String friendlyURL)
                            throws PortalException,
                                   SystemException
Specified by:
getFriendlyURLLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

getLayout

public Layout getLayout(long groupId,
                        boolean privateLayout,
                        long layoutId)
                 throws PortalException,
                        SystemException
Specified by:
getLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

getLayoutByIconImageId

public Layout getLayoutByIconImageId(long iconImageId)
                              throws PortalException,
                                     SystemException
Specified by:
getLayoutByIconImageId in interface LayoutLocalService
Throws:
PortalException
SystemException

getLayouts

public List<Layout> getLayouts(long groupId,
                               boolean privateLayout)
                        throws SystemException
Specified by:
getLayouts in interface LayoutLocalService
Throws:
SystemException

getLayouts

public List<Layout> getLayouts(long groupId,
                               boolean privateLayout,
                               long parentLayoutId)
                        throws SystemException
Specified by:
getLayouts in interface LayoutLocalService
Throws:
SystemException

getLayouts

public List<Layout> getLayouts(long groupId,
                               boolean privateLayout,
                               long parentLayoutId,
                               int start,
                               int end)
                        throws SystemException
Specified by:
getLayouts in interface LayoutLocalService
Throws:
SystemException

getLayouts

public List<Layout> getLayouts(long groupId,
                               boolean privateLayout,
                               long[] layoutIds)
                        throws PortalException,
                               SystemException
Specified by:
getLayouts in interface LayoutLocalService
Throws:
PortalException
SystemException

getLayouts

public List<Layout> getLayouts(long groupId,
                               boolean privateLayout,
                               String type)
                        throws SystemException
Specified by:
getLayouts in interface LayoutLocalService
Throws:
SystemException

getLayouts

public LayoutReference[] getLayouts(long companyId,
                                    String portletId,
                                    String preferencesKey,
                                    String preferencesValue)
                             throws SystemException
Specified by:
getLayouts in interface LayoutLocalService
Throws:
SystemException

getNextLayoutId

public long getNextLayoutId(long groupId,
                            boolean privateLayout)
                     throws SystemException
Specified by:
getNextLayoutId in interface LayoutLocalService
Throws:
SystemException

getNullFriendlyURLLayouts

public List<Layout> getNullFriendlyURLLayouts()
                                       throws SystemException
Specified by:
getNullFriendlyURLLayouts in interface LayoutLocalService
Throws:
SystemException

getScopeGroupLayouts

public List<Layout> getScopeGroupLayouts(long groupId,
                                         boolean privateLayout)
                                  throws SystemException
Specified by:
getScopeGroupLayouts in interface LayoutLocalService
Throws:
SystemException

hasLayouts

public boolean hasLayouts(long groupId,
                          boolean privateLayout,
                          long parentLayoutId)
                   throws SystemException
Specified by:
hasLayouts in interface LayoutLocalService
Throws:
SystemException

importLayouts

public void importLayouts(long userId,
                          long groupId,
                          boolean privateLayout,
                          Map<String,String[]> parameterMap,
                          byte[] bytes)
                   throws PortalException,
                          SystemException
Specified by:
importLayouts in interface LayoutLocalService
Throws:
PortalException
SystemException

importLayouts

public void importLayouts(long userId,
                          long groupId,
                          boolean privateLayout,
                          Map<String,String[]> parameterMap,
                          File file)
                   throws PortalException,
                          SystemException
Specified by:
importLayouts in interface LayoutLocalService
Throws:
PortalException
SystemException

importLayouts

public void importLayouts(long userId,
                          long groupId,
                          boolean privateLayout,
                          Map<String,String[]> parameterMap,
                          InputStream is)
                   throws PortalException,
                          SystemException
Specified by:
importLayouts in interface LayoutLocalService
Throws:
PortalException
SystemException

importPortletInfo

public void importPortletInfo(long userId,
                              long plid,
                              long groupId,
                              String portletId,
                              Map<String,String[]> parameterMap,
                              File file)
                       throws PortalException,
                              SystemException
Specified by:
importPortletInfo in interface LayoutLocalService
Throws:
PortalException
SystemException

importPortletInfo

public void importPortletInfo(long userId,
                              long plid,
                              long groupId,
                              String portletId,
                              Map<String,String[]> parameterMap,
                              InputStream is)
                       throws PortalException,
                              SystemException
Specified by:
importPortletInfo in interface LayoutLocalService
Throws:
PortalException
SystemException

setLayouts

public void setLayouts(long groupId,
                       boolean privateLayout,
                       long parentLayoutId,
                       long[] layoutIds)
                throws PortalException,
                       SystemException
Specified by:
setLayouts in interface LayoutLocalService
Throws:
PortalException
SystemException

updateFriendlyURL

public Layout updateFriendlyURL(long plid,
                                String friendlyURL)
                         throws PortalException,
                                SystemException
Specified by:
updateFriendlyURL in interface LayoutLocalService
Throws:
PortalException
SystemException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           long parentLayoutId,
                           Map<Locale,String> localeNamesMap,
                           Map<Locale,String> localeTitlesMap,
                           String description,
                           String type,
                           boolean hidden,
                           String friendlyURL,
                           Boolean iconImage,
                           byte[] iconBytes,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
updateLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           long parentLayoutId,
                           Map<Locale,String> localeNamesMap,
                           Map<Locale,String> localeTitlesMap,
                           String description,
                           String type,
                           boolean hidden,
                           String friendlyURL,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Specified by:
updateLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

updateLayout

public Layout updateLayout(long groupId,
                           boolean privateLayout,
                           long layoutId,
                           String typeSettings)
                    throws PortalException,
                           SystemException
Specified by:
updateLayout in interface LayoutLocalService
Throws:
PortalException
SystemException

updateLookAndFeel

public Layout updateLookAndFeel(long groupId,
                                boolean privateLayout,
                                long layoutId,
                                String themeId,
                                String colorSchemeId,
                                String css,
                                boolean wapTheme)
                         throws PortalException,
                                SystemException
Specified by:
updateLookAndFeel in interface LayoutLocalService
Throws:
PortalException
SystemException

updateName

public Layout updateName(Layout layout,
                         String name,
                         String languageId)
                  throws PortalException,
                         SystemException
Specified by:
updateName in interface LayoutLocalService
Throws:
PortalException
SystemException

updateName

public Layout updateName(long groupId,
                         boolean privateLayout,
                         long layoutId,
                         String name,
                         String languageId)
                  throws PortalException,
                         SystemException
Specified by:
updateName in interface LayoutLocalService
Throws:
PortalException
SystemException

updateName

public Layout updateName(long plid,
                         String name,
                         String languageId)
                  throws PortalException,
                         SystemException
Specified by:
updateName in interface LayoutLocalService
Throws:
PortalException
SystemException

updateParentLayoutId

public Layout updateParentLayoutId(long groupId,
                                   boolean privateLayout,
                                   long layoutId,
                                   long parentLayoutId)
                            throws PortalException,
                                   SystemException
Specified by:
updateParentLayoutId in interface LayoutLocalService
Throws:
PortalException
SystemException

updateParentLayoutId

public Layout updateParentLayoutId(long plid,
                                   long parentPlid)
                            throws PortalException,
                                   SystemException
Specified by:
updateParentLayoutId in interface LayoutLocalService
Throws:
PortalException
SystemException

updatePriority

public Layout updatePriority(Layout layout,
                             int priority)
                      throws SystemException
Specified by:
updatePriority in interface LayoutLocalService
Throws:
SystemException

updatePriority

public Layout updatePriority(long groupId,
                             boolean privateLayout,
                             long layoutId,
                             int priority)
                      throws PortalException,
                             SystemException
Specified by:
updatePriority in interface LayoutLocalService
Throws:
PortalException
SystemException

updatePriority

public Layout updatePriority(long plid,
                             int priority)
                      throws PortalException,
                             SystemException
Specified by:
updatePriority in interface LayoutLocalService
Throws:
PortalException
SystemException

updateScopedPortletNames

public void updateScopedPortletNames(long groupId,
                                     boolean privateLayout,
                                     long layoutId,
                                     String name,
                                     String languageId)
                              throws PortalException,
                                     SystemException
Specified by:
updateScopedPortletNames in interface LayoutLocalService
Throws:
PortalException
SystemException
See Also:
com.liferay.portlet.portletconfiguration.action.EditScopeAction#updateScope

getWrappedLayoutLocalService

public LayoutLocalService getWrappedLayoutLocalService()

setWrappedLayoutLocalService

public void setWrappedLayoutLocalService(LayoutLocalService layoutLocalService)

Liferay 6.0-ee-sp2