Package org.silverpeas.core.webapi.wopi
Class WopiLockResponseManager
- java.lang.Object
- 
- org.silverpeas.core.webapi.wopi.WopiLockResponseManager
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedWopiLockResponseManager()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisEnabled()Indicates if lock manager is enabled.protected Optional<javax.ws.rs.core.Response>manage(javax.servlet.http.HttpServletRequest request, String lockAction, WopiFile file)Manages a file lock.
 
- 
- 
- 
Method Detail- 
isEnabledprotected boolean isEnabled() Indicates if lock manager is enabled.- Returns:
- true of enabled, false otherwise.
 
 - 
manageprotected Optional<javax.ws.rs.core.Response> manage(javax.servlet.http.HttpServletRequest request, String lockAction, WopiFile file) Manages a file lock.- Parameters:
- request- the current request.
- lockAction- the lock action.
- file- the current file to manage.
- Returns:
- an optional HTTP response.
 
 
- 
 
-