Class FormRecordHelper

java.lang.Object
de.xima.fc.form_record.FormRecordHelper

public class FormRecordHelper extends Object
helper for working with form record entities.
Since:
8.4.0
Author:
XIMA Media GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    static de.xima.cmn.criteria.FilterCriterion
    getAccessFilter(IUser user, de.xima.cmn.criteria.FilterCriterion accessConnectionFilter)
    Get a filter criterion that may be used to filter form records by the user that has access to them.
    static de.xima.cmn.criteria.FilterCriterion
    Get a filter criterion that may be used to filter form records by the user that has access to them.
    static de.xima.cmn.criteria.FilterCriterion
    getFormRecordAccessRefFilter(IUser user, String formRecordRefProperty)
    Get a filter criterion that may be used to filter form records by the user that has access to them.
    static de.xima.cmn.criteria.FilterCriterion
    Get a filter criterion that may be used to filter form record data`s by the user that has access to them.
    static de.xima.cmn.criteria.FilterCriterion
    getUserFilter(IUser user, String propAuthRef, String propProfileUuid)
    Get a filter criterion that may be used to filter form records by the user that submitted them.
    static de.xima.cmn.criteria.FilterCriterion
    Get a filter criterion that filters may be used to filter form records by the user that submitted them.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getUserFilter

      public static de.xima.cmn.criteria.FilterCriterion getUserFilter(IUser user, String propAuthRef, String propProfileUuid)
      Get a filter criterion that may be used to filter form records by the user that submitted them.
      Parameters:
      user - the user to filter by
      propAuthRef - the name of the user reference attribute to filter by
      propProfileUuid - the name of the profile UUID attribute to filter by
      Returns:
      the filter criterion
    • getFormRecordAccessRefFilter

      public static de.xima.cmn.criteria.FilterCriterion getFormRecordAccessRefFilter(IUser user, String formRecordRefProperty)
      Get a filter criterion that may be used to filter form records by the user that has access to them.
      Parameters:
      user - the user to filter by
      formRecordRefProperty - the name of the form record reference property
      Returns:
      the filter criterion
    • getFormRecordAccessFilter

      public static de.xima.cmn.criteria.FilterCriterion getFormRecordAccessFilter(IUser user)
      Get a filter criterion that may be used to filter form records by the user that has access to them.
      Parameters:
      user - the user to filter by
      Returns:
      the filter criterion
    • getFormRecordDataAccessFilter

      public static de.xima.cmn.criteria.FilterCriterion getFormRecordDataAccessFilter(IUser user)
      Get a filter criterion that may be used to filter form record data`s by the user that has access to them.
      Parameters:
      user - the user to filter by
      Returns:
      the filter criterion
    • getAccessFilter

      public static de.xima.cmn.criteria.FilterCriterion getAccessFilter(IUser user, de.xima.cmn.criteria.FilterCriterion accessConnectionFilter)
      Get a filter criterion that may be used to filter form records by the user that has access to them.
      Parameters:
      user - the user to filter by
      accessConnectionFilter - the filter criterion for the connection to the access entity
      Returns:
      the filter criterion
    • getUserRefFilterCriterion

      public static de.xima.cmn.criteria.FilterCriterion getUserRefFilterCriterion(String attrName, IUser user)
      Get a filter criterion that filters may be used to filter form records by the user that submitted them.
      Parameters:
      attrName - the name of the attribute to filter by
      user - the user to filter by
      Returns:
      the filter criterion