Uses of Class
com.atlassian.confluence.api.model.Expansions
-
-
Uses of Expansions in com.atlassian.confluence.api.extension
Methods in com.atlassian.confluence.api.extension with parameters of type Expansions Modifier and Type Method Description default Map<String,?>ModelMetadataProvider. getMetadata(Object entity, Expansions expansions)Deprecated.since 5.10 Consider bulk evaluating meta-data by implementing getMetadataForAll.Map<Object,Map<String,?>>ModelMetadataProvider. getMetadataForAll(Iterable<Object> entities, Expansions expansions)Fetches metadata for a list of entities, returning a map of maps of metadata. -
Uses of Expansions in com.atlassian.confluence.api.impl
Methods in com.atlassian.confluence.api.impl with parameters of type Expansions Modifier and Type Method Description RestEntityDefaultApiRestEntityFactory. buildRestEntityFrom(ContentEntityObject entity, Expansions expansions)RestEntity<Space>DefaultApiRestEntityFactory. buildRestEntityFrom(Space space, Expansions expansions)Iterable<RestEntity>DefaultApiRestEntityFactory. buildRestEntityFromContent(Iterable<? extends ContentEntityObject> entities, Expansions expansions)Iterable<RestEntity>DefaultApiRestEntityFactory. buildRestEntityFromSpaces(Iterable<Space> spaces, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.api.impl.service.content
Methods in com.atlassian.confluence.api.impl.service.content with parameters of type Expansions Modifier and Type Method Description PageResponse<Content>AttachmentServiceImpl. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.api.impl.service.content.factory
Methods in com.atlassian.confluence.api.impl.service.content.factory that return Expansions Modifier and Type Method Description ExpansionsFauxpansions. getSubExpansions()Methods in com.atlassian.confluence.api.impl.service.content.factory with parameters of type Expansions Modifier and Type Method Description com.google.common.base.Function<H,M>ModelFactory. asFunction(Expansions expansions)Deprecated.since 5.10 use buildFrom or asListFunction insteadVersionVersionFactory. build(ContentEntityObject entity, Expansions subExpansions, ContentFactory contentFactory)WebResourceDependenciesWebResourceDependenciesFactory. build(WebResourceDependenciesRecorder.RecordedResources recorded, Expansions wrExpansion)Builds aWebResourceDependenciesobject from the given expansion and the recorded resource.Content.ContentBuilderContentFactory. builderFrom(ContentEntityObject entity, ContentType contentType, Expansions expansions)Exposes the content builder that this factory uses to produce content objects, generally don't use this method, it exists as an interim measure whilst legacy drafts are being migrated to shared drafts and we need to be able to attach files to legacy drafts using the rest api.Map<String,Object>ContentExtensionsFactory. buildExtensions(ContentConvertible entity, Expansions expansions)ContentContentFactory. buildFrom(ContentEntityObject entity, Expansions expansions)<HC extends ContentEntityObject>
Iterable<Content>ContentFactory. buildFrom(Iterable<HC> entities, Expansions expansions)ContentTemplateContentTemplateFactory. buildFrom(PageTemplate hibernateObject, Expansions expansions)Deprecated.ContributorsContributorsFactory. buildFrom(List<ConfluenceUser> editContributors, Expansions expansions)ContentTemplateDefaultContentTemplateFactory. buildFrom(PageTemplate hibernateObject, Expansions expansions)Convert from db entity object into model object.LabelLabelFactory. buildFrom(Label hibernateObject, Expansions expansions)abstract MModelFactory. buildFrom(H hibernateObject, Expansions expansions)<HC extends H>
Iterable<M>ModelFactory. buildFrom(Iterable<HC> hibernateObjects, Expansions expansions)UserPersonFactory. buildFrom(ConfluenceUser hibernateObject, Expansions expansions)SpaceSpaceFactory. buildFrom(Space space, Expansions expansions)SpaceSpaceFactory. buildFrom(String spaceKey, Expansions expansions)Optional<Object>ContentExtensionsFactory. containerEntity(ContentConvertible entity, Expansions expansions)static FauxpansionsFauxpansions. fauxpansions(Expansions expansions, String propertyName)@NonNull PersonPersonFactory. forCurrentUser(Expansions expansions)Construct the person object for the current user.PersonPersonFactory. forUser(ConfluenceUser user, Expansions expansions)Construct the person object for a particular user.UserPersonFactory. fromUser(@NonNull ConfluenceUser user, Expansions expansions)Constructs a User object for a particular user.PageResponse<Content>ChildSupport. getChildrenList(ContentConvertible parent, ContentType childType, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Collection<String> location)Map<ContentType,PageResponse<Content>>ChildSupport. getChildrenMap(ContentSelector parentSelector, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth)Map<ContentType,PageResponse<Content>>ChildSupport. getChildrenMap(ContentSelector parentSelector, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth, Collection<String> location)Map<ContentType,PageResponse<Content>>ChildSupport. getChildrenMap(ContentConvertible parent, LimitedRequest limitedRequest, Expansions childExpansions, Depth depth, Collection<String> location)Called from theContentFactorywhen expanding "children" on a Content item being built.com.atlassian.fugue.Option<Object>ContentExtensionsFactory. getContainerEntity(ContentConvertible entity, Expansions expansions)Deprecated.since 7.0.1.Map<ContentRepresentation,ContentBody>ContentBodyFactory. makeContentBodies(ContentEntityObject ceo, BodyContent bodyContent, Expansions expansions, ContentFactory contentFactory) -
Uses of Expansions in com.atlassian.confluence.api.impl.service.content.finder
Methods in com.atlassian.confluence.api.impl.service.content.finder that return Expansions Modifier and Type Method Description protected ExpansionsAbstractFinder. getExpansions() -
Uses of Expansions in com.atlassian.confluence.api.impl.service.content.typebinding
Methods in com.atlassian.confluence.api.impl.service.content.typebinding with parameters of type Expansions Modifier and Type Method Description PageResponse<Content>AttachmentContentTypeApiSupport. getAttachments(ContentId containerId, LimitedRequest limitedRequest, com.google.common.base.Predicate<? super Attachment> predicate, Expansions contentExpansions)Optional<Content>AttachmentContentTypeApiSupport. getById(ContentId attachmentId, List<ContentStatus> statuses, Expansions expansions)protected PageResponse<Content>AttachmentContentTypeApiSupport. getChildrenForThisType(Attachment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth)protected PageResponse<Content>BlogPostContentTypeApiSupport. getChildrenForThisType(BlogPost content, LimitedRequest limitedRequest, Expansions expansions, Depth depth)protected PageResponse<Content>CommentContentTypeApiSupport. getChildrenForThisType(Comment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth)protected PageResponse<Content>CommentContentTypeApiSupport. getChildrenForThisType(Comment content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)protected PageResponse<Content>PageContentTypeApiSupport. getChildrenForThisType(Page content, LimitedRequest limitedRequest, Expansions expansions, Depth depth)PageResponse<Content>AttachmentContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible parent, LimitedRequest limitedRequest, Expansions expansions, Depth depth)protected PageResponse<Content>BlogPostContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth)protected PageResponse<Content>CommentContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth)protected PageResponse<Content>CommentContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)protected PageResponse<Content>PageContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth)Map<ContentId,Map<String,Object>>AttachmentContentTypeApiSupport. getExtensions(Iterable<Attachment> attachments, Expansions expansions)Map<ContentId,Map<String,Object>>CommentContentTypeApiSupport. getExtensions(Iterable<Comment> contentEntities, Expansions expansions)Map<ContentId,Map<String,Object>>PageContentTypeApiSupport. getExtensions(Iterable<Page> pages, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.api.impl.service.people
Methods in com.atlassian.confluence.api.impl.service.people with parameters of type Expansions Modifier and Type Method Description GroupGroupFactory. buildFrom(com.atlassian.user.Group hibernateObject, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.api.impl.service.permissions
Methods in com.atlassian.confluence.api.impl.service.permissions with parameters of type Expansions Modifier and Type Method Description ContentRestrictionContentRestrictionFactory. buildFrom(@NonNull ContentPermissionSet set, LimitedRequest limitedRequest, Expansions expansions)Produces aContentRestrictionfrom aContentPermissionSetsContentRestrictionContentRestrictionFactory. buildFrom(ContentPermissionSet hibernateObject, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.api.impl.service.relation
Methods in com.atlassian.confluence.api.impl.service.relation with parameters of type Expansions Modifier and Type Method Description TRelatableFactory. buildFrom(S hibernateEntity, Expansions expansions)RelationInstanceRelationInstanceFactory. buildFrom(RelationEntity hibernateObject, Expansions expansions)RelationInstanceRelationInstanceFactory. buildFrom(RelatableEntity sourceEntity, String relationName, RelatableEntity targetEntity, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.api.model
Fields in com.atlassian.confluence.api.model declared as Expansions Modifier and Type Field Description static ExpansionsExpansions. EMPTYMethods in com.atlassian.confluence.api.model that return Expansions Modifier and Type Method Description ExpansionsExpansion. getSubExpansions()ExpansionsExpansions. getSubExpansions(String propertyName)ExpansionsGraphQLQueryExpansion. getSubExpansions()ExpansionsExpansions. merge(Expansions expansions)static ExpansionsExpansions. of(String... expansionStr)ExpansionsExpansions. prepend(String propertyName)Create a new Expansions that prepends the propertyName to the path of all expansions represented in this Expansions object.Methods in com.atlassian.confluence.api.model with parameters of type Expansions Modifier and Type Method Description ExpansionsExpansions. merge(Expansions expansions)Constructors in com.atlassian.confluence.api.model with parameters of type Expansions Constructor Description Expansion(String propertyName, Expansions subExpansions) -
Uses of Expansions in com.atlassian.confluence.api.service.content
Methods in com.atlassian.confluence.api.service.content with parameters of type Expansions Modifier and Type Method Description PageResponse<Content>AttachmentService. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)Add one or more attachments to a piece ofContent. -
Uses of Expansions in com.atlassian.confluence.content
Methods in com.atlassian.confluence.content with parameters of type Expansions Modifier and Type Method Description @NonNull PageResponse<Content>CustomContentManager. getChildrenOfType(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super CustomContentEntityObject> predicate)Deprecated.since 7.0.1.default @NonNull PageResponse<Content>CustomContentManager. getChildrenOfTypeAndFilter(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super CustomContentEntityObject> predicate)Returns the children of a CustomContentEntityObject, limited to the pagination requested. -
Uses of Expansions in com.atlassian.confluence.content.apisupport
Methods in com.atlassian.confluence.content.apisupport with parameters of type Expansions Modifier and Type Method Description default Optional<Object>ContentTypeApiSupport. container(T contentEntity, Expansions expansions)The return type of this method is intentionally broad.PageResponse<Content>BaseContentTypeApiSupport. getChildren(ContentConvertible content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)Deprecated.since 7.0.1.PageResponse<Content>ContentTypeApiSupport. getChildren(ContentConvertible content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)Deprecated.since 7.0.1.protected abstract PageResponse<Content>BaseContentTypeApiSupport. getChildrenForThisType(T content, LimitedRequest limitedRequest, Expansions expansions, Depth depth)protected PageResponse<Content>BaseContentTypeApiSupport. getChildrenForThisType(T content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)Deprecated.since 7.0.1.protected abstract PageResponse<Content>BaseContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth)protected PageResponse<Content>BaseContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)Deprecated.since 7.0.1.protected PageResponse<Content>CustomContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth)protected PageResponse<Content>CustomContentTypeApiSupport. getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super ContentEntityObject> predicate)Deprecated.since 7.0.1.com.atlassian.fugue.Option<Object>BaseContentTypeApiSupport. getContainer(T contentEntity, Expansions expansions)Deprecated.since 7.0.1.com.atlassian.fugue.Option<Object>ContentTypeApiSupport. getContainer(T contentEntity, Expansions expansions)Deprecated.since 7.0.1.Map<ContentId,Map<String,Object>>BaseContentTypeApiSupport. getExtensions(Iterable<T> contentEntities, Expansions expansions)Get the set of extension properties for the collection of contentEntity Ids.Map<ContentId,Map<String,Object>>CommentExtensionsSupport. getExtensions(Iterable<Comment> comments, Expansions expansions)Get the map of extension properties for each of the comment entitiesMap<ContentId,Map<String,Object>>ContentTypeApiSupport. getExtensions(Iterable<T> contentEntities, Expansions expansions)Get the set of extension properties for the collection of contentEntity Ids.Map<ContentId,Map<String,Object>>NullCommentExtensionsSupport. getExtensions(Iterable<Comment> comments, Expansions expansions)default PageResponse<Content>ContentTypeApiSupport. getFilteredChildren(ContentConvertible content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate)Retrieve the children of an item of Content filtered by a predicate.protected PageResponse<Content>BaseContentTypeApiSupport. getFilteredChildrenForThisType(T content, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate)This method includes an additional parameter "location", it will call the default one if not overriddenprotected PageResponse<Content>BaseContentTypeApiSupport. getFilteredChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent, LimitedRequest limitedRequest, Expansions expansions, Depth depth, Predicate<? super ContentEntityObject> predicate)This method includes an additional parameter "location", it will call the default one if not overridden -
Uses of Expansions in com.atlassian.confluence.core
Methods in com.atlassian.confluence.core with parameters of type Expansions Modifier and Type Method Description RestEntity<Content>ApiRestEntityFactory. buildRestEntityFrom(ContentEntityObject entity, Expansions expansions)Build a REST API entity from a ContentEntityObject.RestEntity<Space>ApiRestEntityFactory. buildRestEntityFrom(Space space, Expansions expansions)Build a REST API entity from a hibernate Space object.Iterable<RestEntity>ApiRestEntityFactory. buildRestEntityFromContent(Iterable<? extends ContentEntityObject> entities, Expansions expansions)Build a list of REST API entity objects from ContentEntityObject objects.Iterable<RestEntity>ApiRestEntityFactory. buildRestEntityFromSpaces(Iterable<Space> spaces, Expansions expansions)Build a list of REST API entity objects from hibernate Space objects. -
Uses of Expansions in com.atlassian.confluence.impl.content
Methods in com.atlassian.confluence.impl.content with parameters of type Expansions Modifier and Type Method Description @NonNull PageResponse<Content>DefaultCustomContentManager. getChildrenOfType(ContentEntityObject entity, String contentModuleKey, LimitedRequest limitedRequest, Expansions expansions, Depth depth, com.google.common.base.Predicate<? super CustomContentEntityObject> predicate)Deprecated.since 7.0.1. -
Uses of Expansions in com.atlassian.confluence.it.api.test.plugin.apiavailable
Methods in com.atlassian.confluence.it.api.test.plugin.apiavailable with parameters of type Expansions Modifier and Type Method Description protected PageResponse<Content>DummyAvailableContentTypeSupport. getChildrenForThisType(CustomContentEntityObject content, LimitedRequest limitedRequest, Expansions expansions, Depth depth)Map<ContentId,Map<String,Object>>DummyAvailableContentTypeSupport. getExtensions(Iterable<CustomContentEntityObject> contentEntities, Expansions expansions)Map<ContentId,Map<String,Object>>DummyCommentExtensionSupport. getExtensions(Iterable<Comment> comments, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.pages.templates
Methods in com.atlassian.confluence.pages.templates with parameters of type Expansions Modifier and Type Method Description ContentTemplateContentTemplateFactory. buildFrom(PageTemplate hibernateObject, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.plugins.contentproperty
Methods in com.atlassian.confluence.plugins.contentproperty with parameters of type Expansions Modifier and Type Method Description JsonContentPropertyJsonPropertyFactory. buildContentPropertyFrom(CustomContentEntityObject storageContentProperty, Expansions expansions)Convert the given CustomContentEntityObject into a corresponding ContentProperty.com.google.common.base.Function<CustomContentEntityObject,JsonContentProperty>JsonPropertyFactory. buildContentPropertyFromFunction(Content content, Expansions expansions)JsonContentPropertyJsonPropertyFactory. buildFrom(Content content, CustomContentEntityObject storageContentProperty, Expansions expansions)Convert the given CustomContentEntityObject into a corresponding ContentProperty with the given container.JsonSpacePropertyJsonPropertyFactory. buildFrom(Space space, CustomContentEntityObject storageContentProperty, Expansions expansions)JsonSpacePropertyJsonPropertyFactory. buildSpacePropertyFrom(CustomContentEntityObject property, Expansions expansions)Convert the given CustomContentEntityObject into a corresponding SpaceProperty.com.google.common.base.Function<CustomContentEntityObject,JsonSpaceProperty>JsonPropertyFactory. buildSpacePropertyFromFunction(Space space, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.plugins.contentproperty.spaceproperty
Constructors in com.atlassian.confluence.plugins.contentproperty.spaceproperty with parameters of type Expansions Constructor Description SpacePropertyFinderImpl(CustomContentManager customContentManager, PermissionManager permissionManager, JsonPropertyFactory jsonPropertyFactory, SpaceService spaceService, PaginationService paginationService, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.plugins.dragdrop.providers
Methods in com.atlassian.confluence.plugins.dragdrop.providers with parameters of type Expansions Modifier and Type Method Description Map<Object,Map<String,?>>AttachmentEditorHtmlProvider. getMetadataForAll(Iterable<Object> entities, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.plugins.like.providers
Methods in com.atlassian.confluence.plugins.like.providers with parameters of type Expansions Modifier and Type Method Description Map<Object,Map<String,?>>ContentLikesMetadataProvider. getMetadataForAll(Iterable<Object> entities, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.plugins.restapi.metadata.content
Methods in com.atlassian.confluence.plugins.restapi.metadata.content with parameters of type Expansions Modifier and Type Method Description Map<Object,Map<String,?>>LabelsModelMetadataProvider. getMetadataForAll(Iterable<Object> entities, Expansions expansions)Map<Object,Map<String,?>>PropertiesModelMetadataProvider. getMetadataForAll(Iterable<Object> entities, Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.rest.api.model
Methods in com.atlassian.confluence.rest.api.model that return Expansions Modifier and Type Method Description static ExpansionsExpansionsParser. parse(String... individualExpansions)static ExpansionsExpansionsParser. parseAsExpansions(String expand)Converts a string representation of a collection ofExpansionsinto an Expansions instance.static ExpansionsExpansionsParser. parseExperimental(String... individualExpansions)static ExpansionsExpansionsParser. parseExperimentalAsExpansions(String expand)Same as callingExpansionsParser.parseAsExpansions(java.lang.String), but allows for experimental expansions.static ExpansionsExpansionsParser. parseExperimentalWithPrefix(String prefix, String expansions)static ExpansionsExpansionsParser. parseWithPrefix(String prefix, String expansions)Methods in com.atlassian.confluence.rest.api.model with parameters of type Expansions Modifier and Type Method Description static StringExpansionsParser. asString(Expansions expansions)Converts aExpansionscollection into a single string. -
Uses of Expansions in com.atlassian.confluence.rest.api.model.pagination
Methods in com.atlassian.confluence.rest.api.model.pagination with parameters of type Expansions Modifier and Type Method Description static intPaginationLimits. childMap(Expansions expansions)Maximum number of child content objects to return at a time in the children map, depending on which fields are expanded.static intPaginationLimits. content(Expansions contentExpansion)Maximum number of content objects to return at a time, depending on which fields are expanded.static intPaginationLimits. draftChildren(Expansions expansions)static intPaginationLimits. spaces(Expansions expansions)Maximum number of spaces to return at a time, depending on which fields are expanded.static intPaginationLimits. version(Expansions expansions) -
Uses of Expansions in com.atlassian.confluence.rest.client
Methods in com.atlassian.confluence.rest.client with parameters of type Expansions Modifier and Type Method Description com.atlassian.util.concurrent.Promise<PageResponse<Content>>RemoteAttachmentService. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)Deprecated.since 7.0.1.com.atlassian.util.concurrent.Promise<PageResponse<Content>>RemoteAttachmentServiceImpl. addAttachments(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)Deprecated.since 7.0.1.CompletionStage<PageResponse<Content>>RemoteAttachmentService. addAttachmentsCompletionStage(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)CompletionStage<PageResponse<Content>>RemoteAttachmentServiceImpl. addAttachmentsCompletionStage(ContentId containerId, ContentStatus containerStatus, Collection<AttachmentUpload> uploads, boolean allowDuplicated, Expansions expansions)
-