Klasse WikiRenderer.WikiRendererImpl2
java.lang.Object
de.uplanet.lucy.server.auxiliaries.wiki.WikiRenderer.WikiRendererImpl2
- Alle implementierten Schnittstellen:
de.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine
- Umschließende Klasse:
WikiRenderer
public static class WikiRenderer.WikiRendererImpl2
extends Object
implements de.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine
The wiki rendering engine
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungWikiRendererImpl2(de.uplanet.jdbc.JdbcConnection p_conn, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strTableGuid, String p_strHeadlineGuid, String p_strIdGuid, String p_strNewTargetGuid, String p_strMultTargetGuid, String p_strViewTargetGuid, String p_strUserIdGuid) Create a WIKI render object. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidappendApplicationLink(StringBuilder p_sBuf, String p_strAppGuid, String p_strTargetGuid, int p_iRecID, String p_strName, boolean p_bOpenInPopup, boolean p_bHtmlEncode) Will be called in cause of a application linkvoidappendApplicationLink(StringBuilder p_sbuf, String p_strAppGuid, String p_strTargetGuid, int p_iRecId, String p_strName, String p_strAnchor, boolean p_bOpenInPopup, boolean p_bHtmlEncode) Will be called in cause of a linkvoidappendCreateLink(StringBuilder p_sBuf, String p_strTarget, String p_strName, boolean p_bHtmlEncode) voidappendLink(StringBuilder p_sBuf, String p_strTarget, String p_strName, boolean p_bHtmlEncode) voidappendLink(StringBuilder p_sBuf, String p_strTarget, String p_strName, String p_strAnchor, boolean p_bHtmlEncode) Will be called in cause of a linkde.uplanet.lucy.server.auxiliaries.wiki.parser.WikiTransformerGet the rendered Wiki-outputgetWikiLengthLimit(String p_strIn, int p_iLength) Get the rendered Wiki-output (length limited)booleanbooleanbooleanlinkExists(String p_strHeadline) Check if link has a valid targetvoidrenderImage(StringBuilder p_sBuf, String p_strSrc, String p_strName) Will be called in cause of a linkvoidsetCreateLinkColor(String p_strCreateLinkColor) voidsetLinkColor(String p_strLinkColor) voidsetMaxHistory(int p_iHistory)
-
Konstruktordetails
-
WikiRendererImpl2
public WikiRendererImpl2(de.uplanet.jdbc.JdbcConnection p_conn, de.uplanet.lucy.server.engine.http.IWebProcessingContext p_ctx, String p_strTableGuid, String p_strHeadlineGuid, String p_strIdGuid, String p_strNewTargetGuid, String p_strMultTargetGuid, String p_strViewTargetGuid, String p_strUserIdGuid) Create a WIKI render object.- Parameter:
p_conn- The JDBC connectionp_ctx- The context object.p_strTableGuid- The table of the WIKI data groupp_strHeadlineGuid- The Headline-GUID of the articlep_strIdGuid- The LID-GUID of the articlep_strNewTargetGuid- The GUID of the page for new articlesp_strMultTargetGuid- The GUID of the page for multiple search resultsp_strViewTargetGuid- The GUID of the page for viewing an articlep_strUserIdGuid- The user field-GUIDof the WIKI data group
-
-
Methodendetails
-
getWiki
Get the rendered Wiki-output- Parameter:
p_strIn- The String to be rendered- Gibt zurück:
- The rendered Wiki-output
-
getWikiLengthLimit
Get the rendered Wiki-output (length limited)- Parameter:
p_strIn- The String to be renderedp_iLength- The output length (Output length without html code)- Gibt zurück:
- The rendered Wiki-output without
-
appendCreateLink
public void appendCreateLink(StringBuilder p_sBuf, String p_strTarget, String p_strName, boolean p_bHtmlEncode) - Angegeben von:
appendCreateLinkin Schnittstellede.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine
-
appendLink
public void appendLink(StringBuilder p_sBuf, String p_strTarget, String p_strName, boolean p_bHtmlEncode) - Angegeben von:
appendLinkin Schnittstellede.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine
-
appendApplicationLink
public void appendApplicationLink(StringBuilder p_sBuf, String p_strAppGuid, String p_strTargetGuid, int p_iRecID, String p_strName, boolean p_bOpenInPopup, boolean p_bHtmlEncode) Will be called in cause of a application link- Angegeben von:
appendApplicationLinkin Schnittstellede.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine- Parameter:
p_sBuf- The stringbuffer of the output.p_strAppGuid- Guid of the application.p_strTargetGuid- Guid of the fup page.p_iRecID- Record idp_strName- The alias for the link.p_bOpenInPopup- True when link should open in a new popup window
-
appendLink
public void appendLink(StringBuilder p_sBuf, String p_strTarget, String p_strName, String p_strAnchor, boolean p_bHtmlEncode) Will be called in cause of a link- Angegeben von:
appendLinkin Schnittstellede.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine- Parameter:
p_sBuf- The Stringbuffer og the outputp_strTarget- The target headlinep_strName- The alias for the Linkp_strAnchor- The anchor of the Link
-
appendApplicationLink
public void appendApplicationLink(StringBuilder p_sbuf, String p_strAppGuid, String p_strTargetGuid, int p_iRecId, String p_strName, String p_strAnchor, boolean p_bOpenInPopup, boolean p_bHtmlEncode) Will be called in cause of a link- Angegeben von:
appendApplicationLinkin Schnittstellede.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine- Parameter:
p_sbuf- The Stringbuffer og the outputp_strAppGuid- guid of the applicationp_strTargetGuid- guid of the fup pagep_iRecId- recordidp_strName- The alias for the Linkp_strAnchor- The anchor of the Linkp_bOpenInPopup- True when link should open in a new popup window.
-
renderImage
Will be called in cause of a link- Angegeben von:
renderImagein Schnittstellede.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine- Parameter:
p_sBuf- The Stringbuffer of the output.p_strSrc- Source path of image.p_strName- The alias for the link.
-
linkExists
Check if link has a valid target- Angegeben von:
linkExistsin Schnittstellede.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine- Parameter:
p_strHeadline- the headline of the link- Gibt zurück:
- true, if headline has matches
-
hasCreatePermission
public boolean hasCreatePermission()- Angegeben von:
hasCreatePermissionin Schnittstellede.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine
-
hasHistory
public boolean hasHistory() -
setCreateLinkColor
-
setLinkColor
-
setMaxHistory
public void setMaxHistory(int p_iHistory) -
getTransformer
public de.uplanet.lucy.server.auxiliaries.wiki.parser.WikiTransformer getTransformer()- Angegeben von:
getTransformerin Schnittstellede.uplanet.lucy.server.auxiliaries.wiki.IWikiEngine
-