|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ServiceException in com.atlassian.confluence.api |
---|
Methods in com.atlassian.confluence.api that throw ServiceException | |
---|---|
void |
RemoteContentServiceAcceptanceTest.testCanFetchPageWithExpandedBody()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testCannotCreatePropertyOnRestrictedPage()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testCannotDeletePropertyOnRestrictedPage()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testCannotFindPropertyOnRestrictedPage()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testCannotUpdatePropertyOnRestrictedPage()
|
void |
RemoteContentServiceAcceptanceTest.testContentWithVersionButCollapsedState()
|
void |
RemoteContentBodyConversionServiceAcceptanceTest.testConvertEditorToStorage()
|
void |
RemoteContentBodyConversionServiceAcceptanceTest.testConvertStorageToEditor()
|
void |
RemoteContentBodyConversionServiceAcceptanceTest.testConvertStorageToStorage()
|
void |
RemoteContentBodyConversionServiceAcceptanceTest.testConvertStorageToStorageWithBadRequest()
|
void |
RemoteContentBodyConversionServiceAcceptanceTest.testConvertStorageToView()
|
void |
RemoteContentServiceAcceptanceTest.testCreateBlogPost()
|
void |
RemoteContentServiceAcceptanceTest.testCreatePage()
|
void |
RemoteContentServiceAcceptanceTest.testCreatePageWithBodyRequiringContext()
|
void |
RemoteContentServiceAcceptanceTest.testCreatePageWithDuplicateTitle()
|
void |
RemoteContentServiceAcceptanceTest.testCreatePageWithEditorFormat()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testCreateWithLargeValueSucceeds()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testCreateWithTooLargeRequestRejected()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testCreateWithTooLargeValueRejected()
|
void |
RemoteServiceExceptionAcceptanceTest.testDeleteUnknownContent()
|
void |
RemoteContentServiceAcceptanceTest.testDeleteUnknownContent()
|
void |
RemoteContentServiceAcceptanceTest.testDeleteUnpermittedContent()
|
void |
RemoteAttachmentServiceAcceptanceTest.testEditAttachment()
|
void |
RemoteContentServiceAcceptanceTest.testFetchContentWithAncestorsExpanded()
|
void |
RemoteSpaceServiceAcceptanceTest.testGetContentForNonExistentSpace()
|
void |
RemoteContentServiceAcceptanceTest.testGetPageById()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testSearchByContentId()
|
void |
RemoteContentServiceAcceptanceTest.testsGetContentByIdWithLabelsExpanded()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testSimpleCreateRead()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testUpdateWithMissingVersion()
|
void |
RemoteContentPropertyServiceAcceptanceTest.testUpdateWithOldVersion()
|
Uses of ServiceException in com.atlassian.confluence.api.benchmark |
---|
Methods in com.atlassian.confluence.api.benchmark that throw ServiceException | |
---|---|
void |
CommentsBenchmarkAcceptanceTest.testAddingComments()
|
void |
CommentsBenchmarkAcceptanceTest.testAddingCommentsAndRetrievingPages()
|
void |
CommentsBenchmarkAcceptanceTest.testAddingCommentsAndViewingPages()
|
Uses of ServiceException in com.atlassian.confluence.api.impl.model.validation |
---|
Methods in com.atlassian.confluence.api.impl.model.validation that return ServiceException | |
---|---|
ServiceException |
CoreValidationResult.convertToServiceException(java.lang.String errorMsg)
|
ServiceException |
CoreValidationResult.throwIfInvalid(java.lang.String msg)
|
Methods in com.atlassian.confluence.api.impl.model.validation that throw ServiceException | |
---|---|
ServiceException |
CoreValidationResult.throwIfInvalid(java.lang.String msg)
|
Uses of ServiceException in com.atlassian.confluence.api.impl.service.content |
---|
Methods in com.atlassian.confluence.api.impl.service.content that throw ServiceException | |
---|---|
PageResponse<Content> |
AttachmentServiceImpl.addAttachments(ContentId containerId,
java.util.Collection<AttachmentUpload> uploads)
|
PageResponse<Label> |
ContentLabelServiceImpl.addLabels(ContentId contentId,
java.lang.Iterable<Label> labels)
|
ContentBody |
ContentBodyConversionServiceImpl.convert(ContentBody contentBody,
ContentRepresentation toFormat)
|
ContentBody |
ContentBodyConversionServiceImpl.convertBody(Content content,
ContentRepresentation toFormat)
|
Content |
ContentServiceImpl.create(Content newContent)
|
Space |
SpaceServiceImpl.create(Space space,
boolean isPrivate)
|
void |
ContentServiceImpl.delete(Content content)
|
void |
AttachmentServiceImpl.delete(Content attachmentContent)
|
LongTaskSubmission |
SpaceServiceImpl.delete(Space spaceToDelete)
|
Content |
ContentServiceImpl.update(Content updatedContent)
|
Content |
AttachmentServiceImpl.update(Content updatedContent)
|
Space |
SpaceServiceImpl.update(Space space)
|
Content |
AttachmentServiceImpl.updateData(ContentId attachmentId,
AttachmentUpload upload)
|
ValidationResult |
ContentServiceImpl.ValidatorImpl.validateCreate(Content newContent)
|
protected void |
ContentServiceImpl.ValidatorImpl.validateCreate(com.atlassian.user.User user,
Space space,
java.lang.Class<?> typeToCreate)
|
Uses of ServiceException in com.atlassian.confluence.api.impl.service.content.factory |
---|
Methods in com.atlassian.confluence.api.impl.service.content.factory that throw ServiceException | |
---|---|
ContentBody |
ContentBodyFactory.build(BodyContent bodyContent,
ContentRepresentation representation)
|
Uses of ServiceException in com.atlassian.confluence.api.impl.service.content.typebinding |
---|
Methods in com.atlassian.confluence.api.impl.service.content.typebinding that throw ServiceException | |
---|---|
PageResponse<Content> |
AttachmentContentTypeBinding.getAttachments(ContentId containerId,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super Attachment> predicate,
Expansions contentExpansions)
|
Uses of ServiceException in com.atlassian.confluence.api.model.validation |
---|
Methods in com.atlassian.confluence.api.model.validation that return ServiceException | |
---|---|
ServiceException |
SimpleValidationResult.convertToServiceException(java.lang.String errorMsg)
|
ServiceException |
ValidationResult.throwIfInvalid(java.lang.String msg)
converts this validation result into an Exception and throws it |
ServiceException |
SimpleValidationResult.throwIfInvalid(java.lang.String msg)
|
Methods in com.atlassian.confluence.api.model.validation that throw ServiceException | |
---|---|
ServiceException |
ValidationResult.throwIfInvalid(java.lang.String msg)
converts this validation result into an Exception and throws it |
ServiceException |
SimpleValidationResult.throwIfInvalid(java.lang.String msg)
|
Uses of ServiceException in com.atlassian.confluence.api.service.content |
---|
Methods in com.atlassian.confluence.api.service.content that throw ServiceException | |
---|---|
PageResponse<Content> |
AttachmentService.addAttachments(ContentId containerId,
java.util.Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of Content . |
PageResponse<Label> |
ContentLabelService.addLabels(ContentId contentId,
java.lang.Iterable<Label> labels)
Adds the given labels to the specified content |
ContentBody |
ContentBodyConversionService.convert(ContentBody body,
ContentRepresentation representation)
Convert a ContentBody value into another format, performing validation during the conversion. |
ContentBody |
ContentBodyConversionService.convertBody(Content content,
ContentRepresentation representation)
Convert the single ContentBody value in a Content body map into another format, performing
validation during the conversion. |
Content |
ContentService.create(Content newContent)
Create a piece of content. |
JsonContentProperty |
ContentPropertyService.create(JsonContentProperty newProperty)
Create a content property. |
Space |
SpaceService.create(Space newSpace,
boolean isPrivate)
Create a new space. |
void |
ContentService.delete(Content content)
Removes a piece of Content from the system. |
void |
AttachmentService.delete(Content attachment)
Removes an Attachment from the system. |
void |
ContentPropertyService.delete(JsonContentProperty property)
Removes a content property from the system. |
LongTaskSubmission |
SpaceService.delete(Space spaceToDelete)
Delete the given space. |
PageResponse<Content> |
ContentService.ContentFetcher.fetchMany(ContentType type,
PageRequest request)
|
java.util.Map<ContentType,PageResponse<Content>> |
ContentService.ContentFetcher.fetchMappedByContentType(PageRequest request)
|
Content |
ContentService.update(Content content)
Updates a piece of content. |
Content |
AttachmentService.update(Content attachment)
Updates the non-data parts of an Attachment Content instance. |
JsonContentProperty |
ContentPropertyService.update(JsonContentProperty property)
Updates a content property. |
Space |
SpaceService.update(Space space)
Updates a space. |
Content |
AttachmentService.updateData(ContentId attachmentId,
AttachmentUpload upload)
Updates the data part of an Attachment Content instance. |
ValidationResult |
ContentService.Validator.validateCreate(Content newContent)
Validate that a piece of content can be included, including permission checks. |
Uses of ServiceException in com.atlassian.confluence.api.service.exceptions |
---|
Subclasses of ServiceException in com.atlassian.confluence.api.service.exceptions | |
---|---|
class |
BadRequestException
Thrown when the data in the incoming request is incomplete or otherwise invalid. |
class |
ConflictException
Thrown when an UPDATE request is made with a stale version number. |
class |
InternalServerException
A ServiceException wrapper for a general runtime exception. |
class |
NotFoundException
Thrown when things that are expected to be found are NOT found. |
class |
PermissionException
Raised when a user attempts to perform an action they do not have permission for. |
Uses of ServiceException in com.atlassian.confluence.api.service.exceptions.unchecked |
---|
Subclasses of ServiceException in com.atlassian.confluence.api.service.exceptions.unchecked | |
---|---|
class |
NotImplementedServiceException
Indicates that a particular service is not yet implemented, maps to a 501 error |
Uses of ServiceException in com.atlassian.confluence.api.service.journal |
---|
Methods in com.atlassian.confluence.api.service.journal that throw ServiceException | ||
---|---|---|
int |
JournalService.countEntries(JournalIdentifier journalId)
Counts the number of entries in a journal. |
|
long |
JournalService.enqueue(JournalEntry entry)
Adds the given entry to a journal. |
|
java.lang.Iterable<JournalEntry> |
JournalService.peek(JournalIdentifier journalId,
int maxEntries)
Return a copy of journal entries that are waiting to be processed. |
|
|
JournalService.processEntries(JournalIdentifier journalId,
int maxEntries,
com.google.common.base.Function<java.lang.Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)
Processes journal entries that were added since the last time this method was called for this journal on this cluster node. |
|
void |
JournalService.reset(JournalIdentifier journalId)
Resets the state of the journal so that all entries currently in the journal will be skipped. |
Uses of ServiceException in com.atlassian.confluence.impl.journal |
---|
Methods in com.atlassian.confluence.impl.journal that throw ServiceException | ||
---|---|---|
int |
DefaultJournalService.countEntries(JournalIdentifier journalId)
|
|
long |
DefaultJournalService.enqueue(JournalEntry entry)
|
|
java.lang.Iterable<JournalEntry> |
DefaultJournalService.peek(JournalIdentifier journalId,
int maxEntries)
|
|
|
DefaultJournalService.processEntries(JournalIdentifier journalId,
int maxEntries,
com.google.common.base.Function<java.lang.Iterable<JournalEntry>,EntryProcessorResult<V>> entryProcessor)
|
|
void |
DefaultJournalService.reset(JournalIdentifier journalId)
|
Uses of ServiceException in com.atlassian.confluence.it.api |
---|
Methods in com.atlassian.confluence.it.api that throw ServiceException | |
---|---|
java.util.List<Content> |
TestAttachmentFactory.addAttachments(int numFiles)
|
PageResponse<Content> |
TestAttachmentFactory.addAttachments(int numFiles,
javax.ws.rs.core.MediaType contentType)
|
Constructors in com.atlassian.confluence.it.api with parameters of type ServiceException | |
---|---|
RemoteServiceException(ServiceException cause)
|
Uses of ServiceException in com.atlassian.confluence.plugins.contentproperty |
---|
Methods in com.atlassian.confluence.plugins.contentproperty that throw ServiceException | |
---|---|
JsonContentProperty |
ContentPropertyServiceImpl.create(JsonContentProperty newProperty)
|
void |
ContentPropertyServiceImpl.delete(JsonContentProperty property)
|
JsonContentProperty |
ContentPropertyServiceImpl.update(JsonContentProperty property)
|
Uses of ServiceException in com.atlassian.confluence.rest.api.model |
---|
Methods in com.atlassian.confluence.rest.api.model that return ServiceException | |
---|---|
static ServiceException |
ExceptionConverter.Client.convertToServiceException(com.sun.jersey.api.client.UniformInterfaceException e)
Converts a Jersey UniformInterfaceException , such as would be received by a client for a failed
request, into a ServiceException . |
Uses of ServiceException in com.atlassian.confluence.rest.api.model.validation |
---|
Methods in com.atlassian.confluence.rest.api.model.validation that return ServiceException | |
---|---|
ServiceException |
RestValidationResult.throwIfInvalid(java.lang.String msg)
|
Methods in com.atlassian.confluence.rest.api.model.validation that throw ServiceException | |
---|---|
ServiceException |
RestValidationResult.throwIfInvalid(java.lang.String msg)
|
Uses of ServiceException in com.atlassian.confluence.rest.client |
---|
Methods in com.atlassian.confluence.rest.client that throw ServiceException | |
---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentServiceImpl.addAttachments(ContentId contentId,
java.util.Collection<AttachmentUpload> uploads)
|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
RemoteAttachmentService.addAttachments(ContentId contentId,
java.util.Collection<AttachmentUpload> uploads)
Add one or more attachments to a piece of Content . |
com.atlassian.util.concurrent.Promise<PageResponse<Label>> |
RemoteContentLabelServiceImpl.addLabels(ContentId contentId,
java.lang.Iterable<Label> labels)
|
com.atlassian.util.concurrent.Promise<? extends java.lang.Iterable<Label>> |
RemoteContentLabelService.addLabels(ContentId contentId,
java.lang.Iterable<Label> labels)
Adds the given labels to the specified content |
com.atlassian.util.concurrent.Promise<Space> |
RemoteSpaceServiceImpl.create(Space newSpace,
boolean isPrivate)
|
com.atlassian.util.concurrent.Promise<Space> |
RemoteSpaceService.create(Space newSpace,
boolean isPrivate)
Create a new space. |
com.atlassian.util.concurrent.Promise<java.lang.Void> |
RemoteAttachmentServiceImpl.delete(Content attachmentContent)
|
com.atlassian.util.concurrent.Promise<java.lang.Void> |
RemoteAttachmentService.delete(Content attachmentContent)
Removes an Attachment from the system. |
void |
RemoteContentLabelServiceImpl.removeLabels(ContentId contentId,
java.lang.Iterable<Label> labels)
|
void |
RemoteContentLabelService.removeLabels(ContentId contentId,
java.lang.Iterable<Label> labels)
Remove a label with labelId from the specified content |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentServiceImpl.update(Content attachment)
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentService.update(Content attachment)
Updates the non-data parts of an Attachment Content instance. |
com.atlassian.util.concurrent.Promise<Space> |
RemoteSpaceServiceImpl.update(Space space)
|
com.atlassian.util.concurrent.Promise<Space> |
RemoteSpaceService.update(Space space)
Updates a space. |
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentServiceImpl.updateData(ContentId attachmentId,
AttachmentUpload upload)
|
com.atlassian.util.concurrent.Promise<Content> |
RemoteAttachmentService.updateData(ContentId attachmentId,
AttachmentUpload upload)
Updates the data part of an Attachment Content instance. |
Uses of ServiceException in com.atlassian.confluence.rest.resources |
---|
Methods in com.atlassian.confluence.rest.resources that throw ServiceException | |
---|---|
PageResponse<Label> |
ContentLabelsResource.addLabels(ContentId contentId,
java.util.List<Label> labels)
Adds a list of labels to the specified content. |
java.util.Map<ContentType,PageResponse<Content>> |
ChildContentResource.children(ContentId contentId,
java.lang.String expand,
javax.ws.rs.core.UriInfo uriInfo)
Returns a map of the direct children of a piece of Content. |
RestList<Content> |
ChildContentResource.childrenOfType(ContentId contentId,
ContentType type,
java.lang.String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns the direct children of a piece of Content, limited to a single child type. |
java.util.Map<ContentType,RestList<Content>> |
SpaceResource.contents(java.lang.String spaceKey,
java.lang.String depth,
java.lang.String expand,
int start,
int limit)
Returns the content in this given space |
RestList<Content> |
SpaceResource.contentsWithType(java.lang.String spaceKey,
java.lang.String type,
java.lang.String depth,
java.lang.String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns the content in this given space with the given type |
ContentBody |
ContentBodyResource.convert(ContentBody body,
ContentRepresentation toRepresentation)
Converts between content body representations. |
JsonContentProperty |
ContentPropertyResource.create(ContentId contentId,
JsonContentProperty newProperty)
Creates a new content property. |
JsonContentProperty |
ContentPropertyResource.create(ContentId contentId,
java.lang.String key,
JsonContentProperty newProperty)
Creates a new content property. |
RestList<Content> |
AttachmentResource.createAttachments(ContentId contentId,
java.util.List<com.atlassian.plugins.rest.common.multipart.FilePart> fileParts,
java.util.List<com.atlassian.plugins.rest.common.multipart.FilePart> comments,
java.util.List<com.atlassian.plugins.rest.common.multipart.FilePart> minorEdits)
Add one or more attachments to a Confluence Content entity, with optional comments. |
Content |
ContentResource.createContent(Content newContent)
Creates a new piece of Content. |
Space |
SpaceResource.createPrivateSpace(Space newSpace)
Creates a new private Space, viewable only by its creator. |
Space |
SpaceResource.createSpace(Space newSpace)
Creates a new Space. |
javax.ws.rs.core.Response |
ContentResource.delete(ContentId contentId)
Deletes a piece of Content. |
javax.ws.rs.core.Response |
ContentPropertyResource.delete(ContentId contentId,
java.lang.String key)
Deletes a content property. |
javax.ws.rs.core.Response |
SpaceResource.delete(java.lang.String spaceKey)
Deletes a Space. |
java.util.Map<ContentType,PageResponse<Content>> |
DescendantContentResource.descendants(ContentId contentId,
java.lang.String expand,
javax.ws.rs.core.UriInfo uriInfo)
Returns a map of the descendants of a piece of Content. |
RestList<Content> |
DescendantContentResource.descendantsOfType(ContentId contentId,
ContentType type,
java.lang.String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns the direct descendants of a piece of Content, limited to a single descendant type. |
RestList<JsonContentProperty> |
ContentPropertyResource.findAll(ContentId contentId,
java.lang.String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of content properties. |
JsonContentProperty |
ContentPropertyResource.findByKey(ContentId contentId,
java.lang.String key,
java.lang.String expand)
Returns a content property. |
RestList<Content> |
AttachmentResource.getAttachments(ContentId contentId,
java.lang.String expand,
int start,
int limit,
java.lang.String filename,
java.lang.String mediaType,
javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of attachment Content entities within a single container. |
PageResponse<Content> |
ContentResource.getContent(java.lang.String type,
java.lang.String spaceKey,
java.lang.String title,
java.lang.String postingDay,
java.lang.String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of Content. |
Content |
ContentResource.getContentById(ContentId id,
java.lang.String expand)
Returns a piece of Content. |
History |
ContentResource.getHistory(ContentId contentId,
java.lang.String expand)
Returns the history of a particular piece of content |
MacroInstance |
ContentResource.getMacroBodyByHash(ContentId contentId,
int versionId,
java.lang.String hash)
Returns the body of a macro (in storage format) with the given hash. |
PageResponse<Label> |
ContentLabelsResource.labels(ContentId contentId,
java.util.List<java.lang.String> prefixes,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns the list of labels on a piece of Content. |
PageResponse<Space> |
SpaceResource.spaces(java.util.List<java.lang.String> spaceKeys,
java.lang.String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Returns information about a number of spaces. |
Content |
ContentResource.update(ContentId contentId,
Content content)
Updates a piece of Content. |
JsonContentProperty |
ContentPropertyResource.update(ContentId contentId,
java.lang.String key,
JsonContentProperty property)
Updates a content property. |
Content |
AttachmentResource.update(java.lang.String attachmentId,
Content attachment)
Update the non-binary data of an Attachment. |
Space |
SpaceResource.update(java.lang.String spaceKey,
Space space)
Updates a Space. |
Content |
AttachmentResource.updateData(ContentId attachmentId,
com.atlassian.plugins.rest.common.multipart.FilePart filePart,
com.atlassian.plugins.rest.common.multipart.FilePart comment,
com.atlassian.plugins.rest.common.multipart.FilePart minorEdit)
Update the binary data of an Attachment, and optionally the comment. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |