|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LiveLinkManagerService
Created by The eXo Platform SAS Author : Phan Le Thanh Chuong chuong_phan@exoplatform.com Aug 6, 2008
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
extractLinks(javax.jcr.Node htmlFile)
Extract all link ( a, iframe, frame, href)
and all image (img) from html document |
java.util.List<java.lang.String> |
getBrokenLinks(javax.jcr.Node webContent)
Gets the broken links by web content. |
java.util.List<LinkBean> |
getBrokenLinks(java.lang.String portalName)
Gets the broken links by portal. |
void |
updateLinkDataForNode(javax.jcr.Node webContent,
java.util.List<java.lang.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(java.lang.String portalName)
Get all link existed in specified portal and update status for them (live or broken) |
| Method Detail |
|---|
void updateLinks()
throws java.lang.Exception
java.lang.Exception - the exception
void updateLinks(java.lang.String portalName)
throws java.lang.Exception
portalName - the portal name
java.lang.Exception - the exception
java.util.List<LinkBean> getBrokenLinks(java.lang.String portalName)
throws java.lang.Exception
portalName - the portal name
java.lang.Exception - the exception
java.util.List<java.lang.String> getBrokenLinks(javax.jcr.Node webContent)
throws java.lang.Exception
webContent - the web content
java.lang.Exception - the exception
java.util.List<java.lang.String> extractLinks(javax.jcr.Node htmlFile)
throws java.lang.Exception
a, iframe, frame, href)
and all image (img) from html document
htmlFile - the node html file
java.lang.Exception - the exception
void updateLinkDataForNode(javax.jcr.Node webContent,
java.util.List<java.lang.String> newLinks)
throws java.lang.Exception
webContent - the current web content nodenewLinks - the list of new links will be updated
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||