Examples of DashboardRepository


Examples of nl.topicus.onderwijs.dashboard.modules.DashboardRepository

  }

  @Override
  public List<Issue> getValue() {
    List<Issue> ret = new ArrayList<Issue>();
    DashboardRepository repository = WicketApplication.get().getRepository();
    for (Key curKey : repository.getKeys(Key.class)) {
      Collection<DataSource<?>> dataSources = repository.getData(curKey);
      for (DataSource<?> curDataSource : dataSources) {
        if (curDataSource instanceof IssueSumImpl)
          continue;
        if (curDataSource instanceof Issues) {
          List<Issue> newIssues = ((Issues) curDataSource).getValue();
View Full Code Here

Examples of nl.topicus.onderwijs.dashboard.modules.DashboardRepository

  }

  @Override
  public List<Alert> getValue() {
    List<Alert> ret = new ArrayList<Alert>();
    DashboardRepository repository = WicketApplication.get().getRepository();
    for (Project curProject : repository.getProjects()) {
      Collection<DataSource<?>> dataSources = repository
          .getData(curProject);
      for (DataSource<?> curDataSource : dataSources) {
        if (curDataSource instanceof AlertSumImpl)
          continue;
        if (curDataSource instanceof ProjectAlerts) {
View Full Code Here

Examples of nl.topicus.onderwijs.dashboard.modules.DashboardRepository

  }

  @Override
  public List<Commit> getValue() {
    List<Commit> ret = new ArrayList<Commit>();
    DashboardRepository repository = WicketApplication.get().getRepository();
    for (Key curKey : repository.getKeys(Key.class)) {
      Collection<DataSource<?>> dataSources = repository.getData(curKey);
      for (DataSource<?> curDataSource : dataSources) {
        if (curDataSource instanceof CommitSumImpl)
          continue;
        if (curDataSource instanceof Commits) {
          List<Commit> newCommits = ((Commits) curDataSource)
View Full Code Here

Examples of org.jmanage.webui.dashboard.framework.DashboardRepository

                                 ActionMapping mapping,
                                 ActionForm actionForm,
                                 HttpServletRequest request,
                                 HttpServletResponse response)
            throws Exception {
        DashboardRepository instance = DashboardRepository.getInstance();
        ApplicationConfig appConfig = context.getApplicationConfig();
        String currentDashboardId = request.getParameter("dashBID");
        DashboardConfig currentDashboardConfig = null;
        for(String dashboardId : appConfig.getDashboards()){
            if(currentDashboardId.equals(dashboardId)){
                currentDashboardConfig = instance.get(dashboardId);
                break;
            }
        }
        if(currentDashboardConfig == null)
            currentDashboardConfig = instance.get(currentDashboardId);
        request.setAttribute("dashboardPage", currentDashboardConfig.getTemplate());
       
        /*set current page for navigation*/
        request.setAttribute(RequestAttributes.NAV_CURRENT_PAGE, currentDashboardConfig.getName());
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.