public class LayoutSetServiceImpl extends LayoutSetServiceBaseImpl
counterLocalService, layoutSetLocalService, layoutSetPersistence, layoutSetService
Constructor and Description |
---|
LayoutSetServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
updateFaviconFileEntryId(long groupId,
boolean privateLayout,
long faviconFileEntryId) |
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) |
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 |
updateVirtualHosts(long groupId,
boolean privateLayout,
TreeMap<String,String> virtualHostnames) |
afterPropertiesSet, destroy, getCounterLocalService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setCounterLocalService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetService
public void updateFaviconFileEntryId(long groupId, boolean privateLayout, long faviconFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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 hasLogo, byte[] bytes) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateLogo(long groupId, boolean privateLayout, boolean hasLogo, File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateLogo(long groupId, boolean privateLayout, boolean hasLogo, InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateLogo(long groupId, boolean privateLayout, boolean hasLogo, 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 updateVirtualHosts(long groupId, boolean privateLayout, TreeMap<String,String> virtualHostnames) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException