Package com.liferay.portal.service.impl
Class LayoutSetServiceImpl
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
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.LayoutSetServiceBaseImpl
counterLocalService, layoutSetLocalService, layoutSetPersistence, layoutSetServiceFields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateFaviconFileEntryId(long groupId, boolean privateLayout, long faviconFileEntryId) voidupdateLayoutSetPrototypeLinkEnabled(long groupId, boolean mergeLayoutSetPrototype, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, String layoutSetPrototypeUuid) voidupdateLayoutSetPrototypeLinkEnabled(long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, String layoutSetPrototypeUuid) Updates the state of the layout set prototype link.voidupdateLogo(long groupId, boolean privateLayout, boolean hasLogo, byte[] bytes) voidupdateLogo(long groupId, boolean privateLayout, boolean hasLogo, File file) voidupdateLogo(long groupId, boolean privateLayout, boolean hasLogo, InputStream inputStream) voidupdateLogo(long groupId, boolean privateLayout, boolean hasLogo, InputStream inputStream, boolean cleanUpStream) com.liferay.portal.kernel.model.LayoutSetupdateLookAndFeel(long groupId, boolean privateLayout, String themeId, String colorSchemeId, String css) com.liferay.portal.kernel.model.LayoutSetupdateSettings(long groupId, boolean privateLayout, String settings) com.liferay.portal.kernel.model.LayoutSetupdateVirtualHosts(long groupId, boolean privateLayout, TreeMap<String, String> virtualHostnames) Methods inherited from class com.liferay.portal.service.base.LayoutSetServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setCounterLocalService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetServiceMethods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
LayoutSetServiceImpl
public LayoutSetServiceImpl()
-
-
Method Details
-
updateFaviconFileEntryId
public void updateFaviconFileEntryId(long groupId, boolean privateLayout, long faviconFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateLayoutSetPrototypeLinkEnabled
public void updateLayoutSetPrototypeLinkEnabled(long groupId, boolean mergeLayoutSetPrototype, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, String layoutSetPrototypeUuid) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
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
layoutSetPrototypeLinkEnabledtotrueandlayoutSetPrototypeUuidtonullwhen the layout set prototype's current uuid isnullwill result in anIllegalStateException.- 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 hasLogo, 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 hasLogo, 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 hasLogo, 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 hasLogo, 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
-
updateVirtualHosts
public com.liferay.portal.kernel.model.LayoutSet updateVirtualHosts(long groupId, boolean privateLayout, TreeMap<String, String> virtualHostnames) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-