Package de.xima.fc.mdl.form.record
Class DefaultFD2ConditionsFactory
- java.lang.Object
- 
- de.xima.fc.form.common.factory.XItemConditionsFactory
- 
- de.xima.fc.mdl.form.record.DefaultFD2ConditionsFactory
 
 
- 
- Direct Known Subclasses:
- DefaultFD2ConditionsFactory
 
 public class DefaultFD2ConditionsFactory extends XItemConditionsFactory Helper for creating aXItemConditionsWrapperbased on the data of a form record.- Author:
- XIMA MEDIA GmbH
 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultFD2ConditionsFactory()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static XItemConditionsWrappergetDefaultXItemConditions(boolean usesNewWorkflow, Object workflowState, List<BenutzerGruppe> userGroups)Gets anXItemConditionsWrapperthat evaluates item conditions in the scope of the given workflow state and user groups.static XItemConditionsWrappergetDefaultXItemConditions(Vorgang formRecord, List<BenutzerGruppe> userGroups)static XItemConditionsWrappergetDefaultXItemConditions(IFormRenderContext ctx)static XItemConditionsWrappergetEmptyXItemConditions()- 
Methods inherited from class de.xima.fc.form.common.factory.XItemConditionsFactoryemptyConditions
 
- 
 
- 
- 
- 
Method Detail- 
getDefaultXItemConditionspublic static XItemConditionsWrapper getDefaultXItemConditions(Vorgang formRecord, List<BenutzerGruppe> userGroups) 
 - 
getDefaultXItemConditionspublic static XItemConditionsWrapper getDefaultXItemConditions(boolean usesNewWorkflow, Object workflowState, List<BenutzerGruppe> userGroups) Gets anXItemConditionsWrapperthat evaluates item conditions in the scope of the given workflow state and user groups.- Parameters:
- usesNewWorkflow- Whether the form uses the new or old workflow.
- workflowState- The current workflow state of the form record, if any. Should be an instance of either- Statusor- WorkflowState, or- nullwhen the form record does not have a state or no form record exists yet.
- userGroups- User groups of the current user.
- Returns:
- An item conditions wrapper that checks the user and state restrictions of a form field items against the given workflow state and user groups.
 
 - 
getEmptyXItemConditionspublic static XItemConditionsWrapper getEmptyXItemConditions() 
 - 
getDefaultXItemConditionspublic static XItemConditionsWrapper getDefaultXItemConditions(IFormRenderContext ctx) 
 
- 
 
-