com.liferay.portal.service.impl
Class LayoutSetServiceImpl
java.lang.Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.LayoutSetServiceBaseImpl
com.liferay.portal.service.impl.LayoutSetServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.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 |
| Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl |
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
|
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)
|
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)
|
| 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 com.liferay.portal.kernel.service.BaseServiceImpl |
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId |
| 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 com.liferay.portal.kernel.exception.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:
com.liferay.portal.kernel.exception.PortalException
updateLogo
public void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateLogo
public void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
File file)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateLogo
public void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateLogo
public void updateLogo(long groupId,
boolean privateLayout,
boolean logo,
InputStream inputStream,
boolean cleanUpStream)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateLookAndFeel
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
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateSettings
public com.liferay.portal.kernel.model.LayoutSet updateSettings(long groupId,
boolean privateLayout,
String settings)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateVirtualHost
public com.liferay.portal.kernel.model.LayoutSet updateVirtualHost(long groupId,
boolean privateLayout,
String virtualHost)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException