public interface LinkDao extends ObjectDao
Modifier and Type | Method and Description |
---|---|
<T> Stream<T> |
countIncomingLinksForContents(SpaceContentEntityObject rootPage,
SpaceContentEntityObject parentPage,
Function<Object,T> mapper)
Helping method to get all incoming links of multiple contents at once.
|
int |
countPagesWithIncomingLinks(SpaceContentEntityObject rootPage)
Get the number of pages in a page hierarchy that have incoming links.
|
List<OutgoingLink> |
getLinksTo(ContentEntityObject content) |
List<ContentEntityObject> |
getReferringContent(ContentEntityObject content) |
List<ContentEntityObject> |
getReferringContent(String spaceKey,
List<ContentEntityObject> content) |
void |
removeCorruptOutgoingLinks() |
findAll, findAllSorted, findAllSorted, findByClassIds, getPersistentClass, refresh, remove, replicate, save, saveRaw
<T> Stream<T> countIncomingLinksForContents(SpaceContentEntityObject rootPage, SpaceContentEntityObject parentPage, Function<Object,T> mapper)
T
- rootPage
- The root of page hierarchyparentPage
- The direct parent pagemapper
- used to transform raw object into some DTO object at manager levelint countPagesWithIncomingLinks(SpaceContentEntityObject rootPage)
rootPage
- List<OutgoingLink> getLinksTo(ContentEntityObject content)
List<ContentEntityObject> getReferringContent(ContentEntityObject content)
List<ContentEntityObject> getReferringContent(String spaceKey, List<ContentEntityObject> content)
void removeCorruptOutgoingLinks()
Copyright © 2003–2020 Atlassian. All rights reserved.