Interface PolicyRuleSetService

    • Method Detail

      • list

        List<? extends PolicyRuleSet> list()
        List all policy rule set
        Returns:
        List of policy rule set
      • list

        List<? extends PolicyRuleSet> list​(Map<String,​String> filteringParams)
        Returns list of policy rule set filtered by parameters.
        Parameters:
        filteringParams - map (name, value) of filtering parameters
      • get

        PolicyRuleSet get​(String id)
        Get the specified policy rule set by ID
        Parameters:
        id - the policy rule set id
        Returns:
        policy rule set or null if not found
      • delete

        ActionResponse delete​(String id)
        Delete of the policy rule set
        Parameters:
        id - the policy rule set id
        Returns:
        the rule set response
      • create

        PolicyRuleSet create​(PolicyRuleSet policyRuleSet)
        Create a new policy rule set
        Parameters:
        policy - rule set
        Returns:
        the newly created policy rule set
      • update

        PolicyRuleSet update​(String policyRuleSetId,
                             PolicyRuleSet policyRuleSet)
        Updates an existing policy rule set
        Parameters:
        policy - rule set identifier
        policy - rule set that is be used to updated
        Returns:
        the updated policy rule set