new PortletDataHandlerBoolean( null, PortletDataHandlerKeys.PORTLET_SETUP, "setup", true, false, portletDataHandlerControls, null, null)); new PortletDataHandlerBoolean( null, PortletDataHandlerKeys.PORTLET_ARCHIVED_SETUPS, "configuration-templates", true, false, null, null, null)); new PortletDataHandlerBoolean( null, PortletDataHandlerKeys.PORTLET_USER_PREFERENCES, "user-preferences", true, false, null, null, null));
portletDataHandlerBoolean.getChildren(); portletDataHandlerBoolean.getReferrerClassName());
portletDataHandlerBoolean.getDefaultState(); if (!portletDataHandlerBoolean.isDisabled()) { controlValue = MapUtil.getBoolean( parameterMap, portletDataHandlerBoolean.getNamespacedControlName(), true); (portletDataHandlerBoolean.getClassName() != null)) { if (portletDataHandlerBoolean.getReferrerClassName() == null) { portletDataHandlerBoolean.getClassName(), new String[] {Boolean.TRUE.toString()}); portletDataHandlerBoolean.getClassName() + StringPool.POUND + portletDataHandlerBoolean. getReferrerClassName(), new String[] {Boolean.TRUE.toString()});
portletDataHandlerBoolean.getChildren();
new PortletDataHandlerBoolean( null, PortletDataHandlerKeys.PORTLET_SETUP, "setup", true, false, portletDataHandlerControls, null, null)); new PortletDataHandlerBoolean( null, PortletDataHandlerKeys.PORTLET_ARCHIVED_SETUPS, "configuration-templates", true, false, null, null, null)); new PortletDataHandlerBoolean( null, PortletDataHandlerKeys.PORTLET_USER_PREFERENCES, "user-preferences", true, false, null, null, null));
@Activate protected void activate() { setDeletionSystemEventStagedModelTypes( new StagedModelType(MBBan.class), new StagedModelType(MBCategory.class), new StagedModelType(MBMessage.class), new StagedModelType(MBThread.class), new StagedModelType(MBThreadFlag.class)); setExportControls( new PortletDataHandlerBoolean( NAMESPACE, "categories", true, false, null, MBCategory.class.getName()), new PortletDataHandlerBoolean( NAMESPACE, "messages", true, false, null, MBMessage.class.getName(), StagedModelType.REFERRER_CLASS_NAME_ALL), new PortletDataHandlerBoolean( NAMESPACE, "thread-flags", true, false, null, MBThreadFlag.class.getName()), new PortletDataHandlerBoolean( NAMESPACE, "user-bans", true, false, null, MBBan.class.getName())); setPublishToLiveByDefault( PropsValues.MESSAGE_BOARDS_PUBLISH_TO_LIVE_BY_DEFAULT); setStagingControls(getExportControls()); }
new PortletDataHandlerBoolean( NAMESPACE, "web-content", true, false, new PortletDataHandlerControl[] { new PortletDataHandlerBoolean( NAMESPACE, "referenced-content", true, false, new PortletDataHandlerControl[] { }) }), new PortletDataHandlerBoolean( NAMESPACE, "version-history", _isVersionHistoryByDefaultEnabled()) }, JournalArticle.class.getName()), new PortletDataHandlerBoolean( NAMESPACE, "structures", true, false, null, DDMStructure.class.getName(), JournalArticle.class.getName()), new PortletDataHandlerBoolean( NAMESPACE, "templates", true, false, null, DDMTemplate.class.getName(), DDMStructure.class.getName()), new PortletDataHandlerBoolean( NAMESPACE, "feeds", true, false, null, JournalFeed.class.getName()), new PortletDataHandlerBoolean( NAMESPACE, "folders", true, false, null, JournalFolder.class.getName()));
@Activate protected void activate() { setDataLevel(DataLevel.PORTLET_INSTANCE); setDeletionSystemEventStagedModelTypes( new StagedModelType(MBBan.class), new StagedModelType(MBCategory.class), new StagedModelType(MBMessage.class), new StagedModelType(MBThread.class), new StagedModelType(MBThreadFlag.class)); setExportControls( new PortletDataHandlerBoolean( getNamespace(), "categories", true, false, null, MBCategory.class.getName()), new PortletDataHandlerBoolean( getNamespace(), "messages", true, false, null, MBMessage.class.getName(), StagedModelType.REFERRER_CLASS_NAME_ALL), new PortletDataHandlerBoolean( getNamespace(), "thread-flags", true, false, null, MBThreadFlag.class.getName()), new PortletDataHandlerBoolean( getNamespace(), "user-bans", true, false, null, MBBan.class.getName())); setPublishToLiveByDefault( PropsValues.MESSAGE_BOARDS_PUBLISH_TO_LIVE_BY_DEFAULT); setStagingControls(getExportControls()); }