Package de.xima.fc.form_record
Class FormRecordHelper
- java.lang.Object
-
- de.xima.fc.form_record.FormRecordHelper
-
public class FormRecordHelper extends Object
helper for working withform record
entities.- Since:
- 8.4.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods 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
getFormRecordAccessFilter(IUser user)
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
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.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
getUserRefFilterCriterion(String attrName, IUser user)
Get a filter criterion that filters may be used to filter form records by the user that submitted them.
-
-
-
Method Detail
-
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 bypropAuthRef
- the name of the user reference attribute to filter bypropProfileUuid
- 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 byformRecordRefProperty
- 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 byaccessConnectionFilter
- 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 byuser
- the user to filter by- Returns:
- the filter criterion
-
-