Class FormRecordUtils


  • public class FormRecordUtils
    extends Object
    Utility class for form records.
    Since:
    8.2.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • 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.