createRestriction(Restriction, List< String >, List< Integer >, List< String >, List< Integer >, List< Integer >, List< RestrictionRule >, long) method

Creates a new Restriction and registers it with the provided OrgUnits and Risk Categories.

Syntax

long createRestriction ( Restriction restriction , List< String > forOrgUnits , List< Integer > forRiskCategories , List< String > onOrgUnits , List< Integer > onRiskCategories , List< Integer > onUseCases , List< RestrictionRule > restrictionRules , long callerId )

Parameters