Package sk.iway.iwcm.common
Class EditorToolsForCore
java.lang.Object
sk.iway.iwcm.common.EditorToolsForCore
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic EditForm
fillEditFormFromFile
(String dir, String file, boolean alsoData, Identity user) naplni EditForm zo suboru zadaneho pomocou dir,filestatic String
getDataAsc
(String data, EditorForm ef) Pripravi data_asc pre full text hladanie (ak vkladate do DB priamo - mimo saveEditorForm)static String
getDataAsc
(String data, EditorForm ef, boolean isLucene) static String
getDataAsc
(String data, EditorForm ef, boolean isLucene, javax.servlet.http.HttpServletRequest request) static String
removeCommandKeepLength
(String html_text, String commandStart, String commandEnd) Odstrani z HTML kodu riadiace bloky typu !INCLUDE(...)!, !PARAM(...)!, pricom zachova dlzku retazcastatic String
removeHtmlTagsKeepLength
(String html_text) Remove from string html tags and keep the length of stringstatic String
renderIncludes
(String data, boolean addInternationalToEnglishSection, javax.servlet.http.HttpServletRequest request) static String
renderIncludes
(DocDetails doc, boolean addInternationalToEnglishSection, javax.servlet.http.HttpServletRequest request) static void
setVirtualPath
(EditorForm my_form) Nastavi formu virtualPath
-
Field Details
-
RENDER_DATA_SEPARATOR
-
-
Method Details
-
setVirtualPath
Nastavi formu virtualPath- Parameters:
my_form
-
-
getDataAsc
public static String getDataAsc(String data, EditorForm ef, boolean isLucene, javax.servlet.http.HttpServletRequest request) -
renderIncludes
public static String renderIncludes(DocDetails doc, boolean addInternationalToEnglishSection, javax.servlet.http.HttpServletRequest request) -
renderIncludes
-
removeHtmlTagsKeepLength
Remove from string html tags and keep the length of string -
removeCommandKeepLength
public static String removeCommandKeepLength(String html_text, String commandStart, String commandEnd) Odstrani z HTML kodu riadiace bloky typu !INCLUDE(...)!, !PARAM(...)!, pricom zachova dlzku retazca -
getDataAsc
Pripravi data_asc pre full text hladanie (ak vkladate do DB priamo - mimo saveEditorForm)- Parameters:
data
-ef
-- Returns:
-
getDataAsc
-
fillEditFormFromFile
public static EditForm fillEditFormFromFile(String dir, String file, boolean alsoData, Identity user) naplni EditForm zo suboru zadaneho pomocou dir,file- Returns:
-