Modifier and Type | Method and Description |
---|---|
void |
RemoteContentRestrictionServiceAcceptanceTest.testGetAllRestrictionsNonExistingPage() |
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 |
---|---|
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 current version of the
given content
|
boolean |
AttachmentService.Validator.canCreateAttachments(ContentId containerId,
ContentStatus status)
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 |
---|---|
ContentRestrictionsPageResponse |
ContentRestrictionService.getRestrictions(ContentId target,
PageRequest pageRequest,
Expansion... expansions)
Retrieves all the restrictions for all the operations on a given Content.
|
Modifier and Type | Method and Description |
---|---|
protected <T> T |
TransactionWrappingFinder.executeReadOnly(ThrowingTransactionCallback<T,NotFoundException> callback) |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
TransactionWrappingFinder.executeReadOnly(ThrowingTransactionCallback<T,NotFoundException> callback) |
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,
ContentStatus sourceStatus,
ContentStatus targetStatus,
Integer sourceVersion,
Integer targetVersion)
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,
ContentStatus sourceStatus,
ContentStatus targetStatus,
Integer sourceVersion,
Integer targetVersion)
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,
ContentStatus sourceStatus,
ContentStatus targetStatus,
Integer sourceVersion,
Integer targetVersion)
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
|
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> |
RemoteContentRestrictionServiceImpl.getRestrictions(ContentId target,
PageRequest pageRequest,
Expansion... expansions) |
com.atlassian.util.concurrent.Promise<ContentRestrictionsPageResponse> |
RemoteContentRestrictionService.getRestrictions(ContentId target,
PageRequest pageRequest,
Expansion... expansions)
Retrieves all the restrictions for all the operations on a given Content.
|
Copyright © 2003–2017 Atlassian. All rights reserved.