Coverage Report - org.trails.link.SearchLink
 
Classes in this File Line Coverage Branch Coverage Complexity
SearchLink
0% 
N/A 
0
 
 1  
 package org.trails.link;
 2  
 
 3  
 import org.apache.tapestry.annotations.ComponentClass;
 4  
 import org.trails.page.PageType;
 5  
 
 6  
 /**
 7  
  * Finds the search page for the type specified by the typeName
 8  
  * component parameter and forwards to it, setting the example model
 9  
  * to a new instance.  This instance is use to build a query by
 10  
  * example.
 11  
  */
 12  
 @ComponentClass
 13  0
 public abstract class SearchLink extends AbstractTypeNavigationLink
 14  
 {
 15  
 
 16  
         public PageType getPageType()
 17  
         {
 18  0
                 return PageType.SEARCH;
 19  
         }
 20  
 
 21  
         public String getBundleKey()
 22  
         {
 23  0
                 return "org.trails.component.searchlink";
 24  
         }
 25  
 
 26  
         public String getDefaultMessage()
 27  
         {
 28  0
                 return "[TRAILS][ORG.TRAILS.COMPONENT.SEARCHLINK]";
 29  
         }
 30  
 
 31  
         public Object getParams()
 32  
         {
 33  0
                 return getClassDescriptor().getPluralDisplayName();
 34  
         }
 35  
 }