/*
* Copyright (c) 2010-2011 Lockheed Martin Corporation
*
* 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.
*/
package org.eurekastreams.server.action.request.profile;
import java.io.Serializable;
import org.eurekastreams.server.action.request.PageableRequest;
/**
* Request for GetPendingGroups.
*/
public class GetPendingGroupsRequest implements Serializable, PageableRequest
{
/**
* Serial version uid.
*/
private static final long serialVersionUID = -7937312321476475458L;
/**
* The start index for the pending groups.
*/
private Integer startIndex;
/**
* The end index for the pending groups.
*/
private Integer endIndex;
/**
* Empty constructor for serialization.
*/
public GetPendingGroupsRequest()
{
}
/**
* Constructor.
*
* @param inStartIndex
* the starting index of the pending groups
* @param inEndIndex
* the ending index of the pending groups
*/
public GetPendingGroupsRequest(final Integer inStartIndex, final Integer inEndIndex)
{
startIndex = inStartIndex;
endIndex = inEndIndex;
}
/**
* Get the start index for the pending groups.
*
* @return the start index for the pending groups
*/
public Integer getStartIndex()
{
return startIndex;
}
/**
* Set the start index for the pending groups.
*
* @param inStartIndex
* the start index for the pending groups.
*/
public void setStartIndex(final Integer inStartIndex)
{
startIndex = inStartIndex;
}
/**
* Get the end index for the pending groups.
*
* @return the end index for the pending groups.
*/
public Integer getEndIndex()
{
return endIndex;
}
/**
* Set the end index for the pending groups.
*
* @param inEndIndex
* the end index for the pending groups.
*/
public void setEndIndex(final Integer inEndIndex)
{
endIndex = inEndIndex;
}
}