Uses of Class
com.atlassian.confluence.api.model.reference.Reference
Packages that use Reference
Package
Description
Model objects for user and group permission and validation checks, for use with
OperationService
.-
Uses of Reference in com.atlassian.confluence.api.impl.service.content.factory
Methods in com.atlassian.confluence.api.impl.service.content.factory that return ReferenceModifier and TypeMethodDescriptionContentFactory.buildRef
(ContentEntityObject entity, Fauxpansions fauxpansions) HistoryFactory.buildRef
(ContentEntityObject entity, Reference<Content> contentReference, List<ConfluenceUser> editContributors, Fauxpansions fauxpansions, ContentFactory contentFactory) VersionFactory.buildRef
(ContentEntityObject entity, Fauxpansions fauxpansions, ContentFactory contentFactory) Methods in com.atlassian.confluence.api.impl.service.content.factory that return types with arguments of type ReferenceModifier and TypeMethodDescriptionHistoryFactory.buildReferences
(Iterable<ContentEntityObject> ceos, Fauxpansions historyExpansions, ContentFactory contentFactory) Methods in com.atlassian.confluence.api.impl.service.content.factory with parameters of type ReferenceModifier and TypeMethodDescriptionHistoryFactory.buildRef
(ContentEntityObject entity, Reference<Content> contentReference, List<ConfluenceUser> editContributors, Fauxpansions fauxpansions, ContentFactory contentFactory) -
Uses of Reference in com.atlassian.confluence.api.model.content
Fields in com.atlassian.confluence.api.model.content declared as ReferenceModifier and TypeFieldDescriptionprotected Reference<WebResourceDependencies>
FormattedBody.BaseFormattedBodyBuilder.webresource
Methods in com.atlassian.confluence.api.model.content that return ReferenceModifier and TypeMethodDescriptionContent.buildReference
(ContentSelector selector) Content.buildReference
(ContentId id) Deprecated.since 5.10.History.buildReference
(Reference<Content> contentParent) static Reference<JsonContentProperty>
JsonContentProperty.buildReference
(@Nullable JsonContentPropertyId id) Creates a collapsed reference to a JsonContentProperty with the given id, or an empty reference, if none was given.Space.buildReference
(String spaceKey) builds a collapsed reference to the space with the given spaceKeyVersion.buildReference
(int number) Version.buildReference
(Reference<Content> contentRef, int number) Deprecated.since 5.6 useVersion.buildReference(int)
Content.getContainerRef()
History.getContentParentRef()
ContentBody.getContentRef()
JsonContentProperty.getContentRef()
Version.getContentRef()
History.getContributors()
Content.getHistoryRef()
Space.getHomepageRef()
Space.getIconRef()
History.getLastUpdatedRef()
Get information about the latest published non-draft version of the content.History.getNextVersionRef()
Get the next version, if this is not the newest version.History.getParentReference
(Reference<History> historyReference) Space.getPermissions()
History.getPreviousVersionRef()
Get the previous version, if this is not the oldest version.Contributors.getPublishers()
Content.getRelevantViewRestrictions()
Returns a Map of relevant View restrictions present on the given Content including direct inherited View restrictionsContent.getSpaceRef()
JsonSpaceProperty.getSpaceRef()
Content.getVersionRef()
Methods in com.atlassian.confluence.api.model.content that return types with arguments of type ReferenceModifier and TypeMethodDescriptionSpace.getDescriptionRefs()
Deprecated.Since 5.5.1 UseSpace.getDescription()
.Methods in com.atlassian.confluence.api.model.content with parameters of type ReferenceModifier and TypeMethodDescriptionHistory.buildReference
(Reference<Content> contentParent) Version.buildReference
(Reference<Content> contentRef, int number) Deprecated.since 5.6 useVersion.buildReference(int)
History.HistoryBuilder.contributors
(Reference<Contributors> contributors) Space.SpaceBuilder.description
(ContentRepresentation representation, Reference<FormattedBody> formattedBody) Deprecated.static ContentBody
ContentBody.emptyBody
(ContentRepresentation representation, Reference<Content> contentReference) static ContentId
Content.getContentId
(Reference<Content> contentRef) Deprecated.since 5.10.History.getParentReference
(Reference<History> historyReference) static ContentSelector
Content.getSelector
(Reference<Content> contentRef) Get the selector from a Content Reference.static String
Space.getSpaceKey
(Reference<Space> reference) static int
Version.getVersionNumber
(Reference<Version> versionRef) History.HistoryBuilder.lastUpdated
(Reference<Version> lastUpdated) History.HistoryBuilder.nextVersion
(Reference<Version> nextVersion) Space.SpaceBuilder.permissions
(Reference<SpacePermissionContainer> spacePermissions) History.HistoryBuilder.previousVersion
(Reference<Version> previousVersion) Contributors.Builder.publishers
(Reference<ContributorUsers> publishers) Content.ContentBuilder.relevantViewRestrictionsReference
(Reference<RelevantViewRestrictions> relevantViewRestrictions) Space.SpaceBuilder.retentionPolicy
(Reference<SpaceRetentionPolicy> retentionPolicyRef) FormattedBody.BaseFormattedBodyBuilder.webresource
(@NonNull Reference<WebResourceDependencies> webresource) Constructors in com.atlassian.confluence.api.model.content with parameters of type ReferenceModifierConstructorDescriptionContentBody
(ContentRepresentation representation, String value, Reference<Content> contentReference) Deprecated.since 5.9 , useContentBody.contentBodyBuilder()
ContentBody
(ContentRepresentation representation, String value, Reference<Content> contentReference, Reference<WebResourceDependencies> webresource) Deprecated.since 5.9 , useContentBody.contentBodyBuilder()
-
Uses of Reference in com.atlassian.confluence.api.model.people
Fields in com.atlassian.confluence.api.model.people declared as ReferenceMethods in com.atlassian.confluence.api.model.people that return ReferenceConstructors in com.atlassian.confluence.api.model.people with parameters of type Reference -
Uses of Reference in com.atlassian.confluence.api.model.permissions
Methods in com.atlassian.confluence.api.model.permissions that return ReferenceModifier and TypeMethodDescriptionstatic Reference<RelevantViewRestrictions>
RelevantViewRestrictions.buildReference
(Navigation.Builder builder) ContentRestriction.getContent()
Methods in com.atlassian.confluence.api.model.permissions with parameters of type ReferenceModifier and TypeMethodDescriptionstatic Navigation.Builder
RelevantViewRestrictions.getNavigationBuilder
(Reference<RelevantViewRestrictions> historyReference) -
Uses of Reference in com.atlassian.confluence.api.model.reference
Subclasses of Reference in com.atlassian.confluence.api.model.referenceModifier and TypeClassDescriptionfinal class
An expanded reference has a value, call get() will return that referent value.Methods in com.atlassian.confluence.api.model.reference that return ReferenceModifier and TypeMethodDescriptionstatic <T> Reference<T>
static <T> Reference<T>
static <T> Reference<T>
Reference.collapsed
(T obj) Create a collapse reference to the given object.static <T> Reference<T>
Create an empty reference to the given class.static <T> Reference<T>
static <T> Reference<T>
static <T> Reference<T>
Reference.to
(T value) Create an expanded reference to the referent value.Methods in com.atlassian.confluence.api.model.reference with parameters of type Reference -
Uses of Reference in com.atlassian.confluence.api.model.search
Methods in com.atlassian.confluence.api.model.search that return ReferenceModifier and TypeMethodDescriptionContentSearchResult.getEntityRef()
SearchResult.Builder.getEntityRef()
SearchResult.getEntityRef()
SpaceSearchResult.getEntityRef()
UserSearchResult.getEntityRef()
SearchResult.getResultGlobalContainerRef()
SearchResult.getResultParentRef()
-
Uses of Reference in com.atlassian.confluence.api.model.watch
Methods in com.atlassian.confluence.api.model.watch with parameters of type ReferenceModifier and TypeMethodDescriptionConstructors in com.atlassian.confluence.api.model.watch with parameters of type ReferenceModifierConstructorDescriptionSpaceWatch
(@NonNull User watcher, @NonNull Reference<Space> space, List<ContentType> contentTypes) -
Uses of Reference in com.atlassian.confluence.api.testsupport.matchers.model.reference
Methods in com.atlassian.confluence.api.testsupport.matchers.model.reference that return types with arguments of type ReferenceModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<Reference<?>>
ReferenceMatchers.isCollapsedReferenceWithOrWithoutProperties
(Class<?> expectedReferentClass) Matches collapsed references to the specified class, even if they are non-specific ones without properties set for generating navigation linksstatic org.hamcrest.Matcher<Reference<?>>
ReferenceMatchers.isCollapsedReferenceWithProperties
(Class<?> expectedReferentClass) Matches collapsed references to the specified class, and checks they have properties set for generating navigation links -
Uses of Reference in com.atlassian.confluence.api.testsupport.model.watch
Constructors in com.atlassian.confluence.api.testsupport.model.watch with parameters of type ReferenceModifierConstructorDescriptionExtendedSpaceWatch
(String name, User watcher, Reference<Space> space, List<ContentType> contentTypes) -
Uses of Reference in com.atlassian.confluence.dmz.service.content
Methods in com.atlassian.confluence.dmz.service.content that return ReferenceModifier and TypeMethodDescriptionContentBodyConversionManager.ConversionResult.dependenciesRef()
Returns the value of thedependenciesRef
record component.Constructors in com.atlassian.confluence.dmz.service.content with parameters of type ReferenceModifierConstructorDescriptionConversionResult
(String convertedContentBody, Reference<WebResourceDependencies> dependenciesRef) Creates an instance of aConversionResult
record class. -
Uses of Reference in com.atlassian.confluence.plugins.contentproperty
Methods in com.atlassian.confluence.plugins.contentproperty that return ReferenceModifier and TypeMethodDescriptionJsonPropertyFactory.makeVersion
(ContentEntityObject entity, boolean expanded)