Package de.xima.fc.gui.common.utils
Class FormRecordUtils
- java.lang.Object
-
- de.xima.fc.gui.common.utils.FormRecordUtils
-
public class FormRecordUtils extends Object
Utility class for form records.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getEffectiveSubject(Vorgang formRecord)
Returns the effective subject of a form record.static String
getEffectiveSubject(AppointmentEventView view)
static String
getEffectiveSubject(IFormRecordBaseData formRecord)
Returns the effective subject of a form record.static boolean
isLockedInInbox(Vorgang formRecord)
Checks if a form record is locked in the inbox.static boolean
isLockedInInbox(IFormRecordBaseData formRecord)
Checks if a form record is locked in the inbox.
-
-
-
Method Detail
-
getEffectiveSubject
public static String getEffectiveSubject(AppointmentEventView view)
-
getEffectiveSubject
public static String getEffectiveSubject(Vorgang formRecord)
Returns the effective subject of a form record. If the form record is locked, the subject will be prefixed with the project title and the form record ID as to hide the actual subject, which might contain form record data.- Parameters:
formRecord
- The form record to get the effective subject for.- Returns:
- The effective subject of the form record.
-
getEffectiveSubject
public static String getEffectiveSubject(IFormRecordBaseData formRecord)
Returns the effective subject of a form record. If the form record is locked, the subject will be prefixed with the project title and the form record ID as to hide the actual subject, which might contain form record data.- Parameters:
formRecord
- The form record to get the effective subject for.- Returns:
- The effective subject of the form record.
-
isLockedInInbox
public static boolean isLockedInInbox(Vorgang formRecord)
Checks if a form record is locked in the inbox.- Parameters:
formRecord
- The form record to check.- Returns:
true
if the form record is locked,false
otherwise.
-
isLockedInInbox
public static boolean isLockedInInbox(IFormRecordBaseData formRecord)
Checks if a form record is locked in the inbox.- Parameters:
formRecord
- The form record to check.- Returns:
true
if the form record is locked,false
otherwise.
-
-