Interface GroupService

  • All Known Implementing Classes:
    GroupServiceImpl

    public interface GroupService
    This interface defines all methods for the manipulation of groups
    Author:
    vinod borole
    • Method Detail

      • list

        List<? extends PolicyTargetGroup> list()
        List all policy target group
        Returns:
        List of policy target group
      • list

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

        PolicyTargetGroup get​(String id)
        Get the specified policy target group by ID
        Parameters:
        id - the policy target group id
        Returns:
        policy target group or null if not found
      • delete

        ActionResponse delete​(String id)
        Delete of the policy target group
        Parameters:
        id - the policy target group id
        Returns:
        the action response
      • update

        PolicyTargetGroup update​(String policyTargetGroupId,
                                 PolicyTargetGroupCreate policyTargetGroup)
        Updates an existing policy target group
        Parameters:
        policy - target group identifier
        policy - target group that is be used to updated
        Returns:
        the updated policy target group