public class TicketUpdatesService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
TicketUpdatesService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addCreator(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
addOwner(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
static <T> T |
getService(Class<T> clazz,
String containerName) |
javax.ws.rs.core.Response |
getUpdates(javax.ws.rs.core.UriInfo uriInfo,
String from,
String to)
This endpoint will provide the lately updated tickets
|
javax.ws.rs.core.Response |
setTimes(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
upadateWarning(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
upadatLogs(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
updateAssignee(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
updatenav(javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.UriInfo uriInfo) |
@RolesAllowed(value="administrators") public javax.ws.rs.core.Response getUpdates(@Context javax.ws.rs.core.UriInfo uriInfo, String from, String to)
uriInfo - URI infofrom - Date to get updates fromto - Date to get updates topublic static <T> T getService(Class<T> clazz, String containerName)
T - Type of classclazz - service classcontainerName - portal container name@RolesAllowed(value="administrators") public javax.ws.rs.core.Response addCreator(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo) throws Exception
Exception@RolesAllowed(value="administrators") public javax.ws.rs.core.Response addOwner(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo) throws Exception
Exception@RolesAllowed(value="administrators") public javax.ws.rs.core.Response updateAssignee(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo) throws Exception
Exception@RolesAllowed(value="administrators") public javax.ws.rs.core.Response upadateWarning(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo) throws Exception
Exception@RolesAllowed(value="administrators") public javax.ws.rs.core.Response upadatLogs(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo) throws Exception
Exception@RolesAllowed(value="administrators") public javax.ws.rs.core.Response updatenav(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo) throws Exception
Exception@RolesAllowed(value="administrators") public javax.ws.rs.core.Response setTimes(@Context javax.servlet.http.HttpServletRequest request, @Context javax.ws.rs.core.UriInfo uriInfo) throws Exception
ExceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.