@Named public class StudioWorkspaceResourceHandler extends Object implements WorkspaceResourceHandler
| Modifier and Type | Field and Description |
|---|---|
protected static String |
GET_LOCK_STATUS |
| Constructor and Description |
|---|
StudioWorkspaceResourceHandler(RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Path filePath) |
protected org.springframework.http.ResponseEntity<String> |
doGet(Path filePath,
String action) |
protected org.springframework.http.ResponseEntity<String> |
doPost(Path filePath,
WorkspaceResourceEvent actionEvent) |
LockStatus |
getLockStatus(Path filePath) |
void |
postClose(Path filePath) |
void |
postDelete(Path filePath) |
void |
postImport() |
void |
postSave(Path filePath) |
void |
preImport() |
void |
preOpen(Path filePath) |
protected static final String GET_LOCK_STATUS
@Inject public StudioWorkspaceResourceHandler(RestClient restClient)
public void preOpen(Path filePath) throws LockedResourceException, ResourceNotFoundException
preOpen in interface WorkspaceResourceHandlerLockedResourceExceptionResourceNotFoundExceptionpublic void postClose(Path filePath) throws ResourceNotFoundException
postClose in interface WorkspaceResourceHandlerResourceNotFoundExceptionpublic void delete(Path filePath) throws ResourceNotFoundException
delete in interface WorkspaceResourceHandlerResourceNotFoundExceptionpublic void postDelete(Path filePath) throws ResourceNotFoundException
postDelete in interface WorkspaceResourceHandlerResourceNotFoundExceptionpublic void postSave(Path filePath) throws ResourceNotFoundException
postSave in interface WorkspaceResourceHandlerResourceNotFoundExceptionpublic void preImport()
preImport in interface WorkspaceResourceHandlerpublic void postImport()
postImport in interface WorkspaceResourceHandlerpublic LockStatus getLockStatus(Path filePath) throws ResourceNotFoundException
getLockStatus in interface WorkspaceResourceHandlerResourceNotFoundExceptionprotected org.springframework.http.ResponseEntity<String> doPost(Path filePath, WorkspaceResourceEvent actionEvent)
Copyright © 2021. All rights reserved.