public class LayoutSetServiceImpl extends LayoutSetServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, layoutSetBranchLocalService, layoutSetBranchPersistence, layoutSetBranchService, layoutSetLocalService, layoutSetPersistence, layoutSetService, pluginSettingLocalService, pluginSettingPersistence, pluginSettingService, virtualHostLocalService, virtualHostPersistence
Constructor and Description |
---|
LayoutSetServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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 logo,
byte[] bytes) |
void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
File file) |
void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream) |
void |
updateLogo(long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream,
boolean cleanUpStream) |
com.liferay.portal.kernel.model.LayoutSet |
updateLookAndFeel(long groupId,
boolean privateLayout,
String themeId,
String colorSchemeId,
String css) |
com.liferay.portal.kernel.model.LayoutSet |
updateSettings(long groupId,
boolean privateLayout,
String settings) |
com.liferay.portal.kernel.model.LayoutSet |
updateVirtualHost(long groupId,
boolean privateLayout,
String virtualHost) |
afterPropertiesSet, destroy, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLayoutSetBranchLocalService, getLayoutSetBranchPersistence, getLayoutSetBranchService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPluginSettingLocalService, getPluginSettingPersistence, getPluginSettingService, getVirtualHostLocalService, getVirtualHostPersistence, runSQL, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLayoutSetBranchLocalService, setLayoutSetBranchPersistence, setLayoutSetBranchService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetService, setPluginSettingLocalService, setPluginSettingPersistence, setPluginSettingService, setVirtualHostLocalService, setVirtualHostPersistence
public void updateLayoutSetPrototypeLinkEnabled(long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, String layoutSetPrototypeUuid) throws com.liferay.portal.kernel.exception.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 withcom.liferay.portal.kernel.exception.PortalException
public void updateLogo(long groupId, boolean privateLayout, boolean logo, byte[] bytes) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateLogo(long groupId, boolean privateLayout, boolean logo, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateLogo(long groupId, boolean privateLayout, boolean logo, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateLogo(long groupId, boolean privateLayout, boolean logo, InputStream inputStream, boolean cleanUpStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSet updateLookAndFeel(long groupId, boolean privateLayout, String themeId, String colorSchemeId, String css) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSet updateSettings(long groupId, boolean privateLayout, String settings) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSet updateVirtualHost(long groupId, boolean privateLayout, String virtualHost) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException