java.lang.Object | |
↳ | com.atlassian.confluence.pages.persistence.dao.AbstractAttachmentCopier |
Known Direct Subclasses |
Known Indirect Subclasses |
This method implements some of the methods from the AttachmentDao.AttachmentCopier interface. It also provides some convenience methods for checking whether a given object is to be included in the copy.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
progress |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set which parent content should be excluded from the copy.
| |||||||||||
Set the progress meter to report the status of the copy.
| |||||||||||
Set which Spaces should be included in the copy.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns whether a ContentEntityObject is excluded from the copy
| |||||||||||
Returns whether the content's Space is in the inclusion List.
| |||||||||||
Returns whether the space is in the inclusion List.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.confluence.pages.persistence.dao.AttachmentDao.AttachmentCopier
|
Set which parent content should be excluded from the copy.
contentList | a List of ContentEntityObjects |
---|
Set the progress meter to report the status of the copy.
progress | a ProgressMeter instance |
---|
Set which Spaces should be included in the copy. If no Spaces are set, then content from all Spaces is included.
spaceList | a List of Spaces |
---|
Returns whether a ContentEntityObject is excluded from the copy
content | the ContentEntityObject to check |
---|
Returns whether the content's Space is in the inclusion List. This method first checks if there are any Space restrictions. If there are none, true is returned. Then checks whether content belongs to a Space. If it is not a SpaceContentEntityObject, false is returned. Otherwise, #isSpaceIncluded() is called.
content | the ContentEntityObject to check |
---|
Returns whether the space is in the inclusion List.
space | the Space to check |
---|