public class LayoutSetLocalServiceImpl extends LayoutSetLocalServiceBaseImpl
counterLocalService, layoutSetLocalService, layoutSetPersistence, persistedModelLocalServiceRegistry| 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(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(String virtualHostname) |
List<com.liferay.portal.kernel.model.LayoutSet> |
getLayoutSetsByLayoutSetPrototypeUuid(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,
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,
File file) |
com.liferay.portal.kernel.model.LayoutSet |
updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
InputStream inputStream) |
com.liferay.portal.kernel.model.LayoutSet |
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) |
void |
updateLookAndFeel(long groupId,
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) |
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, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchLayoutSet, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getIndexableActionableDynamicQuery, getLayoutSet, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSets, getLayoutSetsCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setLayoutSetLocalService, setLayoutSetPersistence, updateLayoutSet, updateWithUnsafeFunctionpublic com.liferay.portal.kernel.model.LayoutSet addLayoutSet(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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.PortalExceptionpublic com.liferay.portal.kernel.model.LayoutSet fetchLayoutSet(long groupId,
boolean privateLayout)
public com.liferay.portal.kernel.model.LayoutSet fetchLayoutSet(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.PortalExceptionpublic com.liferay.portal.kernel.model.LayoutSet getLayoutSet(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.LayoutSet getLayoutSet(String virtualHostname)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic List<com.liferay.portal.kernel.model.LayoutSet> getLayoutSetsByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
public int getPageCount(long groupId,
boolean privateLayout)
public void updateLayoutSetPrototypeLinkEnabled(long groupId,
boolean privateLayout,
boolean layoutSetPrototypeLinkEnabled,
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.PortalExceptionpublic 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.PortalExceptionpublic com.liferay.portal.kernel.model.LayoutSet updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
File file)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.LayoutSet updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
InputStream inputStream)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.model.LayoutSet updateLogo(long groupId,
boolean privateLayout,
boolean hasLogo,
InputStream inputStream,
boolean cleanUpStream)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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.PortalExceptionpublic void updateLookAndFeel(long groupId,
String themeId,
String colorSchemeId,
String css)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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.PortalExceptionpublic 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.PortalExceptionprotected 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.PortalExceptionprotected void validateSettings(com.liferay.portal.kernel.util.UnicodeProperties oldSettingsUnicodeProperties,
com.liferay.portal.kernel.util.UnicodeProperties newSettingsUnicodeProperties)