public class LayoutSetLocalServiceImpl extends LayoutSetLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, imageLocalService, imagePersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutSetBranchLocalService, layoutSetBranchPersistence, layoutSetLocalService, layoutSetPersistence, persistedModelLocalServiceRegistry, pluginSettingLocalService, pluginSettingPersistence, virtualHostLocalService, virtualHostPersistence
Constructor and Description |
---|
LayoutSetLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.LayoutSet |
addLayoutSet(long groupId,
boolean privateLayout) |
void |
deleteLayoutSet(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.LayoutSet |
fetchLayoutSet(long groupId,
boolean privateLayout) |
com.liferay.portal.kernel.model.LayoutSet |
fetchLayoutSet(java.lang.String virtualHostname) |
com.liferay.portal.kernel.model.LayoutSet |
fetchLayoutSetByLogoId(boolean privateLayout,
long logoId) |
com.liferay.portal.kernel.model.LayoutSet |
getLayoutSet(long groupId,
boolean privateLayout) |
com.liferay.portal.kernel.model.LayoutSet |
getLayoutSet(java.lang.String virtualHostname) |
java.util.List<com.liferay.portal.kernel.model.LayoutSet> |
getLayoutSetsByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid) |
int |
getPageCount(long groupId,
boolean privateLayout) |
protected com.liferay.portal.kernel.model.LayoutSet |
initLayoutSet(com.liferay.portal.kernel.model.LayoutSet layoutSet) |
void |
updateLayoutSetPrototypeLinkEnabled(long groupId,
boolean privateLayout,
boolean layoutSetPrototypeLinkEnabled,
java.lang.String layoutSetPrototypeUuid)
Updates the state of the layout set prototype link.
|
com.liferay.portal.kernel.model.LayoutSet |
updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
byte[] bytes) |
com.liferay.portal.kernel.model.LayoutSet |
updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
java.io.File file) |
com.liferay.portal.kernel.model.LayoutSet |
updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
java.io.InputStream inputStream) |
com.liferay.portal.kernel.model.LayoutSet |
updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
java.io.InputStream inputStream,
boolean cleanUpStream) |
com.liferay.portal.kernel.model.LayoutSet |
updateLookAndFeel(long groupId,
boolean privateLayout,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String css) |
void |
updateLookAndFeel(long groupId,
java.lang.String themeId,
java.lang.String colorSchemeId,
java.lang.String css) |
com.liferay.portal.kernel.model.LayoutSet |
updateSettings(long groupId,
boolean privateLayout,
java.lang.String settings) |
com.liferay.portal.kernel.model.LayoutSet |
updateVirtualHost(long groupId,
boolean privateLayout,
java.lang.String virtualHostname)
Deprecated.
As of Mueller (7.2.x), replaced by
updateVirtualHosts(long, boolean, TreeMap) |
com.liferay.portal.kernel.model.LayoutSet |
updateVirtualHosts(long groupId,
boolean privateLayout,
java.util.TreeMap<java.lang.String,java.lang.String> virtualHostnames) |
protected void |
validateSettings(com.liferay.portal.kernel.util.UnicodeProperties oldSettingsUnicodeProperties,
com.liferay.portal.kernel.util.UnicodeProperties newSettingsUnicodeProperties) |
addLayoutSet, afterPropertiesSet, createLayoutSet, createPersistedModel, deleteLayoutSet, deleteLayoutSet, deletePersistedModel, destroy, dslQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutSet, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getImageLocalService, getImagePersistence, getIndexableActionableDynamicQuery, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutSet, getLayoutSetBranchLocalService, getLayoutSetBranchPersistence, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSets, getLayoutSetsCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getPluginSettingLocalService, getPluginSettingPersistence, getVirtualHostLocalService, getVirtualHostPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setImageLocalService, setImagePersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutSetBranchLocalService, setLayoutSetBranchPersistence, setLayoutSetLocalService, setLayoutSetPersistence, setPluginSettingLocalService, setPluginSettingPersistence, setVirtualHostLocalService, setVirtualHostPersistence, updateLayoutSet, updateWithUnsafeFunction
public com.liferay.portal.kernel.model.LayoutSet addLayoutSet(long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteLayoutSet(long groupId, boolean privateLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSet fetchLayoutSet(long groupId, boolean privateLayout)
public com.liferay.portal.kernel.model.LayoutSet fetchLayoutSet(java.lang.String virtualHostname)
public com.liferay.portal.kernel.model.LayoutSet fetchLayoutSetByLogoId(boolean privateLayout, long logoId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSet getLayoutSet(long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSet getLayoutSet(java.lang.String virtualHostname) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.util.List<com.liferay.portal.kernel.model.LayoutSet> getLayoutSetsByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid)
public int getPageCount(long groupId, boolean privateLayout)
public void updateLayoutSetPrototypeLinkEnabled(long groupId, boolean privateLayout, boolean layoutSetPrototypeLinkEnabled, java.lang.String layoutSetPrototypeUuid) throws com.liferay.portal.kernel.exception.PortalException
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 com.liferay.portal.kernel.model.LayoutSet updateLogo(long groupId, boolean privateLayout, boolean hasLogo, byte[] bytes) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSet updateLogo(long groupId, boolean privateLayout, boolean hasLogo, java.io.File file) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSet updateLogo(long groupId, boolean privateLayout, boolean hasLogo, java.io.InputStream inputStream) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSet updateLogo(long groupId, boolean privateLayout, boolean hasLogo, java.io.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, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.String css) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateLookAndFeel(long groupId, java.lang.String themeId, java.lang.String colorSchemeId, java.lang.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, java.lang.String settings) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.LayoutSet updateVirtualHost(long groupId, boolean privateLayout, java.lang.String virtualHostname) throws com.liferay.portal.kernel.exception.PortalException
updateVirtualHosts(long, boolean, TreeMap)
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.LayoutSet updateVirtualHosts(long groupId, boolean privateLayout, java.util.TreeMap<java.lang.String,java.lang.String> virtualHostnames) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.portal.kernel.model.LayoutSet initLayoutSet(com.liferay.portal.kernel.model.LayoutSet layoutSet) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validateSettings(com.liferay.portal.kernel.util.UnicodeProperties oldSettingsUnicodeProperties, com.liferay.portal.kernel.util.UnicodeProperties newSettingsUnicodeProperties)