|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.impl.BaseContentLinkProvider
public abstract class BaseContentLinkProvider
Base implementation of LinkProvider for content types.
| Constructor Summary | |
|---|---|
BaseContentLinkProvider()
|
|
| Method Summary | |
|---|---|
boolean |
allowsAttachmentLinks()
If this object type allows links from other object types to it, this method should return true. |
String |
getLinkDescriptionFromJiveObject(JiveObject jiveObject)
Get the list of macros associated with this object type. |
String |
getLinkTextFromJiveObject(JiveObject jiveObject)
Given a JiveObject, this method should extract the link text for a URL to be generated from the supplied JiveObject. |
String |
getLinkURLFromJiveObject(JiveObject jiveObject,
boolean absolute)
Given a JiveObject, this method should construct a relative, or full, URL (depending on the isAbsoluteURL) parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.jivesoftware.community.LinkProvider |
|---|
getAnchorHrefMatcher, getAnchorLinkFromAnchorHrefMatcher, getAttachmentNameFromAnchorHrefMatcher, getLinkCSS, getObjectIdFromAnchorHrefMatcher, parseRelativeURL |
| Constructor Detail |
|---|
public BaseContentLinkProvider()
| Method Detail |
|---|
public boolean allowsAttachmentLinks()
LinkProvider
If this object type allows links from other object types to it, this method should return true.
Primarily consumed by the com.jivesoftware.base.wiki.JiveLinkBuilder class.
allowsAttachmentLinks in interface LinkProviderpublic String getLinkTextFromJiveObject(JiveObject jiveObject)
LinkProvider
Given a JiveObject, this method should extract the link text for a URL to be generated from the supplied JiveObject.
Primarily consumed by the com.jivesoftware.base.wiki.JiveLinkBuilder class.
getLinkTextFromJiveObject in interface LinkProviderjiveObject - the object to retrieve the link text from
public String getLinkDescriptionFromJiveObject(JiveObject jiveObject)
LinkProvider
Get the list of macros associated with this object type.
Primarily consumed by the com.jivesoftware.base.wiki.JiveLinkBuilder class.
getLinkDescriptionFromJiveObject in interface LinkProviderjiveObject - the object to retrieve the link description from
public String getLinkURLFromJiveObject(JiveObject jiveObject,
boolean absolute)
LinkProvider
Given a JiveObject, this method should construct a relative, or full, URL (depending on the isAbsoluteURL)
parameter.
Primarily consumed by the com.jivesoftware.base.wiki.JiveLinkBuilder class.
getLinkURLFromJiveObject in interface LinkProviderjiveObject - the jive object to retrieve the link url fromabsolute - whether or not the url is absolute
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||