project BLF > class BSODViolationRule1 > business logic query ViolationsResourcesByRole


Parameters


iiRoleIDinteger


query condition


  each SODViolation1 where
SODViolation1.Role_ID = iiRoleID

      first SODCategory1 (inner-join) where
SODCategory1.SODCategory_ID = SODViolation1.SODCategory1_ID AND

      first SODCategory2 (inner-join) where
SODCategory2.SODCategory_ID = SODViolation1.SODCategory2_ID AND

      first SODExclusion (inner-join) where
SODExclusion.SODCategory1_ID = SODViolation1.SODCategory1_ID AND
SODExclusion.SODCategory2_ID = SODViolation1.SODCategory2_ID AND

      each SODViolation1R (inner-join) where
SODViolation1R.SODViolation1_ID = SODViolation1.SODViolation1_ID AND

          first Resources (inner-join) where
Resources.Resource_ID = SODViolation1R.Resource_ID AND


query resultset tqViolationsResourcesByRole


field namedata typedb fielddescription
tcResourceLabelcharacterResources.ResourceLabelResource Label
tcResourceURIcharacterResources.ResourceURIUniversal Resource Identification
tiSODCategory_IDintegerSODCategory1.SODCategory_IDrecord ID
tiSODCategory_ID1integerSODCategory2.SODCategory_IDrecord ID
tcSODCategoryCode1characterSODCategory1.SODCategoryCodeSOD category code
tcSODCategoryCode2characterSODCategory2.SODCategoryCodeSOD category code
tcSODCategoryDescription1characterSODCategory1.SODCategoryDescriptionSOD category description
tcSODCategoryDescription2characterSODCategory2.SODCategoryDescriptionSOD category description
tcSODExclusionLevelcharacterSODExclusion.SODExclusionLevelExclusion Level
tiSODViolation1RCategoryintegerSODViolation1R.SODViolation1RCategoryCategory nbr (1 or 2)


Internal usage


BLF
method BSODReport.SODViolations