@Named public class TestkitDirectoryResource extends Object
Constructor and Description |
---|
TestkitDirectoryResource(DirectoryManager directoryManager,
SynchronisationStatusManager synchronisationStatusManager,
EncryptionSettings encryptionSettings) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createDirectory(DirectoryImpl directory) |
javax.ws.rs.core.Response |
deleteDirectory(long directoryId) |
javax.ws.rs.core.Response |
getAttributes(long directoryId) |
javax.ws.rs.core.Response |
getDirectory(long directoryId) |
javax.ws.rs.core.Response |
getDirectorySynchronisationStatus(long directoryId) |
javax.ws.rs.core.Response |
listDirectories() |
Map<String,String> |
markSynchronizationFinished(long directoryId,
String syncToken) |
javax.ws.rs.core.Response |
setPollDelay(String value) |
javax.ws.rs.core.Response |
syncDirectory(long directoryId,
SynchronisationMode mode) |
javax.ws.rs.core.Response |
updateDirectory(long directoryId,
DirectoryImpl directory) |
javax.ws.rs.core.Response |
updateDirectoryAttributes(long directoryId,
Map<String,String> attributes) |
javax.ws.rs.core.Response |
updateDirectoryPermissions(long directoryId,
Set<OperationType> operationTypes) |
@Inject public TestkitDirectoryResource(DirectoryManager directoryManager, SynchronisationStatusManager synchronisationStatusManager, EncryptionSettings encryptionSettings)
public javax.ws.rs.core.Response listDirectories() throws IOException
IOException
public javax.ws.rs.core.Response getDirectory(long directoryId) throws DirectoryCurrentlySynchronisingException, DirectoryNotFoundException, IOException
public javax.ws.rs.core.Response deleteDirectory(long directoryId) throws DirectoryCurrentlySynchronisingException, DirectoryNotFoundException
public javax.ws.rs.core.Response updateDirectory(long directoryId, DirectoryImpl directory) throws DirectoryNotFoundException
DirectoryNotFoundException
public javax.ws.rs.core.Response updateDirectoryAttributes(long directoryId, Map<String,String> attributes) throws DirectoryNotFoundException
DirectoryNotFoundException
public javax.ws.rs.core.Response updateDirectoryPermissions(long directoryId, Set<OperationType> operationTypes) throws DirectoryNotFoundException
DirectoryNotFoundException
public javax.ws.rs.core.Response createDirectory(DirectoryImpl directory) throws IOException, DirectoryInstantiationException
public javax.ws.rs.core.Response syncDirectory(long directoryId, SynchronisationMode mode) throws OperationFailedException, DirectoryNotFoundException
public javax.ws.rs.core.Response getDirectorySynchronisationStatus(long directoryId) throws DirectoryInstantiationException, DirectoryNotFoundException, IOException
public Map<String,String> markSynchronizationFinished(long directoryId, String syncToken) throws DirectoryNotFoundException, IOException, DirectoryInstantiationException
public javax.ws.rs.core.Response setPollDelay(String value)
public javax.ws.rs.core.Response getAttributes(long directoryId) throws DirectoryNotFoundException
DirectoryNotFoundException
Copyright © 2023 Atlassian. All rights reserved.