| java.lang.Object org.jaffa.components.maint.MaintTx
MaintTx | public class MaintTx (Code) | | This is the helper class for all Maintenance Tx (transaction) classes.
It is provided to support repetitive functions.
author: GautamJ |
Method Summary | |
public static String | addCommentWithStamp(String originalComment, String additionalComment, boolean lifo, HeaderDto headerDto) This is a helper for combining old and additional comments.
A stamp containing the userId and current time will be inserted before the additional comment.
The additional comment will be inserted before the old comment if 'lifo' is true, otherwise it'll be appended.
Parameters: originalComment - The original comment. Parameters: additionalComment - The additional comment. Parameters: lifo - This determines if the additional comment is inserted before or appended after the old comment. Parameters: headerDto - The headerDto containing the userId. |
addCommentWithStamp | public static String addCommentWithStamp(String originalComment, String additionalComment, boolean lifo, HeaderDto headerDto)(Code) | | This is a helper for combining old and additional comments.
A stamp containing the userId and current time will be inserted before the additional comment.
The additional comment will be inserted before the old comment if 'lifo' is true, otherwise it'll be appended.
Parameters: originalComment - The original comment. Parameters: additionalComment - The additional comment. Parameters: lifo - This determines if the additional comment is inserted before or appended after the old comment. Parameters: headerDto - The headerDto containing the userId. The combination of the old comment and the additional comment. |
|
|