@ProviderType
public class LayoutSetServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.LayoutSetServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.LayoutSetService,
LayoutSetServiceBaseImpl,
com.liferay.portal.service.impl.LayoutSetServiceImpl| Constructor and Description |
|---|
LayoutSetServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static LayoutSetService |
getService() |
void |
setService(LayoutSetService service)
Deprecated.
As of 6.2.0
|
static void |
updateLayoutSetPrototypeLinkEnabled(long groupId,
boolean privateLayout,
boolean layoutSetPrototypeLinkEnabled,
java.lang.String layoutSetPrototypeUuid)
Updates the state of the layout set prototype link.
|
static void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
byte[] bytes) |
static void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
java.io.File file) |
static void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
java.io.InputStream inputStream) |
static void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
java.io.InputStream inputStream,
boolean cleanUpStream) |
static LayoutSet |
updateLookAndFeel(long groupId,
boolean privateLayout,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String css,
boolean wapTheme) |
static LayoutSet |
updateSettings(long groupId,
boolean privateLayout,
java.lang.String settings) |
static LayoutSet |
updateVirtualHost(long groupId,
boolean privateLayout,
java.lang.String virtualHost) |
public static java.lang.String getOSGiServiceIdentifier()
public static void updateLayoutSetPrototypeLinkEnabled(long groupId,
boolean privateLayout,
boolean layoutSetPrototypeLinkEnabled,
java.lang.String layoutSetPrototypeUuid)
throws PortalException
Important: Setting
layoutSetPrototypeLinkEnabled to true and
layoutSetPrototypeUuid to null when the layout
set prototype's current uuid is null will result in an
IllegalStateException.
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 withPortalExceptionpublic static void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
byte[] bytes)
throws PortalException
PortalExceptionpublic static void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
java.io.File file)
throws PortalException
PortalExceptionpublic static void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
java.io.InputStream inputStream)
throws PortalException
PortalExceptionpublic static void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
java.io.InputStream inputStream,
boolean cleanUpStream)
throws PortalException
PortalExceptionpublic static LayoutSet updateLookAndFeel(long groupId, boolean privateLayout, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme) throws PortalException
PortalExceptionpublic static LayoutSet updateSettings(long groupId, boolean privateLayout, java.lang.String settings) throws PortalException
PortalExceptionpublic static LayoutSet updateVirtualHost(long groupId, boolean privateLayout, java.lang.String virtualHost) throws PortalException
PortalExceptionpublic static LayoutSetService getService()
@Deprecated public void setService(LayoutSetService service)