| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
Anonymous |
PersonModelFactory.anonymous(Expansions expansions) |
Anonymous |
PersonFactory.anonymous(Expansions expansions) |
default com.google.common.base.Function<H,M> |
ModelFactory.asFunction(Expansions expansions)
Deprecated.
use
ModelFactory.buildFrom(Iterable, Expansions) or (if you really must) ModelFactory.buildFrom(Object, Expansions) |
Version |
VersionFactory.build(ContentEntityObject entity,
Expansions subExpansions,
ContentModelFactory contentFactory) |
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) |
User |
PersonFactory.buildFrom(ConfluenceUser hibernateObject,
Expansions expansions) |
default Content |
ContentModelFactory.buildFrom(ContentEntityObject entity,
ContentBodyConversionContext contentBodyConversionContext,
Expansions expansions)
Build a single
Content model from a single ContentEntityObject. |
default Content |
ContentModelFactory.buildFrom(ContentEntityObject entity,
Expansions expansions)
Build a single
Content model from a single ContentEntityObject. |
M |
ModelFactory.buildFrom(H entity,
Expansions expansions)
Build a single API model from a single Confluence internal entity.
|
Iterable<Content> |
ContentModelFactory.buildFrom(Iterable<? extends ContentEntityObject> entities,
ContentBodyConversionContext contentBodyConversionContext,
Expansions expansions)
Builds multiple
Content models from multiple ContentEntityObjects. |
Iterable<Content> |
ContentFactory.buildFrom(Iterable<? extends ContentEntityObject> entities,
ContentBodyConversionContext contentBodyConversionContext,
Expansions expansions) |
default Iterable<Content> |
ContentModelFactory.buildFrom(Iterable<? extends ContentEntityObject> entities,
Expansions expansions)
Builds multiple
Content models from multiple ContentEntityObjects. |
default Iterable<M> |
ModelFactory.buildFrom(Iterable<? extends H> entities,
Expansions expansions)
Builds multiple API models from multiple Confluence internal entities.
|
Label |
LabelFactory.buildFrom(Label hibernateObject,
Expansions expansions) |
Contributors |
ContributorsFactory.buildFrom(List<ConfluenceUser> editContributors,
Expansions expansions) |
ContributorUsers |
ContributorUsersFactory.buildFrom(List<ConfluenceUser> contributors,
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) |
static Fauxpansions |
Fauxpansions.fauxpansions(Expansions expansions,
String propertyName) |
User |
PersonModelFactory.fromUser(ConfluenceUser user,
Expansions expansions) |
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) |
protected Map<ContentRepresentation,FormattedBody> |
AbstractSpaceFactory.getDescription(String description,
Expansions expansions) |
protected Reference<Content> |
AbstractSpaceFactory.getHomepageRef(H space,
Expansions expansions) |
protected Reference<Icon> |
AbstractSpaceFactory.getIconIfExpanded(H space,
Expansions expansions) |
protected List<OperationCheckResult> |
AbstractSpaceFactory.getOperations(Space entity,
Expansions expansions) |
protected Reference<LookAndFeel> |
AbstractSpaceFactory.getSpaceLookAndFeel(String spaceKey,
Expansions expansions) |
protected Reference<SpaceSettings> |
AbstractSpaceFactory.getSpaceSettings(String spaceKey,
Expansions expansions) |
protected Reference<Theme> |
AbstractSpaceFactory.getSpaceTheme(String spaceKey,
Expansions expansions) |
Map<ContentRepresentation,ContentBody> |
ContentBodyFactory.makeContentBodies(ContentEntityObject ceo,
BodyContent bodyContent,
ContentBodyConversionContext contentBodyConversionContext,
Expansions expansions,
ContentModelFactory contentFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected Expansions |
AbstractFinder.getExpansions() |
| Modifier and Type | Method and Description |
|---|---|
Space |
SqlSpaceFactory.buildFrom(SpaceRow row,
Expansions expansions) |
protected List<SpacePermission> |
SqlSpaceFactory.getSpacePermissions(SpaceRow space,
Expansions expansions) |
| 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.Either<ValidationResult,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 |
|---|---|
Theme |
ThemeFactory.buildFrom(ThemeModuleDescriptor themeMd,
Expansions expansions) |
| Modifier and Type | Method and Description |
|---|---|
Group |
GroupFactory.buildFrom(com.atlassian.user.Group hibernateObject,
Expansions expansions) |
Iterable<Group> |
GroupFactory.buildFrom(Iterable<? extends com.atlassian.user.Group> entities,
Expansions expansions) |
| Modifier and Type | Method and Description |
|---|---|
ContentRestriction |
ContentRestrictionFactory.buildFrom(ContentPermissionSet hibernateObject,
Expansions expansions) |
ContentRestriction |
ContentRestrictionModelFactory.buildFrom(ContentPermissionSet set,
LimitedRequest limitedRequest,
Expansions expansions) |
ContentRestriction |
ContentRestrictionFactory.buildFrom(ContentPermissionSet set,
LimitedRequest limitedRequest,
Expansions expansions)
Produces a
ContentRestriction from a ContentPermissionSets |
Optional<SpacePermission> |
SpacePermissionFactory.buildFrom(SpacePermission hibernateObject,
Expansions expansions) |
| Modifier and Type | Method and Description |
|---|---|
RelationInstance |
RelationInstanceModelFactory.buildFrom(RelatableEntity sourceEntity,
String relationName,
RelatableEntity targetEntity,
Expansions expansions) |
RelationInstance |
RelationInstanceFactory.buildFrom(RelatableEntity sourceEntity,
String relationName,
RelatableEntity targetEntity,
Expansions expansions)
Should only be used for likes and favourites, doesn't provide the relationData
|
RelationInstance |
RelationInstanceFactory.buildFrom(RelationEntity hibernateObject,
Expansions expansions) |
T |
RelatableModelFactory.buildFrom(S hibernateEntity,
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 |
GraphQLQueryExpansion.getSubExpansions() |
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> |
DefaultCustomContentManager.getChildrenOfType(ContentEntityObject entity,
String contentModuleKey,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super CustomContentEntityObject> predicate) |
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.
|
| 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 PageResponse<Content> |
CustomContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
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,
com.google.common.base.Predicate<? super ContentEntityObject> predicate) |
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) |
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,?>> |
PropertiesModelMetadataProvider.getMetadataForAll(Iterable<Object> entities,
Expansions expansions) |
Map<Object,Map<String,?>> |
LabelsModelMetadataProvider.getMetadataForAll(Iterable<Object> entities,
Expansions expansions) |
| Modifier and Type | Method and Description |
|---|---|
Map<Object,Map<String,?>> |
SpaFriendlyMetadataProvider.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> |
DummyCurrentVersionContentTypeApiSupport.getChildrenForThisType(CustomContentEntityObject content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
DummyOriginalVersionContentTypeApiSupport.getChildrenForThisType(CustomContentEntityObject content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
DummyCurrentVersionContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
protected PageResponse<Content> |
DummyOriginalVersionContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth) |
Copyright © 2003–2017 Atlassian. All rights reserved.