Class FormRecordHelper
java.lang.Object
de.xima.fc.form_record.FormRecordHelper
helper for working with
form record entities.- Since:
- 8.4.0
- Author:
- XIMA Media GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic de.xima.cmn.criteria.FilterCriteriongetAccessFilter(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.FilterCriterionGet a filter criterion that may be used to filter form records by the user that has access to them.static de.xima.cmn.criteria.FilterCriteriongetFormRecordAccessRefFilter(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.FilterCriterionGet 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.FilterCriteriongetUserFilter(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.FilterCriteriongetUserRefFilterCriterion(String attrName, IUser user) Get a filter criterion that filters may be used to filter form records by the user that submitted them.
-
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 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
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
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
-