/**
* 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.blogs.configuration;
import aQute.bnd.annotation.metatype.Meta;
import com.liferay.portal.configuration.metatype.annotations.ExtendedObjectClassDefinition;
/**
* @author Sergio González
*/
@ExtendedObjectClassDefinition(category = "collaboration")
@Meta.OCD(
id = "com.liferay.blogs.configuration.BlogsConfiguration",
localization = "content/Language", name = "blogs.configuration.name"
)
public interface BlogsConfiguration {
/**
* Set the location of the XML file containing the configuration of the
* default display templates for the Blogs portlet.
*/
@Meta.AD(
deflt = "com/liferay/blogs/web/template/dependencies/portlet-display-templates.xml",
required = false
)
public String displayTemplatesConfig();
/**
* Set the interval in minutes on how often CheckEntryMessageListener will
* run to check for and display blog entries scheduled to display.
*/
@Meta.AD(deflt = "1", required = false)
public int entryCheckInterval();
/**
* Set the interval on which the LinkbackMessageListener will run. The value
* is set in one minute increments.
*/
@Meta.AD(deflt = "5", required = false)
public int linkbackJobInterval();
}