You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dotCMS/src/main/java/com/dotcms/rest/ContentResource.java
+30-2Lines changed: 30 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -322,10 +322,19 @@ public Response indexCount(@Context HttpServletRequest request,
322
322
}
323
323
324
324
325
+
/**
326
+
* @Deprecated This method is deprecated and will be removed in future versions. Use {@link com.dotcms.rest.api.v1.content.ContentResource#lockContent(HttpServletRequest, HttpServletResponse, String, String)}
@@ -394,6 +403,16 @@ public Response lockContent(@Context HttpServletRequest request,
394
403
}
395
404
396
405
406
+
/**
407
+
* @Deprecated This method is deprecated and will be removed in future versions. Use {@link com.dotcms.rest.api.v1.content.ContentResource#canLockContent(HttpServletRequest, HttpServletResponse, String, String)}
408
+
* @param request
409
+
* @param response
410
+
* @param params
411
+
* @return
412
+
* @throws DotDataException
413
+
* @throws JSONException
414
+
*/
415
+
@Deprecated
397
416
@PUT
398
417
@Path("/canLock/{params:.*}")
399
418
@Produces(MediaType.APPLICATION_JSON)
@@ -482,10 +501,19 @@ public Response canLockContent(@Context HttpServletRequest request, @Context fin
482
501
}
483
502
}
484
503
504
+
/**
505
+
* @Deprecated This method is deprecated and will be removed in future versions. Use {@link com.dotcms.rest.api.v1.content.ContentResource#unlockContent(HttpServletRequest, HttpServletResponse, String, String)}
0 commit comments