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
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic final StringidAndComment(Object object) A string containing object's comment, caseobjectimplementsCommentinterface and mandatory the object's ID.static final StringprocessCreatedAndClosed(Localizer l, Process process) Localized text with process creation and closing timesstatic final StringselectSingleSourceJson(Collection<IdTitle<?>> list, Set<?> availableIdSet, List<?> availableIdList, Map<Integer, IdTitle<?>> map, boolean showId, boolean showComment) JSON source forui:select-singleJSP 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-singleJSP 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, caseobjectimplementsCommentinterface and mandatory the object's ID.- Parameters:
 object- the object, must implementId- Returns:
 
 
 -