com.liferay.portal.service.impl
Class LayoutSetServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portal.service.base.LayoutSetServiceBaseImpl
com.liferay.portal.service.impl.LayoutSetServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseService, LayoutSetService
public class LayoutSetServiceImpl
- extends LayoutSetServiceBaseImpl
| Fields inherited from class com.liferay.portal.service.base.LayoutSetServiceBaseImpl |
counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, layoutSetBranchLocalService, layoutSetBranchPersistence, layoutSetBranchService, layoutSetLocalService, layoutSetPersistence, layoutSetService, pluginSettingLocalService, pluginSettingPersistence, pluginSettingService, virtualHostLocalService, virtualHostPersistence |
|
Method Summary |
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)
|
LayoutSet |
updateLookAndFeel(long groupId,
boolean privateLayout,
String themeId,
String colorSchemeId,
String css,
boolean wapTheme)
|
LayoutSet |
updateSettings(long groupId,
boolean privateLayout,
String settings)
|
LayoutSet |
updateVirtualHost(long groupId,
boolean privateLayout,
String virtualHost)
|
| Methods inherited from class com.liferay.portal.service.base.LayoutSetServiceBaseImpl |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutSetServiceImpl
public LayoutSetServiceImpl()
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 to true and
layoutSetPrototypeUuid to null when the layout
set prototype's current uuid is null will result in an
IllegalStateException.
- 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 logo,
byte[] bytes)
throws PortalException
- Throws:
PortalException
updateLogo
public void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
File file)
throws PortalException
- Throws:
PortalException
updateLogo
public void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream)
throws PortalException
- Throws:
PortalException
updateLogo
public void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream,
boolean cleanUpStream)
throws PortalException
- Throws:
PortalException
updateLookAndFeel
public LayoutSet updateLookAndFeel(long groupId,
boolean privateLayout,
String themeId,
String colorSchemeId,
String css,
boolean wapTheme)
throws PortalException
- Throws:
PortalException
updateSettings
public LayoutSet updateSettings(long groupId,
boolean privateLayout,
String settings)
throws PortalException
- Throws:
PortalException
updateVirtualHost
public LayoutSet updateVirtualHost(long groupId,
boolean privateLayout,
String virtualHost)
throws PortalException
- Throws:
PortalException