Class AttachmentRefIdentifier
- java.lang.Object
-
- com.atlassian.confluence.pages.persistence.dao.bulk.attachment.delete.identifiers.AttachmentRefIdentifier
-
- All Implemented Interfaces:
AttachmentIdentifier
,ContainerAttachmentIdentifier
public class AttachmentRefIdentifier extends Object implements ContainerAttachmentIdentifier
Get Attachment using specific version. We don't expect to see high number of attachmentRefs because this class is not perform well in that case- Since:
- 7.17.0
-
-
Constructor Summary
Constructors Constructor Description AttachmentRefIdentifier(long containerId, PageManager pageManager, AttachmentManager attachmentManager, List<AttachmentDeleteOptions.AttachmentRef> attachmentRefs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AttachmentIdentifier>
getAttachmentIdentifiedList()
return list of AttachmentIdentifier belonging to current containerint
getTotalCountLatestAttachment()
Return total available attachment in this identifier
-
-
-
Constructor Detail
-
AttachmentRefIdentifier
public AttachmentRefIdentifier(long containerId, PageManager pageManager, AttachmentManager attachmentManager, List<AttachmentDeleteOptions.AttachmentRef> attachmentRefs)
-
-
Method Detail
-
getAttachmentIdentifiedList
public List<AttachmentIdentifier> getAttachmentIdentifiedList()
Description copied from interface:ContainerAttachmentIdentifier
return list of AttachmentIdentifier belonging to current container- Specified by:
getAttachmentIdentifiedList
in interfaceContainerAttachmentIdentifier
- Returns:
-
getTotalCountLatestAttachment
public int getTotalCountLatestAttachment()
Description copied from interface:ContainerAttachmentIdentifier
Return total available attachment in this identifier- Specified by:
getTotalCountLatestAttachment
in interfaceContainerAttachmentIdentifier
- Returns:
-
-