001 /******************************************************************************* 002 * Copyright (c) 2005 Gabriel Handford. 003 * All rights reserved. 004 * 005 * Contributors: 006 * Gabriel Handford - 007 *******************************************************************************/ 008 package net.sf.tacos.services; 009 010 import java.util.List; 011 012 /** 013 * This class describes a category that contains page names. 014 * 015 * @author Gabriel Handford 016 */ 017 public interface CategoryInfo { 018 019 /** 020 * Get the category name. 021 * @return name 022 */ 023 public String getName(); 024 025 /** 026 * Get the default page. 027 * @return The default page, or the first page, or null. 028 */ 029 public String getDefaultPage(); 030 031 /** 032 * Get the category pages. 033 * @return pages 034 */ 035 public List getPageNames(); 036 037 /** 038 * Returns active image for category. 039 * @return 040 */ 041 public String getImage(); 042 043 /** 044 * Returns the inactive image for category. 045 * @return 046 */ 047 public String getInactiveImage(); 048 }