List of usage examples for com.liferay.portal.util PropsValues BLOGS_PUBLISH_TO_LIVE_BY_DEFAULT
boolean BLOGS_PUBLISH_TO_LIVE_BY_DEFAULT
To view the source code for com.liferay.portal.util PropsValues BLOGS_PUBLISH_TO_LIVE_BY_DEFAULT.
Click Source Link
From source file:com.liferay.blogs.web.internal.exportimport.data.handler.BlogsPortletDataHandler.java
License:Open Source License
@Activate protected void activate() { setDeletionSystemEventStagedModelTypes(new StagedModelType(BlogsEntry.class)); setExportControls(new PortletDataHandlerBoolean(NAMESPACE, "entries", true, false, new PortletDataHandlerControl[] { new PortletDataHandlerBoolean(NAMESPACE, "referenced-content") }, BlogsEntry.class.getName())); setPublishToLiveByDefault(PropsValues.BLOGS_PUBLISH_TO_LIVE_BY_DEFAULT); }
From source file:com.liferay.portlet.blogs.lar.BlogsPortletDataHandlerImpl.java
License:Open Source License
@Override public boolean isPublishToLiveByDefault() { return PropsValues.BLOGS_PUBLISH_TO_LIVE_BY_DEFAULT; }