List of usage examples for com.liferay.portal.util PropsValues MOBILE_DEVICE_RULES_PUBLISH_TO_LIVE_BY_DEFAULT
boolean MOBILE_DEVICE_RULES_PUBLISH_TO_LIVE_BY_DEFAULT
To view the source code for com.liferay.portal.util PropsValues MOBILE_DEVICE_RULES_PUBLISH_TO_LIVE_BY_DEFAULT.
Click Source Link
From source file:com.liferay.mobile.device.rules.exportimport.data.handler.MDRPortletDataHandler.java
License:Open Source License
@Activate protected void activate() { setDeletionSystemEventStagedModelTypes(new StagedModelType(MDRAction.class, Layout.class), new StagedModelType(MDRRule.class), new StagedModelType(MDRRuleGroup.class), new StagedModelType(MDRRuleGroupInstance.class, Layout.class)); setExportControls(/*from w w w. j a va 2 s . com*/ new PortletDataHandlerBoolean(NAMESPACE, "rules", true, false, null, MDRRule.class.getName()), new PortletDataHandlerBoolean(NAMESPACE, "actions", true, false, null, MDRAction.class.getName(), Layout.class.getName())); setImportControls(getExportControls()); setPublishToLiveByDefault(PropsValues.MOBILE_DEVICE_RULES_PUBLISH_TO_LIVE_BY_DEFAULT); }