@Named public class TestkitDirectoryResource extends Object
| Constructor and Description |
|---|
TestkitDirectoryResource(DirectoryManager directoryManager) |
| 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 |
getDirectory(long directoryId) |
javax.ws.rs.core.Response |
getDirectorySynchronisationStatus(long directoryId) |
javax.ws.rs.core.Response |
listDirectories() |
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) |
@Inject public TestkitDirectoryResource(DirectoryManager directoryManager)
public javax.ws.rs.core.Response listDirectories()
throws IOException
IOExceptionpublic 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
DirectoryNotFoundExceptionpublic 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 javax.ws.rs.core.Response setPollDelay(String value)
Copyright © 2017 Atlassian. All rights reserved.