@Component public class NavigatorServiceImpl extends Object implements NavigatorService
| Modifier and Type | Method and Description |
|---|---|
JobExecution |
copyResources(List<ResourceIdentifier> resources,
String targetFolderId) |
JobExecution |
deleteResources(List<ResourceIdentifier> resources) |
JobExecution |
downloadResources(List<ResourceIdentifier> resources) |
List<Resource> |
findResources(String query) |
Folder |
getFolder(String folderId) |
List<Resource> |
getResources(String folderId) |
void |
moveResources(List<ResourceIdentifier> resources,
String targetFolderId) |
void |
updateResource(Resource resource) |
@Transactional(readOnly=true) @Nullable public Folder getFolder(@Nullable String folderId)
getFolder in interface NavigatorServicefolderId - null implies the root folder@Transactional(readOnly=true) public List<Resource> getResources(@Nullable String folderId)
getResources in interface NavigatorServicefolderId - null implies the root folder@Transactional(readOnly=true) public List<Resource> findResources(String query)
findResources in interface NavigatorService@Transactional public void moveResources(List<ResourceIdentifier> resources, @Nullable String targetFolderId)
moveResources in interface NavigatorServicetargetFolderId - null implies the root folderpublic JobExecution copyResources(List<ResourceIdentifier> resources, @Nullable String targetFolderId)
copyResources in interface NavigatorServicetargetFolderId - null implies the root folderpublic JobExecution downloadResources(List<ResourceIdentifier> resources)
downloadResources in interface NavigatorService@Transactional public JobExecution deleteResources(List<ResourceIdentifier> resources)
deleteResources in interface NavigatorService@Transactional public void updateResource(Resource resource)
updateResource in interface NavigatorServiceCopyright © 2020 Pivotal Software, Inc.. All rights reserved.