| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Function<String,NotFoundException> |
CoreServiceExceptionSuppliers.notFoundException()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ChildContentService.ChildContentFinder |
ChildContentServiceImpl.findContent(ContentId parentId,
Expansion... expansions) |
SpaceService.SpaceContentFinder |
SpaceServiceImpl.findContent(Space space,
Expansion... expansions) |
PageResponse<Label> |
ContentLabelServiceImpl.getLabels(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest pageRequest) |
| Modifier and Type | Method and Description |
|---|---|
PageResponse<User> |
NetworkServiceImpl.getFollowers(com.atlassian.sal.api.user.UserKey userKey,
PageRequest request) |
PageResponse<User> |
NetworkServiceImpl.getFollowing(com.atlassian.sal.api.user.UserKey userKey,
PageRequest request) |
| Modifier and Type | Method and Description |
|---|---|
ContentRestriction |
ContentRestrictionServiceImpl.getRestrictionsForOperation(ContentId target,
OperationKey operationKey,
PageRequest pageRequest,
Expansion... allExpansions) |
Map<OperationKey,ContentRestriction> |
ContentRestrictionServiceImpl.getRestrictionsGroupByOperation(ContentId target,
Expansion... allExpansions) |
| Modifier and Type | Method and Description |
|---|---|
static com.atlassian.fugue.Function2<String,ValidationResult,? extends NotFoundException> |
ServiceExceptionSupplier.notFoundException() |
static com.google.common.base.Supplier<NotFoundException> |
ServiceExceptionSupplier.notFoundException(String errorMsg) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AttachmentService.Validator.canCreateAttachments(ContentId containerId)
Checks if the user is permitted to add attachments to the given content
|
PageResponse<Content> |
SpaceService.SpaceContentFinder.fetchMany(ContentType type,
PageRequest request)
Retrieve all content contained in this space of the particular type
|
Map<ContentType,PageResponse<Content>> |
SpaceService.SpaceContentFinder.fetchMappedByType(PageRequest request)
Retrieve all content contained in this space mapped by ContentType
|
ChildContentService.ChildContentFinder |
ChildContentService.findContent(ContentId parentId,
Expansion... expansion)
A finder to locate
Content under a parent. |
SpaceService.SpaceContentFinder |
SpaceService.findContent(Space space,
Expansion... expansion)
A finder to locate content in the space
|
PageResponse<Label> |
ContentLabelService.getLabels(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest pageRequest)
Get the labels attached to a given piece of content in the given namespaces
|
| Modifier and Type | Method and Description |
|---|---|
PageResponse<User> |
NetworkService.getFollowers(com.atlassian.sal.api.user.UserKey userKey,
PageRequest request)
Gets the users who are following the given user.
|
PageResponse<User> |
NetworkService.getFollowing(com.atlassian.sal.api.user.UserKey userKey,
PageRequest request)
Gets the users that the given user is following.
|
| Modifier and Type | Method and Description |
|---|---|
ContentRestriction |
ContentRestrictionService.getRestrictionsForOperation(ContentId target,
OperationKey operationKey,
PageRequest pageRequest,
Expansion... expansions)
Retrieves all restrictions for given operation key on given content.
|
Map<OperationKey,ContentRestriction> |
ContentRestrictionService.getRestrictionsGroupByOperation(ContentId target,
Expansion... expansions)
List all restrictions that exist directly on the given content.
|
| Modifier and Type | Method and Description |
|---|---|
PageResponse<T> |
TransactionWrappingFinder.fetchMany(PageRequest request) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
RelationResource.create(String sourceType,
String sourceKey,
String relationName,
String targetType,
String targetKey)
Add a relationship between two user, space, or content entities.
|
javax.ws.rs.core.Response |
RelationResource.delete(String sourceType,
String sourceKey,
String relationName,
String targetType,
String targetKey)
Remove a relationship between two user, space, or content entities.
|
javax.ws.rs.core.Response |
RelationResource.isRelated(String sourceType,
String sourceKey,
String relationName,
String targetType,
String targetKey)
Determines whether a relationship exists between two user, space or content entities.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
OptionGetters.getOrThrowNotFound(com.atlassian.fugue.Option<T> option,
String errorMessage)
Retrieve the non-null value from an
Option, or throw a NotFoundException. |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Label>> |
RemoteContentLabelServiceImpl.getLabels(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest request) |
com.atlassian.util.concurrent.Promise<? extends Iterable<Label>> |
RemoteContentLabelService.getLabels(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest request)
Get the labels attached to a given piece of content in the given namespaces
|
Copyright © 2003–2016 Atlassian. All rights reserved.