Class AgendaCalendarRest

java.lang.Object
org.exoplatform.agenda.rest.AgendaCalendarRest
All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer

public class AgendaCalendarRest extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
  • Constructor Summary

    Constructors
    Constructor
    Description
    AgendaCalendarRest(org.exoplatform.agenda.service.AgendaCalendarService agendaCalendarService, org.exoplatform.social.core.manager.IdentityManager identityManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.ws.rs.core.Response
    createCalendar(org.exoplatform.agenda.rest.model.CalendarEntity calendarEntity)
     
    javax.ws.rs.core.Response
    deleteCalendar(long calendarId)
     
    javax.ws.rs.core.Response
    getCalendarById(long calendarId)
     
    javax.ws.rs.core.Response
    list(List<Long> ownerIds, boolean returnSize, int offset, int limit)
     
    javax.ws.rs.core.Response
    updateCalendar(org.exoplatform.agenda.rest.model.CalendarEntity calendarEntity)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AgendaCalendarRest

      public AgendaCalendarRest(org.exoplatform.agenda.service.AgendaCalendarService agendaCalendarService, org.exoplatform.social.core.manager.IdentityManager identityManager)
  • Method Details

    • list

      @RolesAllowed("users") public javax.ws.rs.core.Response list(List<Long> ownerIds, boolean returnSize, int offset, int limit)
    • getCalendarById

      @RolesAllowed("users") public javax.ws.rs.core.Response getCalendarById(long calendarId)
    • createCalendar

      @RolesAllowed("users") public javax.ws.rs.core.Response createCalendar(org.exoplatform.agenda.rest.model.CalendarEntity calendarEntity)
    • updateCalendar

      @RolesAllowed("users") public javax.ws.rs.core.Response updateCalendar(org.exoplatform.agenda.rest.model.CalendarEntity calendarEntity)
    • deleteCalendar

      @RolesAllowed("users") public javax.ws.rs.core.Response deleteCalendar(long calendarId)