| Package | Description |
|---|---|
| com.atlassian.crowd.embedded.api | |
| com.atlassian.crowd.embedded.impl |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<Directory> |
Directories.ACTIVE_FILTER
A predicate that matches directories that are active
|
static com.google.common.base.Function<Directory,String> |
Directories.NAME_FUNCTION
A function that projects the directory name
|
| Modifier and Type | Method and Description |
|---|---|
Directory |
CrowdDirectoryService.addDirectory(Directory directory)
Will add a new
Directory into the local database. |
Directory |
CrowdDirectoryService.findDirectoryById(long directoryId)
Will return a
Directory based on the given directoryId |
Directory |
CrowdDirectoryService.updateDirectory(Directory directory)
Will update the
Directory. |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Predicate<Directory> |
Directories.directoryWithIdPredicate(long directoryId)
Matches for directories with the specified directoryId.
|
List<Directory> |
CrowdDirectoryService.findAllDirectories()
Will return a
List<Directory> ordered by the order specified by the application. |
| Modifier and Type | Method and Description |
|---|---|
Directory |
CrowdDirectoryService.addDirectory(Directory directory)
Will add a new
Directory into the local database. |
void |
CrowdDirectoryService.testConnection(Directory directory)
Test if a connection to the directory server can be established.
|
Directory |
CrowdDirectoryService.updateDirectory(Directory directory)
Will update the
Directory. |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<String> |
Directories.namesOf(Iterable<? extends Directory> directories)
Transforms directories into their names.
|
| Modifier and Type | Method and Description |
|---|---|
static UserCapabilities |
DirectoryUserCapabilities.fromDirectory(Directory directory) |
Copyright © 2019 Atlassian. All rights reserved.