Package org.projectforge.plugins.teamcal.admin

Examples of org.projectforge.plugins.teamcal.admin.TeamCalsProvider


  protected void onFormInit()
  {
    final String str = WicketUtils.getAsString(getPageParameters(), PARAM_CALENDARS);
    if (StringUtils.isNotBlank(str) == true) {
      final Collection<TeamCalDO> teamCals = new TeamCalsProvider().getSortedCalendars(str);
      getFilter().setTeamCals(TeamCalsProvider.getCalIdList(teamCals));
    }
  }
View Full Code Here


      }));
    }
    {
      // Team calendar
      final FieldsetPanel fs = gridBuilder.newFieldset(getString("plugins.teamcal.calendar"));// .setLabelSide(false);
      final TeamCalsProvider calendarProvider = new TeamCalsProvider();
      calendarsListHelper = new MultiChoiceListHelper<TeamCalDO>().setComparator(new TeamCalsComparator()).setFullList(
          calendarProvider.getSortedCalenders());
      final Collection<Integer> list = getFilter().getTeamCals();
      if (list != null) {
        for (final Integer calId : list) {
          final TeamCalDO cal = TeamCalCache.getInstance().getCalendar(calId);
          calendarsListHelper.addOriginalAssignedItem(cal).assignItem(cal);
View Full Code Here

TOP

Related Classes of org.projectforge.plugins.teamcal.admin.TeamCalsProvider

Copyright © 2018 www.massapicom. 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.