public interface LiveLinkManagerService
| Modifier and Type | Method and Description |
|---|---|
List<String> |
extractLinks(javax.jcr.Node htmlFile)
Extract all link (
a, iframe, frame, href)
and all image (img) from html document |
List<String> |
getBrokenLinks(javax.jcr.Node webContent)
Gets the broken links by web content.
|
List<LinkBean> |
getBrokenLinks(String portalName)
Gets the broken links by portal.
|
void |
updateLinkDataForNode(javax.jcr.Node webContent,
List<String> newLinks)
Add exo:links (multi value) property of exo:linkable node type to web content node, with pattern
|
void |
updateLinks()
Get all link existed in all portal and update status for them (live or broken)
|
void |
updateLinks(String portalName)
Get all link existed in specified portal and update status for them (live or broken)
|
void updateLinks()
throws Exception
Exception - the exceptionvoid updateLinks(String portalName) throws Exception
portalName - the portal nameException - the exceptionList<LinkBean> getBrokenLinks(String portalName) throws Exception
portalName - the portal nameException - the exceptionList<String> getBrokenLinks(javax.jcr.Node webContent) throws Exception
webContent - the web contentException - the exceptionList<String> extractLinks(javax.jcr.Node htmlFile) throws Exception
a, iframe, frame, href)
and all image (img) from html documenthtmlFile - the node html fileException - the exceptionvoid updateLinkDataForNode(javax.jcr.Node webContent,
List<String> newLinks)
throws Exception
webContent - the current web content nodenewLinks - the list of new links will be updatedException - the exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.