edu.internet2.middleware.grouper.ws.rest.group.WsRestFindGroupsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper-ws Show documentation
Show all versions of grouper-ws Show documentation
Internet2 Groups Management WS Core
/*******************************************************************************
*
* Copyright 2012 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
/*
* @author mchyzer
* $Id: WsRestFindGroupsRequest.java,v 1.2 2009-12-15 06:47:27 mchyzer Exp $
*/
package edu.internet2.middleware.grouper.ws.rest.group;
import edu.internet2.middleware.grouper.ws.GrouperServiceLogic;
import edu.internet2.middleware.grouper.ws.coresoap.WsGroupLookup;
import edu.internet2.middleware.grouper.ws.coresoap.WsParam;
import edu.internet2.middleware.grouper.ws.coresoap.WsQueryFilter;
import edu.internet2.middleware.grouper.ws.coresoap.WsSubjectLookup;
import edu.internet2.middleware.grouper.ws.rest.WsRequestBean;
import edu.internet2.middleware.grouper.ws.rest.method.GrouperRestHttpMethod;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* bean that will be the data from rest request
* @see GrouperServiceLogic#getGroups(edu.internet2.middleware.grouper.ws.GrouperWsVersion, WsSubjectLookup[], edu.internet2.middleware.grouper.ws.member.WsMemberFilter, WsSubjectLookup, boolean, boolean, String[], WsParam[])
* for method
*/
@ApiModel(description = "bean that will be the data from rest request for finding groups
actAsSubjectLookup: If allowed to act as other users (e.g. if a UI uses the Grouper WS behind the scenes), specify the user to act as here
"
+ "
wsQueryFilter: query filter for request
"
+ "
params: optional params for this request
"
+ "
sGroupLookups: if you want to just pass in a list of uuids and/or names
")
public class WsRestFindGroupsRequest implements WsRequestBean {
/** query filter for request */
private WsQueryFilter wsQueryFilter;
/** field */
private String clientVersion;
/** field */
private WsSubjectLookup actAsSubjectLookup;
/** field */
private String includeGroupDetail;
/** field */
private WsParam[] params;
/** wsGroupLookups if you want to just pass in a list of uuids and/or names. Note the groups are returned
* in alphabetical order */
private WsGroupLookup[] wsGroupLookups;
/**
* wsGroupLookups if you want to just pass in a list of uuids and/or names. Note the groups are returned
* in alphabetical order
* @return group lookups
*/
@ApiModelProperty(value = "wsGroupLookups if you want to just pass in a list of uuids and/or names. Note the groups are returned in alphabetical order")
public WsGroupLookup[] getWsGroupLookups() {
return this.wsGroupLookups;
}
/**
* wsGroupLookups if you want to just pass in a list of uuids and/or names. Note the groups are returned
* in alphabetical order
* @param wsGroupLookups1
*/
public void setWsGroupLookups(WsGroupLookup[] wsGroupLookups1) {
this.wsGroupLookups = wsGroupLookups1;
}
/**
* @return the clientVersion
*/
@ApiModelProperty(value = "Version of the client (i.e. that the client was coded against)", example = "v2_6_001")
public String getClientVersion() {
return this.clientVersion;
}
/**
* @param clientVersion1 the clientVersion to set
*/
public void setClientVersion(String clientVersion1) {
this.clientVersion = clientVersion1;
}
/**
* @return the actAsSubjectLookup
*/
@ApiModelProperty(value = "If allowed to act as other users (e.g. if a UI uses the Grouper WS behind the scenes), specify the user to act as here")
public WsSubjectLookup getActAsSubjectLookup() {
return this.actAsSubjectLookup;
}
/**
* @param actAsSubjectLookup1 the actAsSubjectLookup to set
*/
public void setActAsSubjectLookup(WsSubjectLookup actAsSubjectLookup1) {
this.actAsSubjectLookup = actAsSubjectLookup1;
}
/**
* @return the includeGroupDetail
*/
@ApiModelProperty(value = "If the group detail should be returned, default to false", example = "T|F")
public String getIncludeGroupDetail() {
return this.includeGroupDetail;
}
/**
* @param includeGroupDetail1 the includeGroupDetail to set
*/
public void setIncludeGroupDetail(String includeGroupDetail1) {
this.includeGroupDetail = includeGroupDetail1;
}
/**
* @return the params
*/
@ApiModelProperty(value = "Optional params for this request", example = "NA")
public WsParam[] getParams() {
return this.params;
}
/**
* @param params1 the params to set
*/
public void setParams(WsParam[] params1) {
this.params = params1;
}
/**
* @see edu.internet2.middleware.grouper.ws.rest.WsRequestBean#retrieveRestHttpMethod()
*/
public GrouperRestHttpMethod retrieveRestHttpMethod() {
return GrouperRestHttpMethod.GET;
}
/**
* query filter for request
* @return the wsQueryFilter
*/
@ApiModelProperty(value = "Query filter for request", example = "")
public WsQueryFilter getWsQueryFilter() {
return this.wsQueryFilter;
}
/**
* query filter for request
* @param wsQueryFilter1 the wsQueryFilter to set
*/
public void setWsQueryFilter(WsQueryFilter wsQueryFilter1) {
this.wsQueryFilter = wsQueryFilter1;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy