1 19 20 package za.org.coefficient.modules.project; 21 22 import org.apache.commons.lang.StringUtils; 23 24 import za.org.coefficient.interfaces.CoefficientContext; 25 26 40 public class ProjectBrowse extends BaseProjectBrowse { 41 43 public String getMainMethod() { 44 return "viewProjects"; 45 } 46 47 public String getModuleDescription() { 48 return "This is the main " + ProjectConstants.PROJECT_NAME 49 + " search module that will allow a user to see which " 50 + ProjectConstants.PROJECT_NAME + "s are in existence"; 51 } 52 53 public String getModuleDisplayName() { 54 return StringUtils.capitalise(ProjectConstants.PROJECT_NAME) + "s"; 55 } 56 57 public CoefficientContext viewProjects(CoefficientContext ctx) throws Exception { 58 return baseViewProjects(ctx, true); 59 } 60 } 61 | Popular Tags |