Modifier and Type | Method and Description |
---|---|
Map<String,?> |
ModelMetadataProvider.getMetadata(Object entity,
Expansions expansions)
Returns keyed metadata based on the passed entity and the expansions.
|
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 |
---|---|
static int |
DefaultPaginationLimits.childMap(Expansions expansions)
TODO
The children map can have many entries, so lower the limit for the number of children included in
each entry.
|
static int |
DefaultPaginationLimits.content(Expansions contentExpansion)
get default max limit for page size of content
|
static int |
DefaultPaginationLimits.spaces(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)
produces a Function that can be used to convert a list of hibernate objects to a list of
model objects that this factory produces
|
Version |
VersionFactory.build(AbstractLabelableEntityObject entity,
Expansions subExpansions) |
WebResourceDependencies |
WebResourceDependenciesFactory.build(WebResourceDependenciesRecorder.RecordedResources recorded,
Expansions wrExpansion)
Builds a
WebResourceDependencies object from the given expansion and the recorded resource. |
Map<String,Object> |
ContentExtensionsFactory.buildExtensions(ContentConvertible entity,
Expansions expansions) |
Content |
AttachmentFactory.buildFrom(Attachment attachment,
Expansions expansions) |
Content |
ContentFactory.buildFrom(ContentEntityObject entity,
Expansions expansions) |
abstract M |
ModelFactory.buildFrom(H 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) |
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(Content parent,
LimitedRequest limitedRequest,
Expansions childExpansions,
Depth depth) |
Map<ContentType,PageResponse<Content>> |
ChildSupport.getChildrenMap(Content parent,
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(BodyContent bodyContent,
Expansions expansions,
ContentFactory contentFactory) |
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> |
PageContentTypeApiSupport.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> |
BlogPostContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
PageResponse<Content> |
AttachmentContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible parent,
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 |
---|---|
ContentRestriction |
ContentRestrictionFactory.buildFrom(ContentPermissionSet set,
LimitedRequest limitedRequest,
Expansions expansions)
Produces a list of ContentRestrictions from a ContentPermissionSet.
|
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> |
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> |
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
|
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) |
protected PageResponse<Content> |
DummyAvailableContentTypeSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
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<String,?> |
ContentLikesMetadataProvider.getMetadata(Object entity,
Expansions expansions) |
Map<Object,Map<String,?>> |
ContentLikesMetadataProvider.getMetadataForAll(Iterable<Object> entities,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
Map<String,?> |
LabelsModelMetadataProvider.getMetadata(Object entity,
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 |
---|---|
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–2016 Atlassian. All rights reserved.