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.voidsetWrappedService(LayoutSetService layoutSetService) voidupdateFaviconFileEntryId(long groupId, boolean privateLayout, long faviconFileEntryId) voidupdateLayoutSetPrototypeLinkEnabled(long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, String layoutSetPrototypeUuid) Updates the state of the layout set prototype link.voidupdateLogo(long groupId, boolean privateLayout, boolean hasLogo, byte[] bytes) voidupdateLogo(long groupId, boolean privateLayout, boolean hasLogo, File file) voidupdateLogo(long groupId, boolean privateLayout, boolean hasLogo, InputStream inputStream) voidupdateLogo(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:
getOSGiServiceIdentifierin interfaceLayoutSetService- Returns:
- the OSGi service identifier
-
updateFaviconFileEntryId
public void updateFaviconFileEntryId(long groupId, boolean privateLayout, long faviconFileEntryId) throws PortalException - Specified by:
updateFaviconFileEntryIdin 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
layoutSetPrototypeLinkEnabledtotrueandlayoutSetPrototypeUuidtonullwhen the layout set prototype's current uuid isnullwill result in anIllegalStateException.- Specified by:
updateLayoutSetPrototypeLinkEnabledin 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:
updateLogoin interfaceLayoutSetService- Throws:
PortalException
-
updateLogo
public void updateLogo(long groupId, boolean privateLayout, boolean hasLogo, File file) throws PortalException - Specified by:
updateLogoin interfaceLayoutSetService- Throws:
PortalException
-
updateLogo
public void updateLogo(long groupId, boolean privateLayout, boolean hasLogo, InputStream inputStream) throws PortalException - Specified by:
updateLogoin interfaceLayoutSetService- Throws:
PortalException
-
updateLogo
public void updateLogo(long groupId, boolean privateLayout, boolean hasLogo, InputStream inputStream, boolean cleanUpStream) throws PortalException - Specified by:
updateLogoin interfaceLayoutSetService- Throws:
PortalException
-
updateLookAndFeel
public LayoutSet updateLookAndFeel(long groupId, boolean privateLayout, String themeId, String colorSchemeId, String css) throws PortalException - Specified by:
updateLookAndFeelin interfaceLayoutSetService- Throws:
PortalException
-
updateSettings
public LayoutSet updateSettings(long groupId, boolean privateLayout, String settings) throws PortalException - Specified by:
updateSettingsin interfaceLayoutSetService- Throws:
PortalException
-
updateVirtualHosts
public LayoutSet updateVirtualHosts(long groupId, boolean privateLayout, TreeMap<String, String> virtualHostnames) throws PortalException- Specified by:
updateVirtualHostsin interfaceLayoutSetService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<LayoutSetService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<LayoutSetService>
-