Package org.projectforge.plugins.teamcal.event

Examples of org.projectforge.plugins.teamcal.event.TeamEventRight


    WicketApplication.setDefaultPage(TeamCalCalendarPage.class);
    // .setMobileMenu(ToDoMobileListPage.class, 10));

    // Define the access management:
    registerRight(new TeamCalRight());
    registerRight(new TeamEventRight());

    // All the i18n stuff:
    addResourceBundle(RESOURCE_BUNDLE_NAME);

    CalendarFeed.registerFeedHook(new TeamCalCalendarFeedHook());
View Full Code Here


    }
    // User clicked on teamEvent
    final TeamCalEventId id = new TeamCalEventId(event.getId(), PFUserContext.getTimeZone());
    final TeamEventDO teamEventDO = teamEventDao.getById(id.getDataBaseId());
    final TeamEvent teamEvent = eventProvider.getTeamEvent(id.toString());
    if (new TeamEventRight().hasUpdateAccess(PFUserContext.getUser(), teamEventDO, null)) {
      if (teamEventDO.hasRecurrence() == true) {
        // at this point the dbTeamEvent is already updated in time
        recurrenceChangeDialog.open(response.getTarget(), teamEvent, null, null);
        return;
      }
View Full Code Here

TOP

Related Classes of org.projectforge.plugins.teamcal.event.TeamEventRight

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.