001/*
002 *  Copyright 2011 Anyware Services
003 *
004 *  Licensed under the Apache License, Version 2.0 (the "License");
005 *  you may not use this file except in compliance with the License.
006 *  You may obtain a copy of the License at
007 *
008 *      http://www.apache.org/licenses/LICENSE-2.0
009 *
010 *  Unless required by applicable law or agreed to in writing, software
011 *  distributed under the License is distributed on an "AS IS" BASIS,
012 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 *  See the License for the specific language governing permissions and
014 *  limitations under the License.
015 */
016package org.ametys.plugins.blog;
017
018/**
019 * Blog constants.
020 */
021public interface BlogConstants
022{
023    
024    /** The blog site type. */
025    public static final String BLOG_SITE_TYPE = "org.ametys.plugins.blog.sitetype.Blog";
026    
027    /** The blog template. */
028    public static final String BLOG_TEMPLATE = "blog";
029    
030    /** The blog-specific workflow name. */
031    public static final String BLOG_WORKFLOW_NAME = "blog";
032    
033    /** The post content type. */
034    public static final String POST_CONTENT_TYPE = "org.ametys.plugins.blog.Content.post";
035    
036    /** The profile content type. */
037    public static final String PROFILE_CONTENT_TYPE = "org.ametys.plugins.blog.Content.profile";
038    
039    /** The archives service ID. */
040    public static final String ARCHIVES_SERVICE_ID = "org.ametys.blog.service.ArchivesService";
041    
042    /** The tags service ID. */
043    public static final String TAGS_SERVICE_ID = "org.ametys.blog.service.PostsByTagsService";
044    
045    /** The posts service ID. */
046    public static final String POSTS_SERVICE_ID = "org.ametys.blog.service.PostsService";
047    
048    /** The remote content service ID. */
049    public static final String REMOTE_CONTENT_SERVICE_ID = "org.ametys.web.service.InsertContentService";
050    
051    /** The post per page count site configuration. */
052    public static final String MAX_COUNT_PARAM_ID = "posts-service-max-count";
053    
054    /** The default post count per page. */
055    public static int DEFAULT_POST_COUNT_PER_PAGE = 5;
056    
057    /** The default post total count. */
058    public static int DEFAULT_POST_TOTAL_COUNT = 100;
059    
060}