Package org.openstack4j.api.gbp
Interface GroupService
-
- All Known Implementing Classes:
GroupServiceImpl
public interface GroupServiceThis interface defines all methods for the manipulation of groups- Author:
- vinod borole
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyTargetGroupcreate(PolicyTargetGroupCreate policyTargetGroup)Create a new policy target groupActionResponsedelete(String id)Delete of the policy target groupPolicyTargetGroupget(String id)Get the specified policy target group by IDList<? extends PolicyTargetGroup>list()List all policy target groupList<? extends PolicyTargetGroup>list(Map<String,String> filteringParams)Returns list of policy target group filtered by parameters.PolicyTargetGroupupdate(String policyTargetGroupId, PolicyTargetGroupCreate policyTargetGroup)Updates an existing policy target group
-
-
-
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
-
create
PolicyTargetGroup create(PolicyTargetGroupCreate policyTargetGroup)
Create a new policy target group- Parameters:
policy- target group- Returns:
- the newly created policy target group
-
update
PolicyTargetGroup update(String policyTargetGroupId, PolicyTargetGroupCreate policyTargetGroup)
Updates an existing policy target group- Parameters:
policy- target group identifierpolicy- target group that is be used to updated- Returns:
- the updated policy target group
-
-