public interface LinkDao extends ObjectDao
NON_CACHEABLE| 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 | 
findByDestinationSpaceKey(String spaceKey)
Deprecated. 
 
since 5.8.15, unused in core and marketplace plugins 
 | 
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)
@Deprecated List findByDestinationSpaceKey(String spaceKey)
void removeCorruptOutgoingLinks()
Copyright © 2003–2021 Atlassian. All rights reserved.