Modifier and Type | Method and Description |
---|---|
protected ContentEntityObject |
ConfigureDefaultSpaceLogoAction.getContentToAttachLogoTo() |
Modifier and Type | Method and Description |
---|---|
RestEntity |
DefaultApiRestEntityFactory.buildRestEntityFrom(ContentEntityObject entity,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
Iterable<RestEntity> |
DefaultApiRestEntityFactory.buildRestEntityFromContent(Iterable<? extends ContentEntityObject> entities,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
Content |
ContentServiceImpl.buildContent(ContentEntityObject entity,
List<ContentStatus> statuses,
Expansion... expansions) |
com.atlassian.fugue.Pair<String,Reference<WebResourceDependencies>> |
ContentBodyConversionManagerImpl.convert(ContentRepresentation fromFormat,
String value,
ContentRepresentation toFormat,
ContentEntityObject ceo,
Expansion... expansions) |
com.atlassian.fugue.Pair<String,Reference<WebResourceDependencies>> |
ContentBodyConversionManager.convert(ContentRepresentation from,
String value,
ContentRepresentation to,
ContentEntityObject ceo,
Expansion... expansions)
Computes the converted value of the ContentBody and the required web resources that may be needed to render the converted value.
|
protected ValidationResult |
ContentServiceImpl.ValidatorImpl.validateUpdate(Content updatedContent,
ContentEntityObject currentCeo) |
Modifier and Type | Method and Description |
---|---|
<HC extends ContentEntityObject> |
ContentFactory.buildFrom(Iterable<HC> entities,
Expansions expansions) |
Modifier and Type | Method and Description |
---|---|
Map<ContentEntityObject,Map<String,Object>> |
DefaultContentMetadataFactory.buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap,
Fauxpansions fauxpansions)
Deprecated.
|
Map<ContentEntityObject,Map<String,Object>> |
ContentMetadataFactory.buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap,
Fauxpansions fauxpansions)
Deprecated.
|
default Map<ContentEntityObject,Map<String,Object>> |
ContentMetadataFactory.buildMetadataForContentEntityObjects(Map<ContentEntityObject,Supplier<Content>> contentMap,
Fauxpansions fauxpansions)
Make common metadata for a set of ContentEntityObject objects.
|
Map<ContentEntityObject,Reference<History>> |
HistoryFactory.buildReferences(Iterable<ContentEntityObject> ceos,
Fauxpansions historyExpansions,
ContentFactory contentFactory) |
Modifier and Type | Method and Description |
---|---|
ContentBody |
ContentBodyFactory.build(ContentEntityObject ceo,
BodyContent bodyContent,
ContentRepresentation representation) |
Version |
VersionFactory.build(ContentEntityObject entity,
Expansions subExpansions,
ContentFactory contentFactory) |
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.
|
Content |
ContentFactory.buildFrom(ContentEntityObject entity,
Expansions expansions) |
Reference<Content> |
ContentFactory.buildRef(ContentEntityObject entity,
Fauxpansions fauxpansions) |
Reference<Version> |
VersionFactory.buildRef(ContentEntityObject entity,
Fauxpansions fauxpansions,
ContentFactory contentFactory) |
Reference<History> |
HistoryFactory.buildRef(ContentEntityObject entity,
Reference<Content> contentReference,
List<ConfluenceUser> editContributors,
Fauxpansions fauxpansions,
ContentFactory contentFactory) |
ContentBlueprintInstance |
DefaultContentBlueprintInstanceFactory.convertToInstance(ContentEntityObject ceo,
ContentBlueprintInstance contentBlueprintInstance,
Expansion... expansions) |
ContentBlueprintInstance |
ContentBlueprintInstanceFactory.convertToInstance(ContentEntityObject ceo,
ContentBlueprintInstance contentBlueprintInstance,
Expansion... expansions) |
Map<ContentRepresentation,ContentBody> |
ContentBodyFactory.makeContentBodies(ContentEntityObject ceo,
BodyContent bodyContent,
Expansions expansions,
ContentFactory contentFactory) |
Modifier and Type | Method and Description |
---|---|
Map<ContentEntityObject,Map<String,Object>> |
DefaultContentMetadataFactory.buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap,
Fauxpansions fauxpansions)
Deprecated.
|
Map<ContentEntityObject,Map<String,Object>> |
ContentMetadataFactory.buildMetadata(Map<ContentEntityObject,com.google.common.base.Supplier<Content>> contentMap,
Fauxpansions fauxpansions)
Deprecated.
|
default Map<ContentEntityObject,Map<String,Object>> |
ContentMetadataFactory.buildMetadataForContentEntityObjects(Map<ContentEntityObject,Supplier<Content>> contentMap,
Fauxpansions fauxpansions)
Make common metadata for a set of ContentEntityObject objects.
|
Map<ContentEntityObject,Reference<History>> |
HistoryFactory.buildReferences(Iterable<ContentEntityObject> ceos,
Fauxpansions historyExpansions,
ContentFactory contentFactory) |
Modifier and Type | Method and Description |
---|---|
static Predicate<? super ContentEntityObject> |
FinderPredicates.containerPredicate(@NonNull ContentId containerId)
Create a predicate that matches
Contained instances that have the same container ID,
for example Attachment s or Comment s on the same page. |
static Predicate<? super ContentEntityObject> |
FinderPredicates.createCommentLocationPredicate(Collection<String> location) |
static Predicate<? super ContentEntityObject> |
FinderPredicates.createContentIdPredicate(List<ContentId> contentIds) |
static Predicate<? super ContentEntityObject> |
FinderPredicates.createContentTypePredicate(ContentType... types) |
static Predicate<? super ContentEntityObject> |
FinderPredicates.createCreationDatePredicate(org.joda.time.LocalDate createdDate) |
static Predicate<? super ContentEntityObject> |
FinderPredicates.createFileNamePredicate(String filename) |
static Predicate<? super ContentEntityObject> |
FinderPredicates.createMediaTypePredicate(String mediaType) |
static Predicate<? super ContentEntityObject> |
FinderPredicates.createSpaceKeysPredicate(List<String> spaceKeys) |
static Predicate<? super ContentEntityObject> |
FinderPredicates.createTitlePredicate(String title) |
static Predicate<? super ContentEntityObject> |
FinderPredicates.statusPredicate(List<ContentStatus> statuses) |
Modifier and Type | Method and Description |
---|---|
boolean |
AttachmentContentTypeApiSupport.canCreateAttachments(ContentEntityObject ceo) |
Modifier and Type | Method and Description |
---|---|
protected PageResponse<Content> |
CommentContentTypeApiSupport.getChildrenForThisType(Comment content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate) |
protected PageResponse<Content> |
CommentContentTypeApiSupport.getChildrenOfThisTypeForOtherType(ContentConvertible otherTypeParent,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate) |
Modifier and Type | Method and Description |
---|---|
protected @NonNull Map<String,Collection<ContentPermission>> |
ContentRestrictionServiceImpl.getMergedContentPermissions(@NonNull ContentEntityObject ceo,
@NonNull Collection<? extends ContentRestriction> givenContentRestrictions,
@NonNull ContentRestrictionServiceImpl.MergeMode mergeMode)
Builds a Map of
ContentPermission s mapped to their PermissionType from givenContentRestrictions provided and the ones already existing on ContentEntityObject |
protected @NonNull Optional<ContentPermission> |
ContentRestrictionServiceImpl.getPreExistingContentPermissionForGroup(@Nullable ContentEntityObject ceo,
@Nullable String permissionType,
@Nullable Group group)
Gets pre-existing
ContentPermission (singular, optional) for the Group and OperationKey (as String permissionType) specified. |
protected @NonNull Optional<ContentPermission> |
ContentRestrictionServiceImpl.getPreExistingContentPermissionForSubject(@Nullable ContentEntityObject ceo,
@Nullable String permissionType,
@Nullable Subject subject)
Gets pre-existing
ContentPermission (singular, optional) for the Subject and OperationKey (as String permissionType) specified. |
protected @NonNull Optional<ContentPermission> |
ContentRestrictionServiceImpl.getPreExistingContentPermissionForUser(@Nullable ContentEntityObject ceo,
@Nullable String permissionType,
@NonNull User user)
Gets pre-existing
ContentPermission (singular, optional) for the User and OperationKey (as String permissionType) specified. |
protected @NonNull Set<ContentPermission> |
ContentRestrictionServiceImpl.getPreExistingContentPermissions(@Nullable ContentEntityObject ceo,
@Nullable String permissionType)
Gets Set of all the distinct
ContentPermission s of the specified permissionType
pre-existing on the ContentEntityObject passed. |
protected @NonNull Set<ContentPermission> |
ContentRestrictionServiceImpl.getPreExistingContentPermissions(@Nullable ContentEntityObject ceo,
@Nullable String permissionType,
@Nullable Predicate<ContentPermission> filterBy)
Gets Set of all the distinct
ContentPermission s of the specified permissionType
pre-existing on the ContentEntityObject passed. |
protected @NonNull Set<ContentPermission> |
ContentRestrictionServiceImpl.getPreExistingContentPermissionsForSubjectType(@Nullable ContentEntityObject ceo,
@Nullable String permissionType,
@Nullable SubjectType subjectType)
Gets pre-existing
ContentPermission s (plural) for the SubjectType and OperationKey (as String permissionType) specified. |
Modifier and Type | Class and Description |
---|---|
class |
CustomContentEntityObject
Generic ContentEntityObject that plugins can use to extend Confluence's content system.
|
Modifier and Type | Method and Description |
---|---|
@Nullable ContentEntityObject |
CustomContentEntityObject.getContainer() |
ContentEntityObject |
ContentProperty.getContentEntity() |
ContentEntityObject |
Content.getEntity()
Gets the ContentEntityObject that backs this piece of content.
|
Modifier and Type | Method and Description |
---|---|
@NonNull PageResponse<Content> |
CustomContentManager.getChildrenOfType(ContentEntityObject entity,
String contentModuleKey,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super CustomContentEntityObject> predicate)
|
@NonNull PageResponse<Content> |
DefaultCustomContentManager.getChildrenOfType(ContentEntityObject entity,
String contentModuleKey,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super CustomContentEntityObject> predicate)
|
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.
|
boolean |
ContentEntityAdapter.isAllowedContainer(ContentEntityObject child,
ContentEntityObject container)
Determine if a particular content is an acceptable container for a particular child.
|
boolean |
ContentEntityAdapterParent.isAllowedContainer(ContentEntityObject child,
ContentEntityObject container) |
boolean |
DefaultContentAdapter.isAllowedContainer(ContentEntityObject child,
ContentEntityObject owner) |
protected void |
DefaultCustomContentManager.publishCreateEvent(ContentEntityObject obj) |
protected void |
DefaultCustomContentManager.publishCreateEvent(ContentEntityObject obj,
@Nullable SaveContext saveContext) |
protected void |
DefaultCustomContentManager.publishRemoveEvent(ContentEntityObject obj) |
protected void |
DefaultCustomContentManager.publishUpdateEvent(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
protected void |
DefaultCustomContentManager.publishUpdateEvent(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
void |
DefaultCustomContentManager.removeContentEntity(ContentEntityObject obj) |
void |
CustomContentManager.saveContentEntity(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
void |
CustomContentManager.saveContentEntity(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
void |
CustomContentEntityObject.setContainer(@Nullable ContentEntityObject container) |
void |
ContentProperty.setContentEntity(ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
<T extends ContentEntityObject> |
ContentCreator.cloneForUpdate(T ceo) |
<T extends ContentEntityObject> |
DraftAttributesCopier.copyDraftAttributes(T entity,
Draft draft)
Transfers all metadata from draft to the entity.
|
<T extends ContentEntityObject> |
ContentCreator.saveForCreate(T entity)
Deprecated.
since 6.13.0, use
ContentCreator.saveNewContent(ContentEntityObject, Version, Draft) |
<T extends ContentEntityObject> |
ContentCreator.saveForCreate(T entity,
com.atlassian.fugue.Option<Draft> draft)
Deprecated.
since 6.13.0, use
ContentCreator.saveNewContent(ContentEntityObject, Version, Draft) |
<T extends ContentEntityObject> |
ContentCreator.saveForCreate(T entity,
@Nullable Version version,
com.atlassian.fugue.Option<Draft> draft)
Deprecated.
since 7.0.1. Use
ContentCreator.saveNewContent(ContentEntityObject, Version, Draft) |
<T extends ContentEntityObject> |
ContentCreator.saveNewContent(T entity,
@Nullable Version version,
@Nullable Draft draft)
Save a newly created content entity object
|
<T extends ContentEntityObject> |
ContentCreator.saveNewVersion(T ceo,
T originalCEO,
Version version)
Save a new version of the CEO due to an update
|
<T extends ContentEntityObject> |
ContentCreator.update(T ceo,
T originalCEO,
Version version)
Saves CEO
|
Modifier and Type | Method and Description |
---|---|
boolean |
ContentCreator.setCommonMetadata(Content updatedContent,
ContentEntityObject entity)
Sets the common metadata on the entity
|
void |
ContentCreator.setCommonPropertiesForCreate(Content newContent,
ContentEntityObject entity,
com.atlassian.user.User authenticatedUser)
Sets common properties on a newly created entity in preparation for being saved.
|
boolean |
ContentCreator.setCommonPropertiesForUpdate(Content updatedContent,
ContentEntityObject entity)
Sets common properties on the entity in preparation for an update.
|
boolean |
ContentCreator.setContentBodyOnEntity(Content updatedContent,
ContentEntityObject entity)
Sets the body content in updatedContent on the entity
|
boolean |
ContentCreator.setContentStatusOnEntity(Content updatedContent,
ContentEntityObject entity)
Sets the content status from updatedContent on the entity
|
boolean |
ContentCreator.setLabelsMetadataOnEntity(Content updatedContent,
ContentEntityObject entity)
Sets the labels metadata on the entity
|
boolean |
ContentCreator.setTitleOnEntity(Content updatedContent,
ContentEntityObject entity)
Sets the title in updatedContent on the entity
|
ValidationResult |
ContentCreator.validateUpdate(ConfluenceUser user,
Content updatedContent,
ContentEntityObject entity)
Perform common validation checks for updating content
|
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)
Deprecated.
|
PageResponse<Content> |
BaseContentTypeApiSupport.getChildren(ContentConvertible content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate)
|
protected PageResponse<Content> |
BaseContentTypeApiSupport.getChildrenForThisType(T content,
LimitedRequest limitedRequest,
Expansions expansions,
Depth depth,
com.google.common.base.Predicate<? super ContentEntityObject> predicate)
|
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)
|
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 overridden
|
protected 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
|
ValidationResult |
ContentCreator.validateCreate(ConfluenceUser confluenceUser,
Content newContent,
Class<? extends ContentEntityObject> entityClass)
Perform common validation checks for creation of content in a space
|
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
PluginContentUpdatedEvent.getContent() |
Modifier and Type | Method and Description |
---|---|
<T extends ContentEntityObject> |
DefaultXhtmlContent.convertWikiBodyToStorage(T ceo) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
XhtmlFragmentTimeoutEvent.getEntity() |
ContentEntityObject |
XhtmlMacroTimeoutEvent.getEntity() |
@Nullable ContentEntityObject |
ConversionContext.getEntity()
Get the current ContentEntityObject for this context.
|
ContentEntityObject |
DefaultConversionContext.getEntity() |
Modifier and Type | Method and Description |
---|---|
XhtmlCleaner.Result |
XhtmlCleaner.clean(ContentEntityObject uncleanCeo)
Deprecated.
Clean the supplied body content markup and make it safe from security concerns.
|
XhtmlCleaner.Result |
PolicyConfiguredCleaner.clean(ContentEntityObject uncleanCeo) |
StorageFormatCleaner.Result |
StorageFormatCleaner.cleanEntity(ContentEntityObject uncleanCeo)
Clean the supplied body content markup and make it safe from security concerns.
|
StorageFormatCleaner.Result |
PolicyConfiguredCleaner.cleanEntity(ContentEntityObject uncleanCeo) |
String |
XhtmlCleaner.cleanQuietly(ContentEntityObject uncleanCeo)
Deprecated.
Clean the specified body content markup and make it safe from security concerns with out reporting any clean up
performed
|
String |
StorageFormatCleaner.cleanQuietly(ContentEntityObject uncleanCeo)
Clean the specified body content markup and make it safe from security concerns with out reporting any clean up
performed
|
String |
PolicyConfiguredCleaner.cleanQuietly(ContentEntityObject uncleanCeo) |
String |
DefaultRenderer.render(ContentEntityObject content) |
String |
Renderer.render(ContentEntityObject content) |
String |
DeviceTypeAwareRenderer.render(ContentEntityObject content) |
String |
DefaultLinkRenderer.render(ContentEntityObject content,
ConversionContext conversionContext) |
String |
DefaultRenderer.render(ContentEntityObject contentEntityObject,
ConversionContext conversionContext) |
String |
Renderer.render(ContentEntityObject content,
ConversionContext conversionContext) |
String |
DeviceTypeAwareRenderer.render(ContentEntityObject content,
ConversionContext conversionContext) |
String |
LinkRenderer.render(ContentEntityObject content,
ConversionContext conversionContext)
Renders link to specified content using the display name of the content as the link body.
|
String |
DefaultLinkRenderer.render(ContentEntityObject content,
String linkAlias,
ConversionContext conversionContext) |
String |
LinkRenderer.render(ContentEntityObject content,
String linkAlias,
ConversionContext conversionContext)
Renders link to specified content with specified alias.
|
Constructor and Description |
---|
XhtmlFragmentTimeoutEvent(Object src,
ContentEntityObject entity,
long allowedTimeInSeconds,
long exceededTimeInMilliseconds) |
XhtmlMacroTimeoutEvent(Object src,
String name,
ContentEntityObject entity,
long allowedTimeInSeconds,
long exceededTimeInMilliseconds) |
Modifier and Type | Method and Description |
---|---|
String |
BodyTypeAwareRenderer.render(ContentEntityObject content) |
String |
BodyTypeAwareRenderer.render(ContentEntityObject content,
ConversionContext conversionContext)
Produces an appropriate rendering of the specified content depending on its
BodyType . |
Modifier and Type | Method and Description |
---|---|
Set<OutgoingLink> |
XhtmlOutgoingLinksExtractor.extract(ContentEntityObject content) |
Set<OutgoingLink> |
OutgoingLinksExtractor.extract(ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
ContentDao.getById(long id) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
XhtmlContentWorkSource.getBatch()
Returns a batch of work.
|
List<ContentEntityObject> |
XhtmlSpaceDescriptionsWorkSource.getBatch()
Returns a batch of work.
|
List<ContentEntityObject> |
ContentWithTasksWorkSource.getBatch()
Returns a batch of work.
|
List<ContentEntityObject> |
WikiMarkupContentEntityObjectMigrationWorkSource.getBatch()
Returns a batch of work.
|
List<ContentEntityObject> |
ContentDao.getLatestOrderedWikiContentFromContentId(long startContentId,
int maxRows) |
List<ContentEntityObject> |
DefaultContentDao.getLatestOrderedWikiContentFromContentId(long startContentId,
int maxRows) |
List<ContentEntityObject> |
ContentDao.getLatestOrderedXhtmlContentFromContentIds(long startContentId,
long endContentId)
This is for internal use only, Do not rely on it as a public API.
|
List<ContentEntityObject> |
DefaultContentDao.getLatestOrderedXhtmlContentFromContentIds(long startContentId,
long endContentId) |
List<ContentEntityObject> |
ContentDao.getOrderedXhtmlContentFromContentId(long startContentId,
int maxRows)
This is for internal use only, Do not rely on it as a public API.
|
List<ContentEntityObject> |
DefaultContentDao.getOrderedXhtmlContentFromContentId(long startContentId,
int maxRows) |
Class<ContentEntityObject> |
DefaultContentDao.getPersistentClass() |
List<ContentEntityObject> |
ContentDao.getXhtmlSpaceDescriptionsFromContentId(long startContentId,
int maxRows)
This is for internal use only, Do not rely on it as a public API.
|
List<ContentEntityObject> |
DefaultContentDao.getXhtmlSpaceDescriptionsFromContentId(long startContentId,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultContentDao.updateEntityModificationData(ContentEntityObject objectToSave) |
Constructor and Description |
---|
DefaultSiteMigrator(int numberOfThreads,
org.springframework.transaction.PlatformTransactionManager transactionManager,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
CacheFlusher cacheFlusher,
BatchableWorkSource<ContentEntityObject> workSource,
String versionCommentProperty,
String defaultVersionCommment,
com.atlassian.scheduler.core.LifecycleAwareSchedulerService lifecycleAwareSchedulerService)
|
DefaultSiteMigrator(int numberOfThreads,
org.springframework.transaction.PlatformTransactionManager transactionManager,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
com.atlassian.cache.CacheManager cacheManager,
BatchableWorkSource<ContentEntityObject> workSource,
String versionCommentProperty,
String defaultVersionCommment,
IndexFlushScheduler indexFlushScheduler)
|
DefaultSiteMigrator(int numberOfThreads,
org.springframework.transaction.PlatformTransactionManager transactionManager,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
com.atlassian.cache.CacheManager cacheManager,
BatchableWorkSource<ContentEntityObject> workSource,
String versionCommentProperty,
String defaultVersionCommment,
com.atlassian.scheduler.core.LifecycleAwareSchedulerService lifecycleAwareSchedulerService)
|
DefaultSiteMigrator(int numberOfThreads,
org.springframework.transaction.PlatformTransactionManager transactionManager,
org.quartz.Scheduler ignoredScheduler,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
com.atlassian.cache.CacheManager cacheManager,
BatchableWorkSource<ContentEntityObject> workSource,
String versionCommentProperty,
String defaultVersionCommment)
Deprecated.
since 5.9.0
|
DefaultSiteMigrator(int numberOfThreads,
org.hibernate.SessionFactory sessionFactory,
org.springframework.transaction.PlatformTransactionManager transactionManager,
ContentDao contentDao,
ExceptionTolerantMigrator migrator,
CacheFlusher cacheFlusher,
BatchableWorkSource<ContentEntityObject> workSource,
String versionCommentProperty,
String defaultVersionCommment,
com.atlassian.scheduler.core.LifecycleAwareSchedulerService lifecycleAwareSchedulerService) |
Constructor and Description |
---|
ContentMigrationException(ContentEntityObject ceo,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
boolean |
ContentEntityMigrationBatchTask.apply(ContentEntityObject entity,
int index,
int batchSize) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
AttachmentOwningContentResolver.resolve(AttachmentResourceIdentifier resourceIdentifier,
ConversionContext conversionContext) |
ContentEntityObject |
ContentEntityResourceIdentifierResolver.resolve(ContentEntityResourceIdentifier resourceIdentifier,
ConversionContext conversionContext) |
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier |
ResourceIdentifierContextUtility.convertToAbsolute(ResourceIdentifier ri,
ContentEntityObject ceo)
Create and return a fully populated version of the supplied ResourceIdentifier with
any missing attributes derived from the supplied context ContentEntityObject.
|
ResourceIdentifier |
DefaultResourceIdentifierContextUtility.convertToAbsolute(ResourceIdentifier ri,
ContentEntityObject ceo) |
ResourceIdentifier |
ResourceIdentifierContextUtility.convertToRelative(ResourceIdentifier ri,
ContentEntityObject ceo)
Make the provided ResourceIdentifier as relative as possible to the provided ContentEntityObject.
|
ResourceIdentifier |
DefaultResourceIdentifierContextUtility.convertToRelative(ResourceIdentifier ri,
ContentEntityObject ceo) |
ResourceIdentifier |
ResourceIdentifierContextUtility.createAbsoluteResourceIdentifier(ContentEntityObject ceo)
Create a fully populated (absolute) ResourceIdentifier from the supplied ContentEntityObject.
|
ResourceIdentifier |
DefaultResourceIdentifierContextUtility.createAbsoluteResourceIdentifier(ContentEntityObject ceo) |
ResourceIdentifier |
DefaultResourceIdentifierContextUtility.innerConvertToRelative(ResourceIdentifier ri,
ContentEntityObject ceo) |
boolean |
ResourceIdentifierMatcher.matches(ContentEntityObject ceo,
ResourceIdentifier ri) |
boolean |
DefaultResourceIdentifierMatcher.matches(ContentEntityObject ceo,
ResourceIdentifier ri) |
Constructor and Description |
---|
AttachmentOwningContentResolver(ResourceIdentifierResolver<PageResourceIdentifier,Page> pageResourceResolver,
ResourceIdentifierResolver<BlogPostResourceIdentifier,BlogPost> blogPostResourceResolver,
ResourceIdentifierResolver<ContentEntityResourceIdentifier,ContentEntityObject> contentEntityResourceResolver,
ResourceIdentifierResolver<DraftResourceIdentifier,Draft> draftResourceResolver) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultExcerpter.createExcerpt(ContentEntityObject contentEntity,
String outputType) |
String |
Excerpter.createExcerpt(ContentEntityObject contentEntityObject,
String outputType)
Creates an excerpt of the contentEntityObject without any tags excluded including an implementation specific
number of blocking
|
String |
DefaultExcerpter.createExcerpt(ContentEntityObject contentEntity,
String outputType,
ExcerptConfig config) |
String |
Excerpter.createExcerpt(ContentEntityObject contentEntity,
String outputType,
ExcerptConfig config)
Creates an excerpt of the contentEntityObject excluding any html tags that are in the exclude set.
|
String |
DefaultExcerpter.createExcerpt(ContentEntityObject contentEntity,
String outputType,
Set<String> excludeSet,
int maxBlocksForExcerpt)
Deprecated.
|
List<DataSource> |
DefaultExcerpter.extractImageSrc(ContentEntityObject ceo,
int maxImages) |
List<DataSource> |
Excerpter.extractImageSrc(ContentEntityObject ceo,
int numImages) |
List<DataSource> |
DefaultExcerpter.extractImageSrc(ContentEntityObject ceo,
int maxImages,
boolean alwaysUseThumbnails) |
List<DataSource> |
Excerpter.extractImageSrc(ContentEntityObject ceo,
int numImages,
boolean useThumbnails) |
List<URI> |
DefaultExcerpter.extractImageThumbnailUris(ContentEntityObject contentEntity,
int maxUris) |
List<URI> |
Excerpter.extractImageThumbnailUris(ContentEntityObject contentEntity,
int maxUris)
Returns the URIs of thumbnails for each of the images attached to the specified content entity.
|
String |
DefaultExcerpter.getExcerpt(ContentEntityObject content) |
String |
Excerpter.getExcerpt(ContentEntityObject ceo)
Returns the already created excerpts of content.
|
String |
DefaultExcerpter.getExcerptSummary(ContentEntityObject content) |
String |
Excerpter.getExcerptSummary(ContentEntityObject ceo)
Returns the summary of an already created excerpt of content.
|
String |
DefaultExcerpter.renderContent(ContentEntityObject contentEntity,
String outputType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ServiceCommand |
BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf) |
ServiceCommand |
DefaultBlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf)
Deprecated.
|
ServiceCommand |
PageService.newCreatePageCommand(PageProvider provider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf)
Retrieve a command for creating a new page for the specified user.
|
ServiceCommand |
DefaultPageService.newCreatePageCommand(PageProvider provider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf) |
ServiceCommand |
PageService.newCreatePageCommandFromExisting(PageProvider provider,
ContentPermissionProvider permissionProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf,
SpaceProvider spaceProvider)
This is not a public API method! Creating a page from an existing page has different authorisation and validation logic
from creating a brand new page.
|
ServiceCommand |
DefaultPageService.newCreatePageCommandFromExisting(PageProvider provider,
ContentPermissionProvider permissionProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf,
SpaceProvider spaceProvider) |
ServiceCommand |
PageService.newCreatePageCommandFromExisting(PageProvider provider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf,
SpaceProvider spaceProvider)
This is not a public API method! Creating a page from an existing page has different authorisation and validation logic
from creating a brand new page.
|
ServiceCommand |
DefaultPageService.newCreatePageCommandFromExisting(PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf,
SpaceProvider spaceProvider) |
Constructor and Description |
---|
CreateBlogPostCommandImpl(PageManager pageManager,
SpacePermissionManager spacePermissionManager,
ContentPermissionManager contentPermissionManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
BlogPostProvider blogPostProvider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf,
ContentPropertyManager contentPropertyManager,
LabelManager labelManager,
DraftsTransitionHelper draftsTransitionHelper)
Deprecated.
since 5.10
|
Modifier and Type | Method and Description |
---|---|
protected ContentEntityObject |
CreateCommentCommandImpl.getContent() |
Modifier and Type | Field and Description |
---|---|
protected ContentEntityObject |
CreateAbstractPageCommandImpl.draft
The draft used while creating the content.
|
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
RevertContentToVersionCommand.getVersionToRevert(ContentEntityObject latestVersion,
int version) |
Modifier and Type | Method and Description |
---|---|
void |
RevertContentToVersionCommand.execute(ContentEntityObject ceo,
int version,
String revertComment,
boolean revertTitle) |
ContentEntityObject |
RevertContentToVersionCommand.getVersionToRevert(ContentEntityObject latestVersion,
int version) |
boolean |
RevertContentToVersionCommand.isAuthorized(com.atlassian.user.User currentUser,
ContentEntityObject contentEntityObject) |
void |
RevertContentToVersionCommand.validate(ServiceCommandValidator validator,
ContentEntityObject ceo,
ContentEntityObject possibleConflictingCeo,
int versionToRevert,
boolean revertTitle) |
Constructor and Description |
---|
CreateAbstractPageCommandImpl(PageManager pageManager,
ContentPermissionManager contentPermissionManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf,
ContentPropertyManager contentPropertyManager,
LabelManager labelManager,
DraftsTransitionHelper draftsTransitionHelper)
Deprecated.
since 5.10
|
CreatePageCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf,
ContentPropertyManager contentPropertyManager,
LabelManager labelManager,
DraftsTransitionHelper draftsTransitionHelper)
Deprecated.
since 5.10
|
CreatePageFromExistingCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf,
SpaceProvider spaceProvider,
ContentPropertyManager contentPropertyManager,
LabelManager labelManager,
DraftsTransitionHelper draftsTransitionHelper)
Deprecated.
since 5.10
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleUiSupport<T extends ContentEntityObject> |
Modifier and Type | Method and Description |
---|---|
String |
DefaultContentUiSupport.getContentCssClass(ContentEntityObject content) |
String |
DefaultContentUiSupport.getContentTypeI18NKey(ContentEntityObject content) |
String |
DefaultContentUiSupport.getIconCssClass(ContentEntityObject content) |
String |
DefaultContentUiSupport.getIconFilePath(ContentEntityObject content,
int size) |
String |
DefaultContentUiSupport.getIconPath(ContentEntityObject content,
int size) |
Modifier and Type | Interface and Description |
---|---|
interface |
Modification<T extends ContentEntityObject>
Clients should implement this interface and modify the passed in reference to
ContentEntityObject as they see fit. |
Modifier and Type | Class and Description |
---|---|
class |
ContentEntitySimulacrum
A very generic SpaceContentEntityObject, used to play pretends when rendering page templates in preview / view
modes.
|
class |
SpaceContentEntityObject
A ContentEntityObject that is a first-class member of a Space (i.e.
|
Modifier and Type | Method and Description |
---|---|
<T extends ContentEntityObject> |
DefaultContentEntityManager.createDraft(T draft,
SaveContext saveContext) |
<T extends ContentEntityObject> |
DefaultContentEntityManager.findAllDraftsFor(long contentId) |
<T extends ContentEntityObject> |
DefaultContentEntityManager.findDraftFor(long contentId) |
<T extends ContentEntityObject> |
DefaultContentEntityManager.findDraftFor(T ceo) |
<T extends ContentEntityObject> |
ContentEntityManager.saveNewVersion(T current,
Modification<T> modification)
Applies the state changes supplied by modification and persists those changes to a new version.
|
<T extends ContentEntityObject> |
DefaultContentEntityManager.saveNewVersion(T current,
Modification<T> modification) |
<T extends ContentEntityObject> |
ContentEntityManager.saveNewVersion(T current,
Modification<T> modification,
@Nullable SaveContext saveContext)
Applies the state changes supplied by modification and persists those changes to a new version.
|
<T extends ContentEntityObject> |
DefaultContentEntityManager.saveNewVersion(T current,
Modification<T> modification,
@Nullable SaveContext saveContext) |
Modifier and Type | Method and Description |
---|---|
@Nullable ContentEntityObject |
DefaultContentEntityManager.getById(ContentId id) |
@Nullable ContentEntityObject |
DefaultContentEntityManager.getById(ContentId id,
int version) |
@Nullable ContentEntityObject |
ContentEntityManager.getById(long id) |
@Nullable ContentEntityObject |
DefaultContentEntityManager.getById(long id) |
protected @Nullable ContentEntityObject |
ContentEntityObject.getContainerContent()
Implementing classes wanting to be
Contained in another CEO should
implement the Contained interface and delegate to this method |
ContentEntityObject |
BodyContent.getContent() |
ContentEntityObject |
ContentEntityObject.getEntity() |
@Nullable ContentEntityObject |
ContentEntityManager.getNextVersion(ContentEntityObject ceo)
Get the next version of the entity in the sequence of
Versioned . |
@Nullable ContentEntityObject |
DefaultContentEntityManager.getNextVersion(ContentEntityObject ceo) |
@Nullable ContentEntityObject |
ContentEntityManager.getOtherVersion(ContentEntityObject ceo,
int version) |
@Nullable ContentEntityObject |
DefaultContentEntityManager.getOtherVersion(ContentEntityObject ceo,
int version) |
@Nullable ContentEntityObject |
ContentEntityManager.getPreviousVersion(ContentEntityObject ceo)
Get the previous version of the entity in the sequence of
Versioned . |
@Nullable ContentEntityObject |
DefaultContentEntityManager.getPreviousVersion(ContentEntityObject ceo) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
DefaultContentEntityManager.findUnpublishedContentWithUserContributions(String username) |
PageResponse<ContentEntityObject> |
DefaultContentEntityManager.getByIds(List<ContentId> contentIds,
LimitedRequest limitedRequest,
com.google.common.base.Predicate<? super ContentEntityObject>... filters)
Deprecated.
|
static Map<ContentEntityObject,Map<String,ContentPermissionSet>> |
ContentPermissionUtils.getPermissionsAsMap(List<ContentPermissionSet> contentPermissionSets) |
Modifier and Type | Method and Description |
---|---|
void |
ContentPermissionManager.addContentPermission(ContentPermission permission,
ContentEntityObject content)
Add permissions to the content entity objecct through the manager.
|
void |
DefaultContentPermissionManager.addContentPermission(ContentPermission permission,
ContentEntityObject content)
Adds a new current content permission to the CEO if it doesn't have it
already.
|
protected void |
ConfluenceActionSupport.addToHistory(ContentEntityObject content) |
RestEntity<Content> |
ApiRestEntityFactory.buildRestEntityFrom(ContentEntityObject entity,
Expansions expansions)
Build a REST API entity from a ContentEntityObject.
|
protected boolean |
DefaultInheritedContentPermissionManager.cannotHaveInheritedPermissions(ContentEntityObject contentEntityObject)
Check (for speed) whether we should even bother to query for possible inherited permissions.
|
void |
ContentPermissionManager.copyContentPermissions(ContentEntityObject from,
ContentEntityObject to)
Copies all content permissions from one content entity to another.
|
void |
DefaultContentPermissionManager.copyContentPermissions(ContentEntityObject from,
ContentEntityObject to) |
protected @NonNull BodyContent |
DefaultContentEntityManager.getBodyContentForRevert(ContentEntityObject historicalVersion) |
List<ContentPermissionSet> |
ContentPermissionManager.getContentPermissionSets(ContentEntityObject ceo,
String type)
Get the ContentPermissionSets that affect this ceo, both inherited and directly.
|
List<ContentPermissionSet> |
DefaultContentPermissionManager.getContentPermissionSets(ContentEntityObject ceo,
String type) |
List<ContentPermissionSet> |
ContentPermissionManager.getInheritedContentPermissionSets(ContentEntityObject contentEntityObject) |
List<ContentPermissionSet> |
CachingInheritedContentPermissionManager.getInheritedContentPermissionSets(ContentEntityObject contentEntityObject) |
List<ContentPermissionSet> |
DefaultContentPermissionManager.getInheritedContentPermissionSets(ContentEntityObject contentEntityObject) |
List<ContentPermissionSet> |
InheritedContentPermissionManager.getInheritedContentPermissionSets(ContentEntityObject contentEntityObject) |
List<ContentPermissionSet> |
DefaultInheritedContentPermissionManager.getInheritedContentPermissionSets(ContentEntityObject contentEntityObject) |
List<ContentPermissionSet> |
ContentPermissionManager.getInheritedContentPermissionSets(ContentEntityObject contentEntityObject,
boolean includeEditPermissions)
Get the inherited ContentPermissionSets that affect this ceo.
|
List<ContentPermissionSet> |
DefaultContentPermissionManager.getInheritedContentPermissionSets(ContentEntityObject contentEntityObject,
boolean includeEditPermissions) |
List<ContentPermissionSet> |
CachingInheritedContentPermissionManager.getInheritedContentPermissionSetsIncludeEdit(ContentEntityObject contentEntityObject) |
List<ContentPermissionSet> |
InheritedContentPermissionManager.getInheritedContentPermissionSetsIncludeEdit(ContentEntityObject contentEntityObject) |
List<ContentPermissionSet> |
DefaultInheritedContentPermissionManager.getInheritedContentPermissionSetsIncludeEdit(ContentEntityObject contentEntityObject) |
List<ContentPermission> |
ContentPermissionManager.getInheritedContentUserPermissions(ContentEntityObject contentEntityObject) |
List<ContentPermission> |
DefaultContentPermissionManager.getInheritedContentUserPermissions(ContentEntityObject contentEntityObject)
Filters the inherited content permission sets of a page for a list of inherited user permissions (of type
ContentPermission.VIEW_PERMISSION ) |
@Nullable ContentEntityObject |
ContentEntityManager.getNextVersion(ContentEntityObject ceo)
Get the next version of the entity in the sequence of
Versioned . |
@Nullable ContentEntityObject |
DefaultContentEntityManager.getNextVersion(ContentEntityObject ceo) |
String |
ConfluenceActionSupport.getNiceContentType(ContentEntityObject entityObject)
Deprecated.
since 4.2 - use ContentUiSupport directly
|
@Nullable ContentEntityObject |
ContentEntityManager.getOtherVersion(ContentEntityObject ceo,
int version) |
@Nullable ContentEntityObject |
DefaultContentEntityManager.getOtherVersion(ContentEntityObject ceo,
int version) |
@Nullable ContentEntityObject |
ContentEntityManager.getPreviousVersion(ContentEntityObject ceo)
Get the previous version of the entity in the sequence of
Versioned . |
@Nullable ContentEntityObject |
DefaultContentEntityManager.getPreviousVersion(ContentEntityObject ceo) |
String |
DefaultContentPropertyManager.getStringProperty(ContentEntityObject entity,
String key) |
String |
ContentPropertyManager.getStringProperty(ContentEntityObject entity,
String key)
Get a string property associated with a content entity object, or null if that property
is not set.
|
String |
DefaultContentPropertyManager.getTextProperty(ContentEntityObject entity,
String key) |
String |
ContentPropertyManager.getTextProperty(ContentEntityObject entity,
String key)
Get a text property associated with a content entity object, or null if that property
is not set.
|
@NonNull List<VersionHistorySummary> |
ContentEntityManager.getVersionHistorySummaries(ContentEntityObject ceo)
Get a VersionHistorySummary for all previous versions of a ContentEntityObject, starting with the current
content.
|
@NonNull List<VersionHistorySummary> |
DefaultContentEntityManager.getVersionHistorySummaries(ContentEntityObject ceo) |
boolean |
ContentPermissionManager.hasContentLevelPermission(com.atlassian.user.User user,
String permissionType,
ContentEntityObject content)
fetches the inherited and explicit content level permissions for this content object and determines whether the user has access.
|
boolean |
DefaultContentPermissionManager.hasContentLevelPermission(com.atlassian.user.User user,
String permissionType,
ContentEntityObject contentEntityObject) |
protected void |
DefaultContentEntityManager.publishCreateEvent(ContentEntityObject obj)
This method publishes
*CreateEvents s. |
protected void |
DefaultContentEntityManager.publishCreateEvent(ContentEntityObject obj,
@Nullable SaveContext saveContext) |
protected void |
DefaultContentEntityManager.publishRemoveEvent(ContentEntityObject obj)
This method publishes
*RemoveEvent s. |
protected void |
DefaultContentEntityManager.publishUpdateEvent(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext)
This method publishes
*UpdateEvent s. |
protected void |
DefaultContentEntityManager.publishUpdateEvent(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext)
This method publishes
*UpdateEvent s. |
void |
ContentEntityManager.refreshContentEntity(ContentEntityObject obj)
Refreshes the specified entity (including content) in the Hibernate session to ensure that subsequent retrievals are up-to-date.
|
void |
DefaultContentEntityManager.refreshContentEntity(ContentEntityObject obj) |
void |
ContentEntityManager.removeContentEntity(ContentEntityObject obj)
Removes given content entity object and all associated domain objects i.e.
|
void |
DefaultContentEntityManager.removeContentEntity(ContentEntityObject obj) |
void |
ContentEntityManager.removeHistoricalVersion(ContentEntityObject historicalVersion)
Removes a historical ContentEntityObject.
|
void |
DefaultContentEntityManager.removeHistoricalVersion(ContentEntityObject historicalVersion) |
void |
DefaultContentPropertyManager.removeProperties(ContentEntityObject entity) |
void |
ContentPropertyManager.removeProperties(ContentEntityObject entity)
Remove all the properties associated with the content entity object.
|
void |
DefaultContentPropertyManager.removeProperty(ContentEntityObject entity,
String key) |
void |
ContentPropertyManager.removeProperty(ContentEntityObject entity,
String key)
Remove the property associated with the content entity object.
|
void |
ContentEntityManager.revertContentEntityBackToVersion(ContentEntityObject obj,
int version,
@Nullable String revertComment,
boolean revertTitle)
Reverts a
ContentEntityObject back to its state at the version specified by version . |
void |
DefaultContentEntityManager.revertContentEntityBackToVersion(ContentEntityObject entity,
int version,
@Nullable String revertComment,
boolean revertTitle) |
void |
ContentEntityManager.saveContentEntity(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext)
In order to create a history for this object, we need to pass in the modified as well as the original version of the object.
|
void |
ContentEntityManager.saveContentEntity(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext)
In order to create a history for this object, we need to pass in the modified as well as the original version of the object.
|
void |
DefaultContentEntityManager.saveContentEntity(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
void |
DefaultContentEntityManager.saveContentEntity(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
void |
ContentEntityManager.saveContentEntity(ContentEntityObject obj,
@Nullable SaveContext saveContext) |
void |
DefaultContentEntityManager.saveContentEntity(ContentEntityObject obj,
@Nullable SaveContext saveContext) |
protected void |
ContentEntityObject.setContainerContent(@Nullable ContentEntityObject container) |
void |
BodyContent.setContent(ContentEntityObject content) |
void |
ContentPermissionManager.setContentPermissions(Collection<ContentPermission> contentPermissions,
ContentEntityObject content,
String type)
Set the Content Permissions on the CEO to be the list of
ContentPermission s passed. |
void |
DefaultContentPermissionManager.setContentPermissions(Collection<ContentPermission> requiredPermissions,
ContentEntityObject content,
String type) |
void |
ContentPermissionManager.setContentPermissions(@NonNull Map<String,Collection<ContentPermission>> requiredPermissionsMap,
ContentEntityObject content)
Set the Content Permissions on the CEO to be the list of
ContentPermission s passed. |
void |
DefaultContentPermissionManager.setContentPermissions(@NonNull Map<String,Collection<ContentPermission>> requiredPermissionsMap,
ContentEntityObject content) |
void |
ContentEntityObject.setContentPropertiesFrom(ContentEntityObject ceo)
Initialises the
ContentProperties of this ContentEntityObject by performing
a deep clone of the ContentEntityObject object's properties. |
void |
DefaultContentPropertyManager.setStringProperty(ContentEntityObject entity,
String key,
@Nullable String value) |
void |
ContentPropertyManager.setStringProperty(ContentEntityObject entity,
String key,
String value)
Associate a string property with a content entity object, or null if that property
is not set.
|
void |
DefaultContentPropertyManager.setTextProperty(ContentEntityObject entity,
String key,
String value) |
void |
ContentPropertyManager.setTextProperty(ContentEntityObject entity,
String key,
String value)
Associate a text property with a content entity object, or null if that property
is not set.
|
void |
DefaultContentPropertyManager.transferProperties(ContentEntityObject source,
ContentEntityObject destination) |
void |
ContentPropertyManager.transferProperties(ContentEntityObject source,
ContentEntityObject destination)
Copies all properties associated with the source content entity object
to the destination content entity object, and then removes all properties
from the source content entity object.
|
Modifier and Type | Method and Description |
---|---|
Iterable<RestEntity> |
ApiRestEntityFactory.buildRestEntityFromContent(Iterable<? extends ContentEntityObject> entities,
Expansions expansions)
Build a list of REST API entity objects from ContentEntityObject objects.
|
protected void |
DefaultContentEntityManager.removeContentEntities(Iterable<? extends ContentEntityObject> contentEntityObjects) |
Constructor and Description |
---|
BodyContent(ContentEntityObject content,
String body,
BodyType bodyType) |
VersionHistorySummary(ContentEntityObject entity) |
Modifier and Type | Interface and Description |
---|---|
interface |
ContentEntityObjectDao<T extends ContentEntityObject> |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
ContentEntityObjectDao.findDraftFor(long contentId)
Retrieves the draft for the given content if exists.
|
ContentEntityObject |
ContentEntityObjectDao.getFirstVersionAfter(long originalVersionContentId,
int version) |
ContentEntityObject |
ContentEntityObjectDao.getFirstVersionBefore(long originalVersionContentId,
int version) |
ContentEntityObject |
ContentEntityObjectDao.getVersion(long originalVersionContentId,
int version) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
ContentEntityObjectDao.findAllDraftsFor(long contentId)
Retrieves a list of drafts for the given content if any drafts exist.
|
List<ContentEntityObject> |
ContentEntityObjectDao.findHistoricalVersionsAfterVersion(long originalContentId,
int version) |
List<ContentEntityObject> |
ContentEntityObjectDao.findPreviousVersions(long originalContentId) |
List<ContentEntityObject> |
ContentEntityObjectDao.findUnpublishedContentWithUserContributions(String username)
Retrives the drafts for the given
User |
List<ContentEntityObject> |
ContentEntityObjectDao.getContentAuthoredByUser(String username) |
Iterator<ContentEntityObject> |
ContentEntityObjectDao.getRecentlyAddedEntities(String spaceKey,
int maxResults) |
Iterator<ContentEntityObject> |
ContentEntityObjectDao.getRecentlyModifiedEntities(int maxResults) |
Iterator<ContentEntityObject> |
ContentEntityObjectDao.getRecentlyModifiedEntitiesForUser(String username) |
List<ContentEntityObject> |
ContentEntityObjectDao.getRecentlyModifiedForChangeDigest(Date fromDate)
Retrieves a list of
ContentEntityObject s that have been newly added or modified
since the date specified. |
List<ContentEntityObject> |
ContentEntityObjectDao.getTrashedContent(String spaceKey)
Deprecated.
since 6.10.0 use
ContentEntityObjectDao.getTrashedContents(String, int, int) |
default List<ContentEntityObject> |
ContentEntityObjectDao.getTrashedContents(String spaceKey,
int offset,
int limit) |
Map<Long,ContentEntityObject> |
ContentEntityObjectDao.getVersionsLastEditedByUser(Collection<Long> contentIds,
com.atlassian.sal.api.user.UserKey userKey)
Gets the
ContentEntityObject objects, either the current version or historical version relating to
given contentIds of the current version that was the most recent version edited by the given user. |
Map<Long,ContentEntityObject> |
ContentEntityObjectDao.getVersionsLastEditedByUserNew(Collection<Long> contentIds,
com.atlassian.sal.api.user.UserKey userKey)
Deprecated.
since 6.4.0
|
Modifier and Type | Method and Description |
---|---|
Class<ContentEntityObject> |
ContentEntityObjectHibernateDao.getPersistentClass() |
Modifier and Type | Method and Description |
---|---|
String |
WikiConvertingHtmlDiffer.diff(ContentEntityObject left,
ContentEntityObject right) |
String |
DaisyHtmlDiffer.diff(ContentEntityObject leftContent,
ContentEntityObject rightContent) |
String |
Differ.diff(ContentEntityObject left,
ContentEntityObject right)
Computes a diff between the specified left and right input.
|
Constructor and Description |
---|
InterruptedDiffException(ContentEntityObject leftContent,
ContentEntityObject rightContent,
int timeout) |
Constructor and Description |
---|
ConfluenceDiffDraftBean(ContentEntityObject original,
Draft latest,
Differ differ) |
Modifier and Type | Method and Description |
---|---|
@NonNull ContentEntityObject |
Contented.getContent() |
Modifier and Type | Method and Description |
---|---|
@NonNull ContentEntityObject |
AttachmentEvent.getAttachedTo() |
@NonNull ContentEntityObject |
AttachmentEvent.getContent() |
Modifier and Type | Method and Description |
---|---|
@NonNull ContentEntityObject |
BlogPostEvent.getContent() |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
CommentEvent.getContent() |
Modifier and Type | Method and Description |
---|---|
@NonNull ContentEntityObject |
PageEvent.getContent() |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
PersonalInformationEvent.getContent() |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
AbstractLikeEvent.getContent() |
Constructor and Description |
---|
AbstractLikeEvent(Object src,
com.atlassian.user.User user,
ContentEntityObject content) |
LikeCreatedEvent(Object src,
com.atlassian.user.User user,
ContentEntityObject content) |
LikeRemovedEvent(Object src,
com.atlassian.user.User user,
ContentEntityObject contentEntity) |
Modifier and Type | Method and Description |
---|---|
@NonNull ContentEntityObject |
ContentTreePermissionReindexEvent.getContent() |
Constructor and Description |
---|
ContentTreePermissionReindexEvent(Object src,
ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
@NonNull ContentEntityObject |
ContentPermissionEvent.getContent() |
Constructor and Description |
---|
ContentPermissionEvent(Object src,
ContentEntityObject content,
@Nullable ContentPermission contentPermission) |
ContentPermissionEvent(Object src,
ContentEntityObject content,
@Nullable ContentPermission contentPermission,
boolean reindexNeeded) |
Modifier and Type | Method and Description |
---|---|
static AttachmentPrefetchEvent.Builder |
AttachmentPrefetchEvent.builder(@Nullable ContentEntityObject renderedContentEntity) |
static UserPrefetchEvent.Builder |
UserPrefetchEvent.builder(@Nullable ContentEntityObject renderedContentEntity) |
Modifier and Type | Method and Description |
---|---|
Notification |
DelegatingNotificationDao.findNotificationByUserAndContent(com.atlassian.user.User user,
ContentEntityObject content)
Deprecated.
|
List<Notification> |
DelegatingNotificationDao.findNotificationsByContent(ContentEntityObject content)
Deprecated.
|
boolean |
DelegatingNotificationDao.isWatchingContent(@NonNull ConfluenceUser user,
@NonNull ContentEntityObject content)
Deprecated.
|
boolean |
CachingNotificationDao.isWatchingContent(@NonNull ConfluenceUser user,
@NonNull ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
static String |
ExportUtils.getTitleAsFilename(ContentEntityObject ceo)
Utility method to return a version of the content entity's title that's suitable to be used as a filename in an export.
|
static String |
ExportUtils.getTitleAsHref(ContentEntityObject ceo)
For a URL encoded filename to be used in a link it will need to be double encoded (since the browser will decode the single encoding when
resolving the link, and we have files with encoded names on the filesystem).
|
Modifier and Type | Method and Description |
---|---|
Set<com.atlassian.sal.api.user.UserKey> |
ContentUserKeyExtractor.extractUserKeysFromContentEntities(Iterable<? extends ContentEntityObject> contentEntities,
boolean includeComments) |
Modifier and Type | Method and Description |
---|---|
<T extends ContentEntityObject> |
ContentDraftManagerInternal.createDraft(T obj,
SaveContext saveContext)
This method sets the common properties of the
ContentEntityObject to be saved as a draft |
<T extends ContentEntityObject> |
ContentDraftManagerInternal.findAllDraftsFor(long contentId)
Retrieves a list of drafts for the given content ID if any exist.
|
<T extends ContentEntityObject> |
ContentDraftManagerInternal.findDraftFor(long contentId)
Retrieves the draft for the given content ID if it exists
|
<T extends ContentEntityObject> |
ContentDraftManagerInternal.findDraftFor(T ceo)
Retrieves the draft for the given content if exists.
|
Modifier and Type | Method and Description |
---|---|
@Nullable ContentEntityObject |
ContentEntityManagerInternal.getById(ContentId id) |
@Nullable ContentEntityObject |
ContentEntityManagerInternal.getById(ContentId id,
int version) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
ContentDraftManagerInternal.findUnpublishedContentWithUserContributions(String username)
Retrieves the drafts for the given
User |
Modifier and Type | Method and Description |
---|---|
Notification |
DelegatingNotificationDaoInternal.findNotificationByUserAndContent(com.atlassian.user.User user,
ContentEntityObject content) |
List<Notification> |
DelegatingNotificationDaoInternal.findNotificationsByContent(ContentEntityObject content) |
boolean |
DelegatingNotificationDaoInternal.isWatchingContent(@NonNull ConfluenceUser user,
@NonNull ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
PageResponse<Attachment> |
AttachmentManagerInternal.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
default PageResponse<Attachment> |
AttachmentManagerInternal.getFilteredAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
Predicate<? super Attachment> filterPredicate)
Returns the current attachments under the CEO.
|
void |
AttachmentManagerInternal.moveAttachment(Attachment attachment,
ContentEntityObject newContainer)
Moves an attachment to a different
ContentEntityObject container. |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AttachmentManagerInternal.getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)
Returns a list of all the latest versions of attachments for all the CEOs provided (including trashed)
|
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
AbstractPageDaoInternal.getStaleSharedDrafts(LimitedRequest limitedRequest)
Get all stale shared drafts in the database.
|
Modifier and Type | Method and Description |
---|---|
default PageResponse<Attachment> |
AttachmentDaoInternal.getFilteredLatestVersionsOfAttachments(ContentEntityObject ceo,
LimitedRequest pageRequest,
Predicate<? super Attachment> predicate)
Retrieves a paginated list of the latest version of attachments to the ceo filtered by the predicate
|
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AttachmentDaoInternal.getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects)
Retrieves the latest versions of all attachments for all CEOs provided (including trashed)
|
Modifier and Type | Interface and Description |
---|---|
interface |
ContentEntityObjectDaoInternal<T extends ContentEntityObject>
A Dao for ContentEntityObjects.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractContentEntityObjectHibernateDao<T extends ContentEntityObject> |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
AbstractContentEntityObjectHibernateDao.findDraftFor(long contentId) |
ContentEntityObject |
AbstractContentEntityObjectHibernateDao.getFirstVersionAfter(long originalVersionContentId,
int version) |
ContentEntityObject |
AbstractContentEntityObjectHibernateDao.getFirstVersionBefore(long originalVersionContentId,
int version) |
ContentEntityObject |
AbstractContentEntityObjectHibernateDao.getVersion(long originalVersionContentId,
int version) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.findAllDraftsFor(long contentId) |
List<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.findHistoricalVersionsAfterVersion(long originalContentId,
int version) |
List<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.findPreviousVersions(long originalContentId) |
List<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.findUnpublishedContentWithUserContributions(String username) |
List<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.getContentAuthoredByUser(String username) |
Iterator<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.getRecentlyAddedEntities(String spaceKey,
int maxResults) |
Iterator<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.getRecentlyModifiedEntities(int maxResults) |
Iterator<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.getRecentlyModifiedEntitiesForUser(String username) |
List<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.getRecentlyModifiedForChangeDigest(Date fromDate) |
List<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.getTrashedContent(String spaceKey) |
List<ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.getTrashedContents(String spaceKey,
int offset,
int limit) |
Map<Long,ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.getVersionsLastEditedByUser(Collection<Long> contentIds,
com.atlassian.sal.api.user.UserKey userKey) |
Map<Long,ContentEntityObject> |
AbstractContentEntityObjectHibernateDao.getVersionsLastEditedByUserNew(Collection<Long> contentIds,
com.atlassian.sal.api.user.UserKey userKey)
Deprecated.
since 6.4.0
|
Modifier and Type | Method and Description |
---|---|
static RelatableEntityTypeEnum |
RelatableEntityTypeEnum.getByContentEntityObject(ContentEntityObject object) |
Modifier and Type | Method and Description |
---|---|
protected RelationEntity<ConfluenceUser,ContentEntityObject> |
User2ContentHibernateRelationDao.constructRelationEntity(RelationEntity<ConfluenceUser,ContentEntityObject> relationEntity,
ConfluenceUser source,
ContentEntityObject target,
RelationDescriptor<?,?> relationDescriptor) |
Modifier and Type | Method and Description |
---|---|
protected RelationEntity<ConfluenceUser,ContentEntityObject> |
User2ContentHibernateRelationDao.constructRelationEntity(RelationEntity<ConfluenceUser,ContentEntityObject> relationEntity,
ConfluenceUser source,
ContentEntityObject target,
RelationDescriptor<?,?> relationDescriptor) |
@NonNull List<ContentEntityObject> |
Content2ContentHibernateRelationDao.getSources(RelationQuery<ContentEntityObject> request,
int start,
int limit) |
@NonNull List<ConfluenceUser> |
User2ContentHibernateRelationDao.getSources(RelationQuery<ContentEntityObject> request,
int start,
int limit) |
int |
Content2ContentHibernateRelationDao.getSourcesCount(RelationQuery<ContentEntityObject> request) |
int |
User2ContentHibernateRelationDao.getSourcesCount(RelationQuery<ContentEntityObject> request) |
@NonNull List<ContentEntityObject> |
Content2ContentHibernateRelationDao.getTargets(RelationQuery<ContentEntityObject> request,
int start,
int limit) |
int |
Content2ContentHibernateRelationDao.getTargetsCount(RelationQuery<ContentEntityObject> request) |
Modifier and Type | Method and Description |
---|---|
boolean |
DummyAvailableContentEntityAdapter.isAllowedContainer(ContentEntityObject child,
ContentEntityObject container) |
Modifier and Type | Method and Description |
---|---|
Json |
ContentMetadataJsonator.convert(ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
protected ContentEntityObject |
Labelling.getContent() |
Modifier and Type | Method and Description |
---|---|
PartialList<ContentEntityObject> |
CachingLabelManager.getAllContentForAllLabels(int offset,
int maxResults,
Label... labels) |
PartialList<ContentEntityObject> |
LabelManager.getAllContentForAllLabels(int offset,
int maxResults,
Label... labels)
Retrieve all ContentEntityObjects, current or deleted which are labelled with ALL provided labels.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getAllContentForAllLabels(int offset,
int maxResults,
Label... labels) |
PartialList<ContentEntityObject> |
CachingLabelManager.getAllContentForLabel(int offset,
int maxResults,
Label label) |
PartialList<ContentEntityObject> |
LabelManager.getAllContentForLabel(int offset,
int maxResults,
Label label)
Retrieve all ContentEntityObjects, current or deleted which are labelled with the provided label.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getAllContentForLabel(int offset,
int maxResults,
Label label) |
PartialList<ContentEntityObject> |
CachingLabelManager.getContentForAllLabels(int offset,
int maxResults,
Label... labels) |
PartialList<ContentEntityObject> |
LabelManager.getContentForAllLabels(int offset,
int maxResults,
Label... labels)
Retrieve current ContentEntityObjects which are labelled with ALL provided labels.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getContentForAllLabels(int offset,
int maxResults,
Label... labels) |
PartialList<ContentEntityObject> |
CachingLabelManager.getContentForLabel(int offset,
int maxResults,
Label label) |
PartialList<ContentEntityObject> |
LabelManager.getContentForLabel(int offset,
int maxResults,
Label label)
Retrieve current ContentEntityObjects which are labelled with the provided label.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getContentForLabel(int offset,
int maxResults,
Label label) |
PartialList<ContentEntityObject> |
CachingLabelManager.getContentInSpaceForAllLabels(int offset,
int maxResults,
String spaceKey,
Label... labels) |
PartialList<ContentEntityObject> |
LabelManager.getContentInSpaceForAllLabels(int offset,
int maxResults,
String spaceKey,
Label... labels)
Retrieve current ContentEntityObjects in the given space which are labelled with ALL provided labels.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getContentInSpaceForAllLabels(int offset,
int maxResults,
String spaceKey,
Label... labels) |
PartialList<ContentEntityObject> |
CachingLabelManager.getContentInSpaceForLabel(int offset,
int maxResults,
String spaceKey,
Label label) |
PartialList<ContentEntityObject> |
LabelManager.getContentInSpaceForLabel(int offset,
int maxResults,
String spaceKey,
Label label)
Retrieve current ContentEntityObjects in the given space which are labelled with the provided label.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getContentInSpaceForLabel(int offset,
int maxResults,
String spaceKey,
Label label) |
PartialList<ContentEntityObject> |
CachingLabelManager.getContentInSpacesForAllLabels(int offset,
int maxResults,
Set<String> spaceKeys,
Label... labels) |
PartialList<ContentEntityObject> |
LabelManager.getContentInSpacesForAllLabels(int offset,
int maxResults,
Set<String> spaceKeys,
Label... labels)
Retrieve current ContentEntityObjects in the given spaces which are labelled with ALL provided labels.
|
PartialList<ContentEntityObject> |
DefaultLabelManager.getContentInSpacesForAllLabels(int offset,
int maxResults,
Set<String> spaceKeys,
Label... labels) |
Modifier and Type | Method and Description |
---|---|
protected void |
Labelling.setContent(ContentEntityObject ceo) |
Modifier and Type | Method and Description |
---|---|
PartialList<ContentEntityObject> |
LabelDao.findAllContentForAllLabels(int offset,
int maxResults,
Label... labels)
Retrieve all ContentEntityObjects which are labelled with ALL provided labels.
|
PartialList<ContentEntityObject> |
LabelDao.findContentInSpaceForAllLabels(int offset,
int maxResults,
String spaceKey,
Label... labels)
Retrieve current ContentEntityObjects in the space which are labelled with ALL provided labels.
|
PartialList<ContentEntityObject> |
LabelDao.findContentInSpacesForAllLabels(int offset,
int maxResults,
Set<String> spaceKeys,
Label... labels)
Retrieve current ContentEntityObjects in the given spaces which are labelled with ALL provided labels.
|
Modifier and Type | Method and Description |
---|---|
PartialList<ContentEntityObject> |
HibernateLabelDao.findAllContentForAllLabels(int offset,
int maxResults,
Label... labels) |
PartialList<ContentEntityObject> |
HibernateLabelDao.findContentInSpaceForAllLabels(int offset,
int maxResults,
String spaceKey,
Label... labels) |
PartialList<ContentEntityObject> |
HibernateLabelDao.findContentInSpacesForAllLabels(int offset,
int maxResults,
Set<String> spaceKeys,
Label... labels) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
LikeEntity.getContent() |
Modifier and Type | Method and Description |
---|---|
LikeEntity |
HibernateLikeEntityDao.addLike(ContentEntityObject contentEntity,
com.atlassian.user.User user) |
Like |
DefaultLikeManager.addLike(ContentEntityObject contentEntity,
com.atlassian.user.User user) |
Like |
LikeManager.addLike(ContentEntityObject contentEntity,
com.atlassian.user.User user)
Add a like for the provided user.
|
@NonNull LikeEntity |
LikeEntityDao.addLike(ContentEntityObject contentEntity,
com.atlassian.user.User user)
Add a like on the content entity for the given user.
|
List<Like> |
DefaultLikeManager.getLikes(ContentEntityObject contentEntity) |
List<Like> |
LikeManager.getLikes(ContentEntityObject contentEntity)
Gets all the likes for the specified content entity (likes are ordered such that recent likes come first)
|
boolean |
HibernateLikeEntityDao.hasLike(ContentEntityObject contentEntity,
com.atlassian.user.User user) |
boolean |
DefaultLikeManager.hasLike(ContentEntityObject contentEntity,
com.atlassian.user.User user) |
boolean |
LikeManager.hasLike(ContentEntityObject contentEntity,
com.atlassian.user.User user)
Returns true if the provided user likes this content entity.
|
boolean |
LikeEntityDao.hasLike(ContentEntityObject contentEntity,
com.atlassian.user.User user)
Returns true if the given user likes this content entity.
|
void |
HibernateLikeEntityDao.removeAllLikesOn(ContentEntityObject contentEntity) |
void |
DefaultLikeManager.removeAllLikesOn(ContentEntityObject contentEntity) |
void |
LikeManager.removeAllLikesOn(ContentEntityObject content)
Removes all likes (for any user) from the specified content entity.
|
void |
LikeEntityDao.removeAllLikesOn(ContentEntityObject contentEntity)
Removes all likes (for any user) from the specified content entity.
|
void |
HibernateLikeEntityDao.removeLike(ContentEntityObject contentEntity,
com.atlassian.user.User user) |
void |
DefaultLikeManager.removeLike(ContentEntityObject contentEntity,
com.atlassian.user.User user) |
void |
LikeManager.removeLike(ContentEntityObject contentEntity,
com.atlassian.user.User user)
Remove like from content entity for the current logged in user.
|
void |
LikeEntityDao.removeLike(ContentEntityObject contentEntity,
com.atlassian.user.User user)
Remove like from content entity for the given user.
|
void |
LikeEntity.setContent(ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
List<LikeEntity> |
HibernateLikeEntityDao.getLikeEntities(Collection<? extends ContentEntityObject> contentEntities) |
@NonNull List<LikeEntity> |
LikeEntityDao.getLikeEntities(Collection<? extends ContentEntityObject> contentEntities) |
Map<Long,List<Like>> |
DefaultLikeManager.getLikes(Collection<? extends ContentEntityObject> contentEntities) |
Map<Long,List<Like>> |
LikeManager.getLikes(Collection<? extends ContentEntityObject> contentEntities)
Gets all the likes for the specified content entities (likes are ordered such that recent likes come first).
|
Constructor and Description |
---|
LikeEntity(ContentEntityObject content,
ConfluenceUser user,
Date creationDate) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
AbstractLink.getSourceContent()
The source content of this link (FROM).
|
Modifier and Type | Method and Description |
---|---|
Collection<ContentEntityObject> |
DefaultLinkManager.getReferringContent(ContentEntityObject content) |
Collection<ContentEntityObject> |
LinkManager.getReferringContent(ContentEntityObject content) |
Collection<ContentEntityObject> |
DefaultLinkManager.getReferringContent(String spaceKey,
List<ContentEntityObject> collection) |
Collection<ContentEntityObject> |
LinkManager.getReferringContent(String spaceKey,
List<ContentEntityObject> collection)
Gets collection of referring content with given set of pages within single space
|
Modifier and Type | Method and Description |
---|---|
List<ReferralLink> |
ReferralManager.getHotReferrers(ContentEntityObject content,
int maxCount)
Deprecated.
|
List<ReferralLink> |
DefaultReferralManager.getHotReferrers(ContentEntityObject content,
int maxCount)
Deprecated.
|
List<OutgoingLink> |
DefaultLinkManager.getIncomingLinksToContent(ContentEntityObject content) |
List |
LinkManager.getIncomingLinksToContent(ContentEntityObject content) |
Collection<ContentEntityObject> |
DefaultLinkManager.getReferringContent(ContentEntityObject content) |
Collection<ContentEntityObject> |
LinkManager.getReferringContent(ContentEntityObject content) |
void |
AbstractLink.setSourceContent(ContentEntityObject sourceContent) |
void |
DefaultLinkManager.updateOutgoingLinks(ContentEntityObject content) |
void |
LinkManager.updateOutgoingLinks(ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
Collection<ContentEntityObject> |
DefaultLinkManager.getReferringContent(String spaceKey,
List<ContentEntityObject> collection) |
Collection<ContentEntityObject> |
LinkManager.getReferringContent(String spaceKey,
List<ContentEntityObject> collection)
Gets collection of referring content with given set of pages within single space
|
Constructor and Description |
---|
OutgoingLink(ContentEntityObject sourceContent,
String destinationSpaceKey,
String destinationPageTitle)
Convenience constructor
|
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
BlogPostLink.getDestinationContent() |
ContentEntityObject |
UserProfileLink.getDestinationContent() |
ContentEntityObject |
PageLink.getDestinationContent() |
ContentEntityObject |
ContentLink.getDestinationContent() |
ContentEntityObject |
SpaceLink.getDestinationContent() |
abstract ContentEntityObject |
AbstractContentEntityLink.getDestinationContent() |
ContentEntityObject |
AbstractPageLink.getDestinationContent() |
Modifier and Type | Method and Description |
---|---|
OutgoingLink |
BlogPostLink.toOutgoingLink(ContentEntityObject sourceContent) |
OutgoingLink |
IncludePageMacroLink.toOutgoingLink(ContentEntityObject sourceContent) |
OutgoingLink |
AbstractPageLink.toOutgoingLink(ContentEntityObject sourceContent) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
LinkDao.getReferringContent(ContentEntityObject content) |
List<ContentEntityObject> |
LinkDao.getReferringContent(String spaceKey,
List<ContentEntityObject> content) |
Modifier and Type | Method and Description |
---|---|
List<OutgoingLink> |
LinkDao.getLinksTo(ContentEntityObject content) |
List<ContentEntityObject> |
LinkDao.getReferringContent(ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
LinkDao.getReferringContent(String spaceKey,
List<ContentEntityObject> content) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
HibernateLinkDao.getReferringContent(ContentEntityObject content) |
List<ContentEntityObject> |
HibernateLinkDao.getReferringContent(String spaceKey,
List<ContentEntityObject> contents) |
Modifier and Type | Method and Description |
---|---|
List<OutgoingLink> |
HibernateLinkDao.getLinksTo(ContentEntityObject theContent) |
List<ContentEntityObject> |
HibernateLinkDao.getReferringContent(ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
HibernateLinkDao.getReferringContent(String spaceKey,
List<ContentEntityObject> contents) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
MacroExecutionContext.getContent()
Returns the
ContentEntityObject associated with this macro. |
Modifier and Type | Method and Description |
---|---|
static @NonNull MacroCountEvent |
MacroCountEventFactory.newMacroCreateCountEvent(Object src,
@Nullable ContentEntityObject entity,
ConversionContext context,
MacroCount macroCount)
Constructs a macro creation analytics event event.
|
List<MacroCount> |
MacroCountStore.updateAndGetNewCounts(MacroCounter counter,
ContentEntityObject entity,
int entityVersion)
Calculates the number of newly added macros by comparing results from the supplied MacroCounter with the
counts stored in the
ContentProperties of the entity, and updates
those counts after the difference has been calculated. |
Modifier and Type | Method and Description |
---|---|
ChangeDigestReport |
ChangeDigestNotificationBean.getAllChangeReportForUser(com.atlassian.user.User user,
List<? extends ContentEntityObject> changes)
Generates a change digest report for the list of changes passed in.
|
Constructor and Description |
---|
DefaultDailyReportManager(com.atlassian.core.task.MultiQueueTaskManager taskManager,
ChangeDigestNotificationBean changeNotificationBean,
UserAccessor userAccessor,
FormatSettingsManager formatSettingsManager,
LocaleManager localeManager,
SettingsManager settingsManager,
DataSourceFactory dataSourceFactory,
ContentUiSupport<ContentEntityObject> contentUiSupport,
I18NBeanFactory i18NBeanFactory) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
NotificationEmailHelper.extractTargetContentFromEmailReply(Map<String,List<String>> headers,
NotificationEmailHelper.ContentFinder contentFinder)
Retrieves the relevant content object from the given (reply) email headers.
|
ContentEntityObject |
NotificationEmailHelper.ContentFinder.findContentById(long contentId)
Finds the ContentEntityObject with the given content id
|
ContentEntityObject |
Notification.getContent() |
Modifier and Type | Method and Description |
---|---|
@Nullable Notification |
DefaultNotificationManager.addContentNotification(com.atlassian.user.User user,
ContentEntityObject content) |
@Nullable Notification |
NotificationManager.addContentNotification(com.atlassian.user.User user,
ContentEntityObject content) |
ConversionContext |
ConversionContextCreator.createConversionContext(ContentEntityObject ceo) |
Notification |
DefaultNotificationManager.getNotificationByUserAndContent(com.atlassian.user.User user,
ContentEntityObject content) |
Notification |
NotificationManager.getNotificationByUserAndContent(com.atlassian.user.User user,
ContentEntityObject content) |
List<Notification> |
DefaultNotificationManager.getNotificationsByContent(ContentEntityObject content) |
List<Notification> |
NotificationManager.getNotificationsByContent(ContentEntityObject content) |
boolean |
DefaultNotificationManager.isWatchingContent(@Nullable com.atlassian.user.User user,
@Nullable ContentEntityObject content) |
boolean |
NotificationManager.isWatchingContent(@Nullable com.atlassian.user.User user,
@Nullable ContentEntityObject content)
Returns true if the given user is directly watching the given content.
|
void |
DefaultNotificationManager.removeContentNotification(com.atlassian.user.User user,
ContentEntityObject content) |
void |
NotificationManager.removeContentNotification(com.atlassian.user.User user,
ContentEntityObject content) |
void |
Notification.setContent(ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
protected abstract ContentEntityObject |
AbstractNotificationsListener.getContentEntityObject(Map contextMap)
Returns the content entity used for the render context.
|
protected ContentEntityObject |
CommentNotificationsListener.getContentEntityObject(Map contextMap) |
protected abstract ContentEntityObject |
AbstractContentNotificationsListener.getContentEntityObject(Map contextMap) |
protected ContentEntityObject |
BlogPostNotificationsListener.getContentEntityObject(Map contextMap) |
Modifier and Type | Method and Description |
---|---|
Notification |
NotificationDao.findNotificationByUserAndContent(com.atlassian.user.User user,
ContentEntityObject content)
Find any user notification linked to the specified content.
|
List<Notification> |
NotificationDao.findNotificationsByContent(ContentEntityObject content) |
boolean |
NotificationDao.isWatchingContent(@NonNull ConfluenceUser user,
@NonNull ContentEntityObject content)
Returns true if the given user is directly watching the given content.
|
Modifier and Type | Method and Description |
---|---|
Notification |
HibernateNotificationDao.findNotificationByUserAndContent(com.atlassian.user.User user,
ContentEntityObject content) |
List<Notification> |
HibernateNotificationDao.findNotificationsByContent(ContentEntityObject content) |
boolean |
HibernateNotificationDao.isWatchingContent(@NonNull ConfluenceUser user,
@NonNull ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
CommentReport.getCommentOwner() |
ContentEntityObject |
AbstractContentEntityReport.getContentEntityObject() |
Constructor and Description |
---|
AbstractContentEntityReport(ContentEntityObject content,
ChangeDigestReport parentReport) |
Modifier and Type | Interface and Description |
---|---|
interface |
Contained<T extends ContentEntityObject>
represents content that has an owner
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPage
Parent of the concrete Page and BlogPost classes
|
class |
Attachment |
class |
BlogPost |
class |
Comment |
class |
Draft
This is the old way of dealing with drafts in Confluence and will be deprecated soon.
|
class |
Page
Represents a Page within Confluence.
|
Modifier and Type | Method and Description |
---|---|
<T extends ContentEntityObject> |
DefaultPageManager.saveNewVersion(T current,
Modification<T> modification,
@Nullable SaveContext saveContext) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
DraftsTransitionHelper.createDraft(String contentType,
String spaceKey)
This method should attempt to create a draft based on whether or not the Shared Drafts Dark Feature is enabled
or disabled.
|
ContentEntityObject |
DefaultDraftsTransitionHelper.createDraft(String contentType,
String spaceKey) |
ContentEntityObject |
DraftsTransitionHelper.createDraft(String contentType,
String spaceKey,
long parentPageId)
This method should attempt to create a draft based on whether or not the Shared Drafts Dark Feature is enabled
or disabled.
|
ContentEntityObject |
DefaultDraftsTransitionHelper.createDraft(String contentType,
String spaceKey,
long parentPageId) |
ContentEntityObject |
Attachment.getContainer() |
ContentEntityObject |
Comment.getContainer() |
ContentEntityObject |
Comment.getContentEntityObject() |
ContentEntityObject |
DraftsTransitionHelper.getDraft(long draftId)
This method should attempt to retrieve a draft, and based on whether or not the Shared Draft dark feature is
enabled (determined by the isSharedDraftsFeatureEnabled method) or disabled should return a Shared Draft or
Legacy Draft respectively.
|
ContentEntityObject |
DefaultDraftsTransitionHelper.getDraft(long draftId) |
ContentEntityObject |
DraftsTransitionHelper.getDraftForPage(AbstractPage abstractPage)
This method should retrieve a draft from a given AbstractPage respecting the Shared Drafts feature state.
|
ContentEntityObject |
DefaultDraftsTransitionHelper.getDraftForPage(AbstractPage abstractPage) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
DefaultTrashManager.getTrashContents(Space space,
int offset,
int count) |
List<ContentEntityObject> |
TrashManager.getTrashContents(Space space,
int offset,
int count)
Retrieve a subset of the contents of the trash for a particular space.
|
Modifier and Type | Method and Description |
---|---|
@NonNull Comment |
DefaultCommentManager.addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content) |
@NonNull Comment |
CommentManager.addCommentToObject(ContentEntityObject ceo,
@Nullable Comment parent,
String content) |
@NonNull Comment |
DefaultCommentManager.addCommentToObject(ContentEntityObject ceo,
Comment parent,
String content,
@Nullable NewCommentDeduplicator commentDeduplicator) |
@NonNull Comment |
CommentManager.addCommentToObject(ContentEntityObject ceo,
@Nullable Comment parent,
String content,
NewCommentDeduplicator commentDeduplicator)
Add a new comment if the given deduplicator determines that it's not a duplicate, or just return the existing duplicate otherwise.
|
void |
DefaultAttachmentManager.copyAttachment(Attachment attachment,
ContentEntityObject destinationContent) |
void |
DelegatorAttachmentManager.copyAttachment(Attachment attachment,
ContentEntityObject destinationContent) |
void |
AttachmentManager.copyAttachment(Attachment attachment,
ContentEntityObject destinationContent)
Copy specified attachment to specified destination content.
|
void |
CachingAttachmentManager.copyAttachment(Attachment attachment,
ContentEntityObject destinationContent) |
void |
DefaultAttachmentManager.copyAttachments(ContentEntityObject sourceContent,
ContentEntityObject destinationContent) |
void |
DelegatorAttachmentManager.copyAttachments(ContentEntityObject sourceContent,
ContentEntityObject destinationContent) |
void |
AttachmentManager.copyAttachments(ContentEntityObject sourceContent,
ContentEntityObject destinationContent)
Copy the latest version of all the attachments on the sourceContent to the destinationContent.
|
void |
CachingAttachmentManager.copyAttachments(ContentEntityObject sourceContent,
ContentEntityObject destinationContent) |
void |
DefaultAttachmentManager.copyAttachments(ContentEntityObject sourceContent,
ContentEntityObject destinationContent,
SaveContext saveContext) |
void |
DelegatorAttachmentManager.copyAttachments(ContentEntityObject sourceContent,
ContentEntityObject destinationContent,
SaveContext saveContext) |
void |
AttachmentManager.copyAttachments(ContentEntityObject sourceContent,
ContentEntityObject destinationContent,
SaveContext saveContext)
Copy the latest version of all the attachments on the sourceContent to the destinationContent.
|
void |
CachingAttachmentManager.copyAttachments(ContentEntityObject sourceContent,
ContentEntityObject destinationContent,
SaveContext saveContext) |
int |
DefaultAttachmentManager.countLatestVersionsOfAttachments(ContentEntityObject content) |
int |
DelegatorAttachmentManager.countLatestVersionsOfAttachments(ContentEntityObject content) |
int |
AttachmentManager.countLatestVersionsOfAttachments(ContentEntityObject content)
Returns a count of the number of latest versions of attachments
|
int |
CachingAttachmentManager.countLatestVersionsOfAttachments(ContentEntityObject content) |
int |
DefaultAttachmentManager.countLatestVersionsOfAttachmentsOnPageSince(ContentEntityObject content,
Date since) |
int |
DelegatorAttachmentManager.countLatestVersionsOfAttachmentsOnPageSince(ContentEntityObject content,
Date since) |
int |
AttachmentManager.countLatestVersionsOfAttachmentsOnPageSince(ContentEntityObject content,
Date since)
Fetches number of attachments changed on a page since a specific timestamp
|
int |
CachingAttachmentManager.countLatestVersionsOfAttachmentsOnPageSince(ContentEntityObject content,
Date since) |
int |
DefaultAttachmentManager.countLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
int |
DelegatorAttachmentManager.countLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
int |
AttachmentManager.countLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)
Returns a count of the number of latest versions of attachments (including trashed)
|
int |
CachingAttachmentManager.countLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
List<Attachment> |
DefaultAttachmentManager.getAllVersionsOfAttachments(ContentEntityObject content) |
List<Attachment> |
DelegatorAttachmentManager.getAllVersionsOfAttachments(ContentEntityObject content) |
List<Attachment> |
AttachmentManager.getAllVersionsOfAttachments(ContentEntityObject content)
Returns a list of all attachments, old and new.
|
List<Attachment> |
CachingAttachmentManager.getAllVersionsOfAttachments(ContentEntityObject content) |
Attachment |
DefaultAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName)
Get the most recent version of an attachment with a given name for a particular page.
|
Attachment |
DelegatorAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName) |
Attachment |
AttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName)
Get the most recent version of an attachment with a given name for a particular page
|
Attachment |
CachingAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName) |
Attachment |
DefaultAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName,
int version)
Retrieve a named attachment from a page.
|
Attachment |
DelegatorAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName,
int version) |
Attachment |
AttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName,
int version)
Retrieve a named attachment from a page
|
Attachment |
CachingAttachmentManager.getAttachment(ContentEntityObject content,
String attachmentFileName,
int version) |
String |
DefaultAttachmentManager.getAttachmentDownloadPath(ContentEntityObject content,
String attachmentFileName) |
String |
DelegatorAttachmentManager.getAttachmentDownloadPath(ContentEntityObject content,
String attachmentFileName) |
String |
AttachmentManager.getAttachmentDownloadPath(ContentEntityObject content,
String attachmentFileName)
Get the download path for the most recent version of an attachment with the given name for some content
|
String |
CachingAttachmentManager.getAttachmentDownloadPath(ContentEntityObject content,
String attachmentFileName) |
PageResponse<Attachment> |
DefaultAttachmentManager.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
PageResponse<Attachment> |
DelegatorAttachmentManager.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
PageResponse<Attachment> |
CachingAttachmentManager.getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Deprecated.
|
protected @NonNull BodyContent |
DefaultPageManager.getBodyContentForRevert(ContentEntityObject historicalVersion) |
static Long |
DraftsTransitionHelper.getContentId(ContentEntityObject draft) |
static String |
DraftsTransitionHelper.getContentType(ContentEntityObject draft) |
List<Attachment> |
DefaultAttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content) |
List<Attachment> |
DelegatorAttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content) |
List<Attachment> |
AttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content)
Returns a list of only latest versions of attachments.
|
List<Attachment> |
CachingAttachmentManager.getLatestVersionsOfAttachments(ContentEntityObject content) |
List<Attachment> |
DefaultAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
List<Attachment> |
DelegatorAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
List<Attachment> |
AttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content)
Returns a list of only latest versions of attachments (including trashed).
|
List<Attachment> |
CachingAttachmentManager.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
static String |
DraftsTransitionHelper.getSpaceKey(ContentEntityObject draft) |
static boolean |
DraftsTransitionHelper.isLegacyDraft(ContentEntityObject draft) |
void |
DefaultAttachmentManager.moveAttachment(Attachment attachment,
ContentEntityObject newContainer) |
void |
DelegatorAttachmentManager.moveAttachment(Attachment attachment,
ContentEntityObject newContainer) |
void |
CachingAttachmentManager.moveAttachment(Attachment latestVersion,
ContentEntityObject newContainer) |
void |
DefaultAttachmentManager.moveAttachment(Attachment latestVersion,
String newFileName,
ContentEntityObject newContent) |
void |
DelegatorAttachmentManager.moveAttachment(Attachment attachment,
String newFileName,
ContentEntityObject newName) |
void |
AttachmentManager.moveAttachment(Attachment latestVersion,
String fileName,
ContentEntityObject newContent) |
void |
CachingAttachmentManager.moveAttachment(Attachment latestVersion,
String fileName,
ContentEntityObject newContent) |
protected void |
DefaultPageManager.publishCreateEvent(ContentEntityObject obj) |
protected void |
DefaultCommentManager.publishCreateEvent(ContentEntityObject obj) |
protected void |
DefaultPageManager.publishCreateEvent(ContentEntityObject obj,
@Nullable SaveContext saveContext) |
protected void |
DefaultCommentManager.publishCreateEvent(ContentEntityObject obj,
@Nullable SaveContext saveContext) |
protected void |
DefaultPageManager.publishRemoveEvent(ContentEntityObject obj) |
protected void |
DefaultCommentManager.publishRemoveEvent(ContentEntityObject obj) |
protected void |
DefaultPageManager.publishUpdateEvent(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
protected void |
DefaultPageManager.publishUpdateEvent(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
protected void |
DefaultCommentManager.publishUpdateEvent(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
protected void |
DefaultCommentManager.publishUpdateEvent(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
void |
DefaultPageManager.refreshPage(ContentEntityObject page) |
void |
PageManager.refreshPage(ContentEntityObject page)
Refresh the page object in the hibernate session.
|
void |
DefaultPageManager.saveContentEntity(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
void |
DefaultPageManager.saveContentEntity(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext) |
void |
DefaultPageManager.saveContentEntity(ContentEntityObject obj,
@Nullable SaveContext saveContext) |
void |
Attachment.setContainer(ContentEntityObject content) |
void |
Comment.setContainer(ContentEntityObject container) |
void |
FileUploadManager.storeResource(AttachmentResource attachmentResource,
ContentEntityObject content)
Stores the attachmentResource as an
Attachment on the specified content object. |
void |
DefaultFileUploadManager.storeResource(AttachmentResource resource,
ContentEntityObject ceo) |
void |
FileUploadManager.storeResources(Collection<AttachmentResource> attachmentResources,
ContentEntityObject content)
Stores the attachmentResource as an
Attachment on the specified content object. |
void |
DefaultFileUploadManager.storeResources(Collection<AttachmentResource> attachmentResources,
ContentEntityObject content) |
AttachmentDownloadPathCache.AttachmentDownloadPathCacheKey |
AttachmentDownloadPathCache.toKey(ContentEntityObject content,
String attachmentFileName) |
void |
DraftsTransitionHelper.transitionContentObjects(ContentEntityObject from,
ContentEntityObject to)
Transitions content objects such as attachments, content properties,
labels and permissions from one content object to another.
|
void |
DefaultDraftsTransitionHelper.transitionContentObjects(ContentEntityObject from,
ContentEntityObject to) |
Constructor and Description |
---|
DefaultTrashManager(ContentEntityObjectDaoInternal<ContentEntityObject> contentEntityObjectDao,
ContentEntityManager contentEntityManager,
CustomContentManager customContentManager,
org.springframework.transaction.PlatformTransactionManager transactionManager,
PageManager pageManager,
com.atlassian.event.api.EventPublisher eventPublisher,
AttachmentManager attachmentManager) |
Modifier and Type | Field and Description |
---|---|
protected ContentEntityObject |
PurgeTrashItemAction.contentEntityObject |
Modifier and Type | Field and Description |
---|---|
protected Collection<ContentEntityObject> |
MoveAttachmentAction.suggestedContentToBeRefactored |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
ListUndefinedPagesAction.UndefinedPage.getReferencedFrom() |
Collection<ContentEntityObject> |
MoveAttachmentAction.getSuggestedContentToBeRefactored() |
List<ContentEntityObject> |
ViewTrashAction.getTrash() |
Modifier and Type | Method and Description |
---|---|
protected void |
CreatePageAction.assignParentPage(ContentEntityObject page,
Page parentPage) |
protected void |
AbstractCreatePageAction.assignParentPage(ContentEntityObject page,
Page parentPage) |
protected void |
CreatePageAction.assignSpace(ContentEntityObject page,
Space space) |
protected void |
AbstractCreatePageAction.assignSpace(ContentEntityObject draft,
Space space) |
Modifier and Type | Field and Description |
---|---|
protected ContentEntityObject |
FileStorer.content |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AttachmentStorer.attachFiles(ContentEntityObject contentEntityObject) |
Constructor and Description |
---|
FileStorer(com.opensymphony.xwork.ActionSupport action,
ContentEntityObject content) |
ImageStorer(com.opensymphony.xwork.ActionSupport action,
ContentEntityObject content,
ThumbnailManager thumbnailManager) |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
CachingAttachmentDao.getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects) |
List<Attachment> |
CachingAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
AbstractPageDao.getOrderedXhtmlContentFromContentId(long startContentId,
long endContentId,
int maxRows)
Gets the latest versions of AbstractPages between the given IDs limited by the specified number of rows.
|
List<ContentEntityObject> |
AbstractPageDao.getPreviousVersionsOfPageWithTaskId(long pageId,
long taskId,
int maxRows)
Get previous versions of a CEO that contain the given task ID sorted by versions in descending order.
|
List<ContentEntityObject> |
AbstractPageDao.getStaleSharedDrafts()
Get all stale shared drafts in the database.
|
Modifier and Type | Method and Description |
---|---|
int |
AttachmentDao.countLatestVersionsOfAttachments(ContentEntityObject content) |
int |
AttachmentDao.countLatestVersionsOfAttachmentsOnPageSince(ContentEntityObject content,
Date since) |
int |
AttachmentDao.countLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
Attachment |
AttachmentDao.getAttachment(ContentEntityObject content,
String fileName,
int version)
Return the attachment on the specified content with the given filename and version.
|
protected File |
FileSystemAttachmentDataDao.getDirectoryForAttachment(ContentEntityObject content,
Attachment attachment)
Deprecated.
Retrieves the location of the containing folder for an Attachment
|
protected File |
FileSystemAttachmentDataDao.getDirectoryForContent(ContentEntityObject content)
Deprecated.
|
Attachment |
AttachmentDao.getLatestAttachment(ContentEntityObject content,
String fileName)
Return the latest version of the attachment on the specified content with the given filename.
|
List<Attachment> |
AttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo)
Retrieves the latest versions of all attachments to ceo
|
PageResponse<Attachment> |
AttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> predicate)
Deprecated.
|
List<Attachment> |
AttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject ceo)
Retrieves the latest versions of all attachments to ceo (including trashed)
|
protected boolean |
AbstractAttachmentCopier.isContentExcluded(ContentEntityObject content)
Returns whether a ContentEntityObject is excluded from the copy
|
protected boolean |
AbstractAttachmentCopier.isContentSpaceIncluded(ContentEntityObject content)
Returns whether the content's Space is in the inclusion List.
|
void |
FileSystemAttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent)
Deprecated.
|
void |
AttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent)
Moves an attachment to a new file name or content object
|
void |
AttachmentDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent)
Moves an Attachment to a new file name or content object
|
void |
FileSystemAttachmentDataDao.removeDataForAttachment(Attachment attachment,
ContentEntityObject originalContent)
Deprecated.
Removes all attachment data for the given attachment.
|
void |
AttachmentDataDao.removeDataForAttachment(Attachment attachment,
ContentEntityObject originalContent)
Removes all attachment data for the given attachment.
|
void |
FileSystemAttachmentDataDao.removeDataForAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent)
Deprecated.
Removes the attachment data for the given attachment version.
|
void |
AttachmentDataDao.removeDataForAttachmentVersion(Attachment attachmentVersion,
ContentEntityObject originalContent)
Removes the attachment data for the given attachment version.
|
void |
FileSystemAttachmentDataDao.removeDataForAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent,
AttachmentDataStreamType dataStreamType)
Deprecated.
|
void |
AttachmentDataDao.removeDataForAttachmentVersion(Attachment attachmentVersion,
ContentEntityObject originalContent,
AttachmentDataStreamType dataStreamType)
Removes the attachment data of the specific stream type for the given attachment version.
|
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AttachmentDao.getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects)
Retrieves the latest versions of all attachments for all CEOs provided
|
Modifier and Type | Method and Description |
---|---|
void |
AttachmentDataFileSystem.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject contentEntity)
Delete all data corresponding to all versions of the given attachment
|
void |
HierarchicalMultiStreamAttachmentDataFileSystem.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject originalContent)
Delete all data corresponding to all versions of the given attachment
|
void |
TrackingAttachmentDataFileSystem.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject contentEntity) |
void |
AttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity)
Delete the data corresponding to a single attachment version
|
void |
HierarchicalMultiStreamAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent)
Delete the data corresponding to a single attachment version
|
void |
TrackingAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity) |
void |
AttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity,
AttachmentDataStreamType dataStreamType)
Delete the data of the specified stream type corresponding to a single attachment version
|
void |
HierarchicalMultiStreamAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent,
AttachmentDataStreamType dataStreamType) |
void |
TrackingAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity,
AttachmentDataStreamType dataStreamType) |
void |
AttachmentDataFileSystem.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContentEntity)
Move all data relating to one attachment to a new directory corresponding to the given new attachment and
content entity.
|
void |
FileSystemAttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent) |
void |
HierarchicalMultiStreamAttachmentDataFileSystem.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContent) |
void |
TrackingAttachmentDataFileSystem.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContentEntity) |
void |
AttachmentDataFileSystem.moveAttachments(ContentEntityObject contentEntity,
Space oldSpace,
Space newSpace)
Move all data for all versions of all attachments corresponding to the given content entity in the given
space, to the same entity in a different space.
|
void |
HierarchicalMultiStreamAttachmentDataFileSystem.moveAttachments(ContentEntityObject contentEntity,
Space oldSpace,
Space newSpace) |
void |
TrackingAttachmentDataFileSystem.moveAttachments(ContentEntityObject contentEntity,
Space oldSpace,
Space newSpace) |
void |
FileSystemAttachmentDataDao.removeDataForAttachment(Attachment attachment,
ContentEntityObject originalContent)
Removes all attachment data for the given attachment.
|
void |
FileSystemAttachmentDataDao.removeDataForAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent)
Removes the attachment data for the given attachment version.
|
void |
FileSystemAttachmentDataDao.removeDataForAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent,
AttachmentDataStreamType dataStreamType) |
Modifier and Type | Method and Description |
---|---|
void |
FileStoreAttachmentDataFileSystem.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject contentEntity) |
void |
FileStoreAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity) |
void |
FileStoreAttachmentDataFileSystem.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity,
AttachmentDataStreamType dataStreamType) |
void |
FileStoreAttachmentDataFileSystem.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContentEntity) |
void |
FileStoreAttachmentDataFileSystem.moveAttachments(ContentEntityObject contentEntity,
Space oldSpace,
Space newSpace) |
Modifier and Type | Method and Description |
---|---|
void |
DualAttachmentDataFileSystemPrimaryLocal.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject contentEntity) |
void |
DualAttachmentDataFileSystemPrimaryCloud.deleteAllAttachmentVersions(Attachment attachment,
ContentEntityObject contentEntity) |
void |
DualAttachmentDataFileSystemPrimaryLocal.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity) |
void |
DualAttachmentDataFileSystemPrimaryCloud.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity) |
void |
DualAttachmentDataFileSystemPrimaryLocal.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity,
AttachmentDataStreamType dataStreamType) |
void |
DualAttachmentDataFileSystemPrimaryCloud.deleteSingleAttachmentVersion(Attachment attachment,
ContentEntityObject contentEntity,
AttachmentDataStreamType dataStreamType) |
void |
DualAttachmentDataFileSystemPrimaryLocal.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContentEntity) |
void |
DualAttachmentDataFileSystemPrimaryCloud.moveAttachment(Attachment oldAttachment,
Attachment newAttachment,
ContentEntityObject newContentEntity) |
void |
DualAttachmentDataFileSystemPrimaryLocal.moveAttachments(ContentEntityObject contentEntity,
Space oldSpace,
Space newSpace) |
void |
DualAttachmentDataFileSystemPrimaryCloud.moveAttachments(ContentEntityObject contentEntity,
Space oldSpace,
Space newSpace) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
CachingPageDao.findDraftFor(long contentId) |
ContentEntityObject |
CachingPageDao.getFirstVersionAfter(long originalVersionContentId,
int version) |
ContentEntityObject |
CachingPageDao.getFirstVersionBefore(long originalVersionContentId,
int version) |
ContentEntityObject |
CachingPageDao.getVersion(long originalVersionContentId,
int version) |
Modifier and Type | Method and Description |
---|---|
int |
AbstractHibernateAttachmentDao.countLatestVersionsOfAttachments(ContentEntityObject content) |
int |
AbstractHibernateAttachmentDao.countLatestVersionsOfAttachmentsOnPageSince(ContentEntityObject content,
Date since) |
int |
AbstractHibernateAttachmentDao.countLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
Attachment |
AbstractHibernateAttachmentDao.getAttachment(ContentEntityObject content,
String fileName,
int version) |
Attachment |
AbstractHibernateAttachmentDao.getLatestAttachment(ContentEntityObject content,
String fileName) |
List<Attachment> |
AbstractHibernateAttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject content) |
PageResponse<Attachment> |
AbstractHibernateAttachmentDao.getLatestVersionsOfAttachments(ContentEntityObject ceo,
LimitedRequest request,
com.google.common.base.Predicate<? super Attachment> predicate)
|
List<Attachment> |
AbstractHibernateAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatus(ContentEntityObject content) |
void |
HibernateAttachmentDataDao.moveAttachment(Attachment attachment,
Attachment oldAttachment,
ContentEntityObject newContent) |
void |
AbstractHibernateAttachmentDao.moveAttachment(Attachment latestVersion,
Attachment oldAttachment,
ContentEntityObject newContent) |
protected void |
AbstractHibernateAttachmentDao.removeAllAttachmentVersions(Attachment latestVersion,
ContentEntityObject content) |
protected void |
AbstractHibernateAttachmentDao.removeAttachment(Attachment attachment,
ContentEntityObject content)
Severs the connection between attachment and content, and removes the attachment from the database
|
void |
HibernateAttachmentDataDao.removeDataForAttachment(Attachment attachment,
ContentEntityObject originalContent) |
void |
HibernateAttachmentDataDao.removeDataForAttachmentVersion(Attachment attachment,
ContentEntityObject originalContent) |
void |
HibernateAttachmentDataDao.removeDataForAttachmentVersion(Attachment attachmentVersion,
ContentEntityObject originalContent,
AttachmentDataStreamType dataStreamType) |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AbstractHibernateAttachmentDao.getLatestVersionsOfAttachmentsForMultipleCeos(Iterable<? extends ContentEntityObject> contentEntityObjects) |
List<Attachment> |
AbstractHibernateAttachmentDao.getLatestVersionsOfAttachmentsWithAnyStatusForContainers(Iterable<? extends ContentEntityObject> contentEntityObjects) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultConfluenceWysiwygConverter.convertWikiMarkupToXHtml(ContentEntityObject content,
String wikiMarkup) |
String |
ConfluenceWysiwygConverter.convertWikiMarkupToXHtml(ContentEntityObject content,
String wikiMarkup)
Converts wiki markup text into XHTML, using the page context of the content object.
|
String |
DefaultConfluenceWysiwygConverter.convertWikiMarkupToXHtml(ContentEntityObject content,
String spaceKey,
String wikiMarkup) |
String |
ConfluenceWysiwygConverter.convertWikiMarkupToXHtml(ContentEntityObject content,
String spaceKey,
String wikiMarkup)
Converts wiki markup text into XHTML, using the page context of the content object.
|
String |
DefaultConfluenceWysiwygConverter.convertXHtmlToWikiMarkup(ContentEntityObject content,
String xhtml) |
String |
ConfluenceWysiwygConverter.convertXHtmlToWikiMarkup(ContentEntityObject content,
String xhtml)
Converts XHTML into wiki markup, using the page context of the content object
|
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
WebInterfaceContext.getContentDraft()
Deprecated.
since 5.9. Use
WebInterfaceContext.getPage() |
ContentEntityObject |
DefaultWebInterfaceContext.getContentDraft()
Deprecated.
since 5.9. Use
DefaultWebInterfaceContext.getPage() |
Modifier and Type | Method and Description |
---|---|
boolean |
JsonPropertyEntityAdapter.isAllowedContainer(ContentEntityObject child,
ContentEntityObject container) |
static boolean |
JsonPropertyEntityAdapter.isContentProperty(ContentEntityObject o) |
Version |
JsonPropertyFactory.makeVersion(ContentEntityObject entity) |
Reference<Version> |
JsonPropertyFactory.makeVersion(ContentEntityObject entity,
boolean expanded) |
Modifier and Type | Method and Description |
---|---|
String |
DragAndDropService.getAttachmentEditorHtml(String filename,
ContentEntityObject container)
Get attachment editor html format
|
String |
DragAndDropServiceImpl.getAttachmentEditorHtml(String filename,
ContentEntityObject container) |
String |
DragAndDropService.getAttachmentEditorHtml(String filename,
ContentEntityObject container,
boolean viewFileMacroEnable,
String renderContentPlace)
Get attachment editor html format
|
String |
DragAndDropServiceImpl.getAttachmentEditorHtml(String filename,
ContentEntityObject container,
boolean viewFileMacroEnable,
String renderContentPlace) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
DefaultPopularContentQueries.getMostPopular(int maxResults,
EdgeQueryParameter queryParameter) |
List<ContentEntityObject> |
PopularContentQueries.getMostPopular(int maxResults,
EdgeQueryParameter queryParameter)
find popular content that have occurred in the last period of time
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultEdgeFactory.canBuildCreatEdge(ContentEntityObject contentEntity) |
boolean |
EdgeFactory.canBuildCreatEdge(ContentEntityObject contentEntity)
Determines if the edge factory is capable of building create edges for a particular
piece of content.
|
void |
LuceneEdgeIndexManager.contentEntityRemoved(boolean deletingVersion,
ContentEntityObject contentEntity) |
void |
LuceneEdgeIndexManager.contentEntityRemoved(ContentEntityObject contentEntity) |
void |
EdgeIndexManager.contentEntityRemoved(ContentEntityObject contentEntity)
Update the index to reflect the deletion of the specified content entity.
|
void |
LuceneEdgeIndexManager.contentEntityVersionRemoved(ContentEntityObject contentEntity) |
void |
EdgeIndexManager.contentEntityVersionRemoved(ContentEntityObject contentEntity)
Update the index to reflect the deletion of the specified content entity version.
|
Edge |
DefaultEdgeFactory.getCreateEdge(ContentEntityObject contentEntity) |
Edge |
EdgeFactory.getCreateEdge(ContentEntityObject contentEntity)
Creates a new instance of an edge which indicates new content creation.
|
org.apache.lucene.document.Document |
EdgeDocumentFactory.getDocument(String edgeId,
com.atlassian.sal.api.user.UserKey userKey,
ContentEntityObject target,
Date date,
String edgeTypeKey) |
org.apache.lucene.document.Document |
LuceneEdgeDocumentFactory.getDocument(String edgeId,
com.atlassian.sal.api.user.UserKey userKey,
ContentEntityObject target,
Date date,
String edgeTypeKey) |
Edge |
DefaultEdgeFactory.getLikeEdge(ConfluenceUser liker,
ContentEntityObject likedContent,
Date likeDate) |
Edge |
EdgeFactory.getLikeEdge(ConfluenceUser liker,
ContentEntityObject likedContent,
Date likeDate)
Creates a new instance of an edge which represents a user liking content.
|
Modifier and Type | Method and Description |
---|---|
EdgeIndexTask |
EdgeIndexTaskFactory.createAddDocumentTask(String edgeId,
com.atlassian.sal.api.user.UserKey userKey,
ContentEntityObject target,
Date date,
String edgeTypeKey) |
EdgeIndexTask |
EdgeIndexTaskFactory.createReIndexPermissionsTask(ContentEntityObject ceo) |
void |
EdgeIndexTaskQueue.enqueue(IndexTaskType indexTaskType,
ContentEntityObject target)
Add a new task to this queue.
|
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
HibernateContentEntityHelper.getContentEntities(List<Long> contentIds) |
List<ContentEntityObject> |
ContentEntityHelper.getContentEntities(List<Long> contentIds) |
Modifier and Type | Method and Description |
---|---|
String |
UrlStrategy.getUrl(ContentEntityObject contentEntity) |
Constructor and Description |
---|
StreamItemFactory(ContextPathHolder contextPathHolder,
UserDtoFactory userDtoFactory,
DateEntityFactory dateEntityFactory,
ContentEntityHelper contentEntityHelper,
EdgeTypeRepository edgeTypeRepository,
ContentUiSupport<ContentEntityObject> contentUiSupport) |
Constructor and Description |
---|
LikesResponse(LikeManager likeManager,
PersonService personService,
UserAccessor userAccessor,
ContentEntityObject content,
ConfluenceUser currentUser,
com.google.common.base.Supplier<Set<String>> followeeUsernames) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
LikeNotification.getContent() |
Constructor and Description |
---|
LikeNotification(ConfluenceUser recipient,
com.atlassian.user.User liker,
com.atlassian.user.User author,
ContentEntityObject contentEntity,
com.atlassian.plugin.notifications.spi.UserRole role)
Construct a like notification
|
Modifier and Type | Interface and Description |
---|---|
interface |
ContentEntityBuilder<T extends ContentEntityObject> |
class |
DefaultContentEntityBuilder<T extends ContentEntityObject> |
class |
WikiLinkableContentEntityBuilder<T extends ContentEntityObject & HasLinkWikiMarkup> |
Modifier and Type | Method and Description |
---|---|
<T extends ContentEntityObject> |
EntityBuilderFactory.createContentEntityBuilder(Class<? extends T> clazz)
A builder for constructing a REST entity from a {{com.atlassian.confluence.core.ContentEntityObject}}
|
<T extends ContentEntityObject> |
DefaultEntityBuilderFactory.createContentEntityBuilder(Class<? extends T> clazz) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
ContentEntityMapping.getConfluenceObject() |
Modifier and Type | Method and Description |
---|---|
ContentEntity |
DefaultRestContentManager.convertToContentEntity(ContentEntityObject object) |
ContentEntity |
RestContentManager.convertToContentEntity(ContentEntityObject object)
Convert a Confluence model object into its REST representation.
|
AttachmentEntityList |
RestAttachmentManager.createAttachmentEntityListForContent(ContentEntityObject object)
Create a
AttachmentEntityList object for the given ContentEntityObject |
AttachmentEntityList |
DefaultRestAttachmentManager.createAttachmentEntityListForContent(ContentEntityObject object) |
Constructor and Description |
---|
ChildrenListWrapperCallback(RestContentManager restContentManager,
ContentEntityObject parentConfluenceObject) |
ContentEntityMapping(ContentEntity contentEntity,
ContentEntityObject confluenceObject) |
Constructor and Description |
---|
GetContentTypeI18nKeyFunction(ContentUiSupport<ContentEntityObject> contentUiSupport) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
ViewSourceAction.getContent() |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
PageContext.getEntity() |
static ContentEntityObject |
ContentIncludeStack.peek() |
static ContentEntityObject |
ContentIncludeStack.pop() |
Modifier and Type | Method and Description |
---|---|
static boolean |
ContentIncludeStack.contains(ContentEntityObject c) |
static PageContext |
PageContext.contextWithTimeout(ContentEntityObject entity,
com.atlassian.util.concurrent.Timeout timeout)
Deprecated.
since 7.0.1. Use
PageContext.newContextWithTimeout(ContentEntityObject, Timeout) |
static PageContext |
PageContext.newContextWithTimeout(ContentEntityObject entity,
io.atlassian.util.concurrent.Timeout timeout)
Construct a new PageContext for the rendering of some entity within a given time.
|
static void |
ContentIncludeStack.push(ContentEntityObject c) |
Constructor and Description |
---|
PageContext(ContentEntityObject entity) |
PageContext(ContentEntityObject entity,
PageContext previousContext)
Deprecated.
since 4.3. The ability to have an original context is likely to be removed in a future version
|
Modifier and Type | Method and Description |
---|---|
static ContentEntityObject |
MacroUtils.getContentEntityObject(org.radeox.macro.parameter.MacroParameter macroParameter) |
Constructor and Description |
---|
RemoteContentSummary(ContentEntityObject obj) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
SoapServiceHelperImpl.retrieveContent(long contentId) |
ContentEntityObject |
SoapServiceHelper.retrieveContent(long contentId)
Retrieves the content with the given ID, throwing an exception if the content can not
be found, or the current user has not permission to view it.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractContentEntityRenderSupport<T extends ContentEntityObject> |
Modifier and Type | Method and Description |
---|---|
List |
SearchSiteAction.getContentLabels(ContentEntityObject content,
int amount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
ContentPermissionSet.getOwningContent() |
Modifier and Type | Method and Description |
---|---|
static NeverPermittedContentPermissionSet |
NeverPermittedContentPermissionSet.buildFrom(String type,
ContentEntityObject owningContent) |
static String |
PermissionUtils.getRestrictionsHash(ContentEntityObject content) |
void |
ContentPermissionSet.setOwningContent(ContentEntityObject owningContent)
Hibernate setter.
|
Constructor and Description |
---|
ContentPermissionSet(String type,
ContentEntityObject owningContent) |
NeverPermittedContentPermissionSet(String type,
ContentEntityObject owningContent) |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
AttachmentUrlParser.getEntity(String urlPath,
String prefix)
Gets the entity that the attachment is attached to based on the given url.
|
Modifier and Type | Class and Description |
---|---|
class |
GlobalDescription
Content Entity Object that is associated with the whole confluence rather
then a specific space/page/user.
|
Modifier and Type | Class and Description |
---|---|
class |
SpaceDescription |
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
SpaceDescription.getLatestVersion() |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultSpaceDescriptionManager.publishCreateEvent(ContentEntityObject obj)
Sends no event.
|
protected void |
DefaultSpaceDescriptionManager.publishCreateEvent(ContentEntityObject obj,
@Nullable SaveContext saveContext)
Sends no event.
|
protected void |
DefaultSpaceDescriptionManager.publishRemoveEvent(ContentEntityObject obj)
Sends no event.
|
protected void |
DefaultSpaceDescriptionManager.publishUpdateEvent(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext)
Sends no event.
|
protected void |
DefaultSpaceDescriptionManager.publishUpdateEvent(ContentEntityObject obj,
@Nullable ContentEntityObject origObj,
@Nullable SaveContext saveContext)
Sends no event.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ContentEntityObject |
AbstractLogoAction.getContentToAttachLogoTo() |
Modifier and Type | Method and Description |
---|---|
Content |
LegacyContentBuilder.buildFrom(ContentEntityObject entity,
Expansions expansions)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ChangeSpaceDescriptionsBodyTypeTask.apply(ContentEntityObject entity,
int index,
int batchSize) |
boolean |
ConvertToRelativeLinksTask.apply(ContentEntityObject entity,
int index,
int batchSize) |
Constructor and Description |
---|
ChangeSpaceDescriptionsBodyTypeUpgradeTask(org.springframework.transaction.PlatformTransactionManager transactionManager,
ContentDao contentDao,
BatchTask<ContentEntityObject> batchTask,
int applicationConfigBuildNumber) |
ConvertToRelativeLinksUpgradeTask(org.springframework.transaction.PlatformTransactionManager transactionManager,
ContentDao contentDao,
BatchTask<ContentEntityObject> batchTask,
int applicationConfigBuildNumber) |
Modifier and Type | Class and Description |
---|---|
class |
PersonalInformation |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultPersonalInformationManager.publishCreateEvent(ContentEntityObject obj) |
protected void |
DefaultPersonalInformationManager.publishCreateEvent(ContentEntityObject obj,
@Nullable SaveContext saveContext) |
protected void |
DefaultPersonalInformationManager.publishRemoveEvent(ContentEntityObject obj) |
protected void |
DefaultPersonalInformationManager.publishUpdateEvent(ContentEntityObject object,
@Nullable ContentEntityObject origObject,
@Nullable SaveContext saveContext) |
protected void |
DefaultPersonalInformationManager.publishUpdateEvent(ContentEntityObject object,
@Nullable ContentEntityObject origObject,
@Nullable SaveContext saveContext) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
ViewMyDraftsAction.getContentDrafts() |
Map<String,List<ContentEntityObject>> |
ViewMyDraftsAction.getDraftsBySpace()
Deprecated.
|
List<ContentEntityObject> |
ViewUserHistoryAction.getHistory() |
Map<Space,List<ContentEntityObject>> |
ViewMyDraftsAction.getNonResumableDraftsBySpace() |
Map<Space,List<ContentEntityObject>> |
ViewMyDraftsAction.getResumableDraftsBySpace() |
Modifier and Type | Method and Description |
---|---|
boolean |
ViewMyDraftsAction.isLegacyDraft(ContentEntityObject contentEntityObject) |
boolean |
ViewMyDraftsAction.isViewableDraft(ContentEntityObject contentEntityObject) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
UserHistoryHelper.getHistoryContent(ContentTypeEnum... requestedTypes) |
List<ContentEntityObject> |
UserHistoryHelper.getHistoryContent(int maxResults,
ContentTypeEnum... requestedTypes)
Returns user history
ContentEntityObject s, filtered to only include the requested types. |
Modifier and Type | Method and Description |
---|---|
void |
UserHistory.addContentEntity(ContentEntityObject content) |
Modifier and Type | Method and Description |
---|---|
protected ContentEntityObject |
UserSignUpNotificationsListener.getContentEntityObject(Map contextMap) |
Modifier and Type | Field and Description |
---|---|
protected ContentEntityObject |
AbstractLinkRenamingBean.referringContent |
Modifier and Type | Method and Description |
---|---|
static String |
ConfluenceRenderUtils.getAttachmentRemotePath(ContentEntityObject content)
Returns the remote path to the attachments of the given
ContentEntityObject . |
static String |
ConfluenceRenderUtils.getAttachmentsPathForContent(ContentEntityObject content)
Returns the download path for all the attachments on a given content object, excluding the
context path and base URL.
|
static String |
ConfluenceTrackbackUtils.getContentIdentifier(ContentEntityObject entity)
Deprecated.
|
String |
ExcerptHelper.getExcerpt(ContentEntityObject contentEntityObject)
Returns the body of an excerpt macro (including any xhtml tags).
|
String |
ContentMacrosHelper.getExcerpt(ContentEntityObject content,
PageContext pageContext) |
String |
ExcerptHelper.getExcerptSummary(ContentEntityObject contentEntityObject)
Returns the first line of an excerpt macro as plain text (all xhtml tags will be stripped)
|
MacroDefinition |
ExcerptHelper.getMacroDefinition(ContentEntityObject contentEntityObject,
String macroName)
Gets the first
MacroDefinition in the supplied (@code contentEntityObject}. |
static String |
ConfluenceTrackbackUtils.getPingUrl(ContentEntityObject entity)
Deprecated.
|
static List |
LabelUtil.getRecentAndPopularLabelsForEntity(ContentEntityObject entity,
LabelManager labelManager,
int maxResults,
String user) |
static String |
ContentUtils.getSpaceKeyFromCeo(ContentEntityObject ceo) |
static com.atlassian.trackback.Trackback |
ConfluenceTrackbackUtils.makeTrackback(ContentEntityObject entity)
Deprecated.
|
Constructor and Description |
---|
AbstractLinkRenamingBean(ContentEntityObject referringContent,
SpaceContentEntityObject pageBeingChanged,
String newSpaceKey,
String newTitle) |
AbstractPageLinkRenamingBean(ContentEntityObject referringContent,
SpaceContentEntityObject pageBeingChanged,
String newSpaceKey,
String newTitle) |
AttachmentLinkRenamingBean(ContentEntityObject referringContent,
ContentEntityObject oldLocation,
String newSpaceKey,
String newPageTitle)
Create a bean to update attachment links throughout a given ContentEntityObject's content, changing the page to
which the links refer.
|
AttachmentLinkRenamingBean(ContentEntityObject referringContent,
String oldFileName,
String newFileName)
Create a bean to rename the attachment filename throughout a given ContentEntityObject's content.
|
AttachmentLinkRenamingBean(ContentEntityObject referringContent,
String oldFileName,
String newFileName,
ContentEntityObject oldLocation,
ContentEntityObject newLocation)
Create a bean to update links on a given page to reflect a change to an attachment.
|
BlogPostLinkRenamingBean(ContentEntityObject referringContent,
SpaceContentEntityObject pageBeingChanged,
String newSpaceKey,
String newTitle) |
CamelCaseLinkRenamingBean(ContentEntityObject referringContent,
SpaceContentEntityObject pageBeingChanged,
String newSpaceKey,
String newTitle) |
IncludePageMacroLinkRenamingBean(ContentEntityObject referringContent,
SpaceContentEntityObject pageBeingChanged,
String newSpaceKey,
String newTitle) |
PageLinkRenamingBean(ContentEntityObject referringContent,
SpaceContentEntityObject pageBeingChanged,
String newSpaceKey,
String newTitle) |
SelfPageLinkRenamingBean(ContentEntityObject contentBeingMoved,
String newSpaceKey) |
Modifier and Type | Method and Description |
---|---|
WebInterfaceContext |
WebContextFactory.createWebInterfaceContext(ContentEntityObject content) |
WebInterfaceContext |
WebContextFactoryImpl.createWebInterfaceContext(ContentEntityObject content) |
WebInterfaceContext |
WebContextFactory.createWebInterfaceContext(ContentEntityObject content,
Map<String,Object> additionalContext) |
WebInterfaceContext |
WebContextFactoryImpl.createWebInterfaceContext(ContentEntityObject content,
Map<String,Object> additionalContext) |
Modifier and Type | Method and Description |
---|---|
<T extends ContentEntityObject> |
XhtmlContent.convertWikiBodyToStorage(T ceo)
Convert the body of the supplied ContentEntityObject to Confluence Storage Format XHTML (if necessary).
|
Modifier and Type | Method and Description |
---|---|
ContentEntityObject |
Snapshots.getSharedDraft() |
Modifier and Type | Method and Description |
---|---|
void |
Snapshots.setSharedDraft(ContentEntityObject sharedDraft) |
Copyright © 2003–2021 Atlassian. All rights reserved.