@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface LayoutSetService extends BaseService
LayoutSetServiceUtil| Modifier and Type | Method and Description |
|---|---|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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) |
LayoutSet |
updateLookAndFeel(long groupId,
boolean privateLayout,
String themeId,
String colorSchemeId,
String css) |
LayoutSet |
updateSettings(long groupId,
boolean privateLayout,
String settings) |
LayoutSet |
updateVirtualHost(long groupId,
boolean privateLayout,
String virtualHost) |
String getOSGiServiceIdentifier()
void updateLayoutSetPrototypeLinkEnabled(long groupId,
boolean privateLayout,
boolean layoutSetPrototypeLinkEnabled,
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 withPortalExceptionvoid updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
byte[] bytes)
throws PortalException
PortalExceptionvoid updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
File file)
throws PortalException
PortalExceptionvoid updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
InputStream inputStream)
throws PortalException
PortalExceptionvoid updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
InputStream inputStream,
boolean cleanUpStream)
throws PortalException
PortalExceptionLayoutSet updateLookAndFeel(long groupId, boolean privateLayout, String themeId, String colorSchemeId, String css) throws PortalException
PortalExceptionLayoutSet updateSettings(long groupId, boolean privateLayout, String settings) throws PortalException
PortalExceptionLayoutSet updateVirtualHost(long groupId, boolean privateLayout, String virtualHost) throws PortalException
PortalException