View Javadoc

1   /*******************************************************************************
2    * Copyright (c) 2005 Gabriel Handford.
3    * All rights reserved.
4    *
5    * Contributors:
6    *    Gabriel Handford -
7    *******************************************************************************/
8   package net.sf.tacos.services;
9   
10  import java.util.List;
11  
12  /**
13   * This class describes a category that contains page names.
14   *
15   * @author Gabriel Handford
16   */
17  public interface CategoryInfo {
18  
19      /**
20       * Get the category name.
21       * @return name
22       */
23      public String getName();
24  
25      /**
26       * Get the default page.
27       * @return The default page, or the first page, or null.
28       */
29      public String getDefaultPage();
30  
31      /**
32       * Get the category pages.
33       * @return pages
34       */
35      public List getPageNames();
36  
37      /**
38       * Returns active image for category.
39       * @return
40       */
41      public String getImage();
42      
43      /**
44       * Returns the inactive image for category.
45       * @return
46       */
47      public String getInactiveImage();
48  }