Modifier and Type | Method and Description |
---|---|
default Map<String,?> |
ModelMetadataProvider.getMetadata(Object entity,
Expansions expansions)
Deprecated.
since 5.10 Consider bulk evaluating meta-data by implementing getMetadataForAll.
Remove your implementation of the getMetadata method, which will cause Confluence
to call the getMetadataForAll method instead.
|
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.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
ContentTypeBinding.getChildren(Content parent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth)
Deprecated.
Retrieve the children of an item of Content.
|
Modifier and Type | Method and Description |
---|---|
AuditRecord |
AuditRecordFactory.buildFrom(AuditRecordEntity entity,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
Expansions |
Fauxpansions.getSubExpansions() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Function<H,M> |
ModelFactory.asFunction(Expansions expansions)
Deprecated.
since 5.10 use buildFrom or asListFunction instead
|
Version |
VersionFactory.build(ContentEntityObject entity,
Expansions subExpansions,
ContentFactory contentFactory) |
WebResourceDependencies |
WebResourceDependenciesFactory.build(WebResourceDependenciesRecorder.RecordedResources recorded,
Expansions wrExpansion)
Builds a
WebResourceDependencies object from the given expansion and the recorded resource. |
Content.ContentBuilder |
ContentFactory.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) |
User |
PersonFactory.buildFrom(ConfluenceUser hibernateObject,
Expansions expansions) |
Content |
ContentFactory.buildFrom(ContentEntityObject entity,
Expansions expansions) |
abstract M |
ModelFactory.buildFrom(H hibernateObject,
Expansions expansions) |
<HC extends ContentEntityObject> |
ContentFactory.buildFrom(Iterable<HC> entities,
Expansions expansions) |
<HC extends H> |
ModelFactory.buildFrom(Iterable<HC> hibernateObjects,
Expansions expansions) |
Label |
LabelFactory.buildFrom(Label hibernateObject,
Expansions expansions) |
Contributors |
ContributorsFactory.buildFrom(List<ConfluenceUser> editContributors,
Expansions expansions) |
ContentTemplate |
DefaultContentTemplateFactory.buildFrom(PageTemplate hibernateObject,
Expansions expansions)
Convert from db entity object into model object.
|
ContentTemplate |
ContentTemplateFactory.buildFrom(PageTemplate hibernateObject,
Expansions expansions) |
Space |
SpaceFactory.buildFrom(Space space,
Expansions expansions) |
Space |
SpaceFactory.buildFrom(String spaceKey,
Expansions expansions) |
static Fauxpansions |
Fauxpansions.fauxpansions(Expansions expansions,
String propertyName) |
Person |
PersonFactory.forCurrentUser(Expansions expansions)
Construct the person object for the current user.
|
Person |
PersonFactory.forUser(ConfluenceUser user,
Expansions expansions)
Construct the person object for a particular user.
|
User |
PersonFactory.fromUser(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(ContentConvertible parent,
LimitedRequest limitedRequest,
Expansions childExpansions,
Depth depth,
Collection<String> location)
Called from the
ContentFactory when expanding "children" on a Content item being built. |
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) |
com.atlassian.fugue.Option<Object> |
ContentExtensionsFactory.getContainerEntity(ContentConvertible entity,
Expansions expansions) |
Map<ContentRepresentation,ContentBody> |
ContentBodyFactory.makeContentBodies(ContentEntityObject ceo,
BodyContent bodyContent,
Expansions expansions,
ContentFactory contentFactory) |
Modifier and Type | Method and Description |
---|---|
protected Expansions |
AbstractFinder.getExpansions() |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
AttachmentContentTypeApiSupport.getAttachments(ContentId containerId,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super Attachment> predicate,
Expansions contentExpansions) |
com.atlassian.fugue.Option<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) |
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) |
PageResponse<Content> |
AttachmentContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible parent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
PageContentTypeApiSupport.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) |
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) |
Modifier and Type | Method and Description |
---|---|
Group |
GroupFactory.buildFrom(com.atlassian.user.Group hibernateObject,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
ContentRestriction |
ContentRestrictionFactory.buildFrom(ContentPermissionSet hibernateObject,
Expansions expansions) |
ContentRestriction |
ContentRestrictionFactory.buildFrom(ContentPermissionSet set,
LimitedRequest limitedRequest,
Expansions expansions)
Produces a
ContentRestriction from a ContentPermissionSet s |
Modifier and Type | Method and Description |
---|---|
RelationInstance |
RelationInstanceFactory.buildFrom(RelatableEntity sourceEntity,
String relationName,
RelatableEntity targetEntity,
Expansions expansions) |
RelationInstance |
RelationInstanceFactory.buildFrom(RelationEntity hibernateObject,
Expansions expansions) |
T |
RelatableFactory.buildFrom(S hibernateEntity,
Expansions expansions) |
Modifier and Type | Field and Description |
---|---|
static Expansions |
Expansions.EMPTY |
Modifier and Type | Method and Description |
---|---|
Expansions |
Expansion.getSubExpansions() |
Expansions |
Expansions.getSubExpansions(String propertyName) |
Expansions |
Expansions.merge(Expansions expansions) |
static Expansions |
Expansions.of(String... expansionStr) |
Expansions |
Expansions.prepend(String propertyName)
Create a new Expansions that prepends the propertyName to the path of all expansions represented
in this Expansions object.
|
Modifier and Type | Method and Description |
---|---|
Expansions |
Expansions.merge(Expansions expansions) |
Constructor and Description |
---|
Expansion(String propertyName,
Expansions subExpansions) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
CustomContentManager.getChildrenOfType(ContentEntityObject entity,
String contentModuleKey,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super CustomContentEntityObject> predicate)
Returns the children of a CustomContentEntityObject, limited to the pagination requested.
|
PageResponse<Content> |
DefaultCustomContentManager.getChildrenOfType(ContentEntityObject entity,
String contentModuleKey,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super CustomContentEntityObject> predicate) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
ContentTypeApiSupport.getChildren(ContentConvertible content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate)
Retrieve the children of an item of Content filtered by a predicate.
|
PageResponse<Content> |
BaseContentTypeApiSupport.getChildren(ContentConvertible content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate)
Retrieve the children of an item of Content.
|
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)
This method includes an additional parameter "location", it will call the default one if not overridden
|
protected abstract PageResponse<Content> |
BaseContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
CustomContentTypeApiSupport.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)
This method includes an additional parameter "location", it will call the default one if not overridden
|
protected PageResponse<Content> |
CustomContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate) |
com.atlassian.fugue.Option<Object> |
ContentTypeApiSupport.getContainer(T contentEntity,
Expansions expansions)
The return type of this method is intentionally broad.
|
com.atlassian.fugue.Option<Object> |
BaseContentTypeApiSupport.getContainer(T contentEntity,
Expansions expansions)
The return type of this method is intentionly broad.
|
Map<ContentId,Map<String,Object>> |
NullCommentExtensionsSupport.getExtensions(Iterable<Comment> comments,
Expansions expansions) |
Map<ContentId,Map<String,Object>> |
CommentExtensionsSupport.getExtensions(Iterable<Comment> comments,
Expansions expansions)
Get the map of extension properties for each of the comment entities
|
Map<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>> |
BaseContentTypeApiSupport.getExtensions(Iterable<T> contentEntities,
Expansions expansions)
Get the set of extension properties for the collection of contentEntity Ids.
|
Modifier and Type | Method and Description |
---|---|
protected PageResponse<Content> |
DummyAvailableContentTypeSupport.getChildrenForThisType(CustomContentEntityObject content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
Map<ContentId,Map<String,Object>> |
DummyCommentExtensionSupport.getExtensions(Iterable<Comment> comments,
Expansions expansions) |
Map<ContentId,Map<String,Object>> |
DummyAvailableContentTypeSupport.getExtensions(Iterable<CustomContentEntityObject> contentEntities,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
JsonContentProperty |
JsonPropertyFactory.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) |
JsonContentProperty |
JsonPropertyFactory.buildFrom(Content content,
CustomContentEntityObject storageContentProperty,
Expansions expansions)
Convert the given CustomContentEntityObject into a corresponding ContentProperty with the given container.
|
JsonSpaceProperty |
JsonPropertyFactory.buildFrom(Space space,
CustomContentEntityObject storageContentProperty,
Expansions expansions) |
JsonSpaceProperty |
JsonPropertyFactory.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) |
Constructor and Description |
---|
SpacePropertyFinderImpl(CustomContentManager customContentManager,
PermissionManager permissionManager,
JsonPropertyFactory jsonPropertyFactory,
SpaceService spaceService,
PaginationService paginationService,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
Map<Object,Map<String,?>> |
ContentLikesMetadataProvider.getMetadataForAll(Iterable<Object> entities,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
Map<Object,Map<String,?>> |
PropertiesModelMetadataProvider.getMetadataForAll(Iterable<Object> entities,
Expansions expansions) |
Map<Object,Map<String,?>> |
LabelsModelMetadataProvider.getMetadataForAll(Iterable<Object> entities,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
static Expansions |
ExpansionsParser.parse(String... individualExpansions) |
static Expansions |
ExpansionsParser.parseAsExpansions(String expand)
Converts a string representation of a collection of
Expansions into an Expansions instance. |
static Expansions |
ExpansionsParser.parseExperimental(String... individualExpansions) |
static Expansions |
ExpansionsParser.parseExperimentalAsExpansions(String expand)
Same as calling
ExpansionsParser.parseAsExpansions(java.lang.String) , but allows for experimental expansions. |
static Expansions |
ExpansionsParser.parseExperimentalWithPrefix(String prefix,
String expansions) |
static Expansions |
ExpansionsParser.parseWithPrefix(String prefix,
String expansions) |
Modifier and Type | Method and Description |
---|---|
static String |
ExpansionsParser.asString(Expansions expansions)
Converts a
Expansions collection into a single string. |
Modifier and Type | Method and Description |
---|---|
static int |
PaginationLimits.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 int |
PaginationLimits.content(Expansions contentExpansion)
Maximum number of content objects to return at a time, depending on which fields are expanded.
|
static int |
PaginationLimits.draftChildren(Expansions expansions) |
static int |
PaginationLimits.spaces(Expansions expansions)
Maximum number of spaces to return at a time, depending on which fields are expanded.
|
static int |
PaginationLimits.version(Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
protected PageResponse<Content> |
DummyOriginalVersionContentTypeApiSupport.getChildrenForThisType(CustomContentEntityObject content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
DummyCurrentVersionContentTypeApiSupport.getChildrenForThisType(CustomContentEntityObject content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
DummyOriginalVersionContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
DummyCurrentVersionContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
Copyright © 2003–2017 Atlassian. All rights reserved.