Class LayoutSetServiceWrapper
Object
com.liferay.portal.kernel.service.LayoutSetServiceWrapper
- All Implemented Interfaces:
BaseService
,LayoutSetService
,ServiceWrapper<LayoutSetService>
public class LayoutSetServiceWrapper
extends Object
implements LayoutSetService, ServiceWrapper<LayoutSetService>
Provides a wrapper for
LayoutSetService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the OSGi service identifier.void
setWrappedService
(LayoutSetService layoutSetService) void
updateFaviconFileEntryId
(long groupId, boolean privateLayout, long faviconFileEntryId) void
updateLayoutSetPrototypeLinkEnabled
(long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, String layoutSetPrototypeUuid) Updates the state of the layout set prototype link.void
updateLogo
(long groupId, boolean privateLayout, boolean hasLogo, byte[] bytes) void
updateLogo
(long groupId, boolean privateLayout, boolean hasLogo, File file) void
updateLogo
(long groupId, boolean privateLayout, boolean hasLogo, InputStream inputStream) void
updateLogo
(long groupId, boolean privateLayout, boolean hasLogo, InputStream inputStream, boolean cleanUpStream) updateLookAndFeel
(long groupId, boolean privateLayout, String themeId, String colorSchemeId, String css) updateSettings
(long groupId, boolean privateLayout, String settings) updateVirtualHosts
(long groupId, boolean privateLayout, TreeMap<String, String> virtualHostnames)
-
Constructor Details
-
LayoutSetServiceWrapper
public LayoutSetServiceWrapper() -
LayoutSetServiceWrapper
-
-
Method Details
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceLayoutSetService
- Returns:
- the OSGi service identifier
-
updateFaviconFileEntryId
public void updateFaviconFileEntryId(long groupId, boolean privateLayout, long faviconFileEntryId) throws PortalException - Specified by:
updateFaviconFileEntryId
in interfaceLayoutSetService
- Throws:
PortalException
-
updateLayoutSetPrototypeLinkEnabled
public void updateLayoutSetPrototypeLinkEnabled(long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, String layoutSetPrototypeUuid) throws PortalException Updates the state of the layout set prototype link.Important: Setting
layoutSetPrototypeLinkEnabled
totrue
andlayoutSetPrototypeUuid
tonull
when the layout set prototype's current uuid isnull
will result in anIllegalStateException
.- Specified by:
updateLayoutSetPrototypeLinkEnabled
in interfaceLayoutSetService
- Parameters:
groupId
- the primary key of the groupprivateLayout
- whether the layout set is private to the grouplayoutSetPrototypeLinkEnabled
- whether the layout set prototype is link enabledlayoutSetPrototypeUuid
- the uuid of the layout set prototype to link with- Throws:
PortalException
-
updateLogo
public void updateLogo(long groupId, boolean privateLayout, boolean hasLogo, byte[] bytes) throws PortalException - Specified by:
updateLogo
in interfaceLayoutSetService
- Throws:
PortalException
-
updateLogo
public void updateLogo(long groupId, boolean privateLayout, boolean hasLogo, File file) throws PortalException - Specified by:
updateLogo
in interfaceLayoutSetService
- Throws:
PortalException
-
updateLogo
public void updateLogo(long groupId, boolean privateLayout, boolean hasLogo, InputStream inputStream) throws PortalException - Specified by:
updateLogo
in interfaceLayoutSetService
- Throws:
PortalException
-
updateLogo
public void updateLogo(long groupId, boolean privateLayout, boolean hasLogo, InputStream inputStream, boolean cleanUpStream) throws PortalException - Specified by:
updateLogo
in interfaceLayoutSetService
- Throws:
PortalException
-
updateLookAndFeel
public LayoutSet updateLookAndFeel(long groupId, boolean privateLayout, String themeId, String colorSchemeId, String css) throws PortalException - Specified by:
updateLookAndFeel
in interfaceLayoutSetService
- Throws:
PortalException
-
updateSettings
public LayoutSet updateSettings(long groupId, boolean privateLayout, String settings) throws PortalException - Specified by:
updateSettings
in interfaceLayoutSetService
- Throws:
PortalException
-
updateVirtualHosts
public LayoutSet updateVirtualHosts(long groupId, boolean privateLayout, TreeMap<String, String> virtualHostnames) throws PortalException- Specified by:
updateVirtualHosts
in interfaceLayoutSetService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<LayoutSetService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<LayoutSetService>
-