Package org.bgerp.app.servlet.jsp
Class UiFunction
java.lang.Object
org.bgerp.app.servlet.jsp.UiFunction
Methods called in JSP files from
ui
object-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final String
idAndComment
(Object object) A string containing object's comment, caseobject
implementsComment
interface and mandatory the object's ID.static final String
processCreatedAndClosed
(Localizer l, Process process) Localized text with process creation and closing timesstatic final String
selectSingleSourceJson
(Collection<IdTitle<?>> list, Set<?> availableIdSet, List<?> availableIdList, Map<Integer, IdTitle<?>> map, boolean showId, boolean showComment) JSON source forui:select-single
JSP tag
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
UiFunction
public UiFunction()
-
-
Method Details
-
selectSingleSourceJson
public static final String selectSingleSourceJson(Collection<IdTitle<?>> list, Set<?> availableIdSet, List<?> availableIdList, Map<Integer, IdTitle<?>> map, boolean showId, boolean showComment) throws com.fasterxml.jackson.core.JsonProcessingExceptionJSON source forui:select-single
JSP tag- Parameters:
list
-availableIdSet
-availableIdList
-map
-showId
-showComment
-- Returns:
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
processCreatedAndClosed
Localized text with process creation and closing times- Parameters:
l
-process
-- Returns:
-
idAndComment
A string containing object's comment, caseobject
implementsComment
interface and mandatory the object's ID.- Parameters:
object
- the object, must implementId
- Returns:
-