Interface CxTriggerDao

    • Method Detail

      • findTriggers

        java.util.Collection<CxAbstractTriggerModel> findTriggers​(CxVariationModel variation)
        Finds all triggers for given variation
        Parameters:
        variation - parent variation
        Returns:
        collection of CxAbstractTriggerModel (may be empty)
      • findTriggerByCode

        java.util.Optional<CxAbstractTriggerModel> findTriggerByCode​(java.lang.String code,
                                                                     CxVariationModel variation)
        Finds trigger with given code
        Parameters:
        code - trigger identifier
        variation - parent variation
        Returns:
        Optional with trigger or optional.empty if nothing was found