/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.knowledge.base.web.configuration;
import aQute.bnd.annotation.metatype.Meta;
import com.liferay.portal.configuration.metatype.annotations.ExtendedObjectClassDefinition;
/**
* @author Roberto Díaz
*/
@ExtendedObjectClassDefinition(
category = "collaboration",
scope = ExtendedObjectClassDefinition.Scope.PORTLET_INSTANCE
)
@Meta.OCD(
id = "com.liferay.knowledge.base.web.configuration.KBSearchPortletInstanceConfiguration",
localization = "content/Language",
name = "knowledge.base.search.portlet.instance.configuration.name"
)
public interface KBSearchPortletInstanceConfiguration {
@Meta.AD(deflt = "true", required = false)
public boolean showKBArticleAuthorColumn();
@Meta.AD(deflt = "true", required = false)
public boolean showKBArticleCreateDateColumn();
@Meta.AD(deflt = "true", required = false)
public boolean showKBArticleModifiedDateColumn();
@Meta.AD(deflt = "true", required = false)
public boolean showKBArticleViewsColumn();
@Meta.AD(deflt = "false", required = false)
public boolean enableKBArticleDescription();
@Meta.AD(deflt = "true", required = false)
public boolean enableKBArticleRatings();
@Meta.AD(deflt = "true", required = false)
public boolean showKBArticleAssetEntries();
@Meta.AD(deflt = "true", required = false)
public boolean showKBArticleAttachments();
@Meta.AD(deflt = "true", required = false)
public boolean enableKBArticleAssetLinks();
@Meta.AD(deflt = "true", required = false)
public boolean enableKBArticleViewCountIncrement();
@Meta.AD(deflt = "true", required = false)
public boolean enableKBArticleSubscriptions();
@Meta.AD(deflt = "true", required = false)
public boolean enableKBArticleHistory();
@Meta.AD(deflt = "true", required = false)
public boolean enableKBArticlePrint();
@Meta.AD(deflt = "false", required = false)
public boolean enableSocialBookmarks();
@Meta.AD(deflt = "menu", required = false)
public String socialBookmarksDisplayStyle();
@Meta.AD(deflt = "bottom", required = false)
public String socialBookmarksDisplayPosition();
@Meta.AD(
deflt = "${server-property://com.liferay.portal/social.bookmark.types}",
required = false
)
public String socialBookmarksTypes();
}