/*
* 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.persistence.mappers.requests;
/**
* Mapper request to get a activity subscription preference for a user's followed stream.
*/
public class GetStreamActivitySubscriptionMapperRequest
{
/**
* The id of the person subscribing.
*/
private long subscriberPersonId;
/**
* The id of the stream's entity (person/group).
*/
private long streamEntityId;
/**
* Constructor.
*
* @param inSubscriberPersonId
* the person id
* @param inStreamEntityId
* the stream's entity's id
*/
public GetStreamActivitySubscriptionMapperRequest(final long inSubscriberPersonId, final long inStreamEntityId)
{
subscriberPersonId = inSubscriberPersonId;
streamEntityId = inStreamEntityId;
}
/**
* @return the personId
*/
public long getSubscriberPersonId()
{
return subscriberPersonId;
}
/**
* @param inPersonId
* the personId to set
*/
public void setSubscriberPersonId(final long inPersonId)
{
subscriberPersonId = inPersonId;
}
/**
* @return the StreamEntityId
*/
public long getStreamEntityId()
{
return streamEntityId;
}
/**
* @param inStreamEntityId
* the StreamEntityID to set
*/
public void setStreamEntityId(final long inStreamEntityId)
{
streamEntityId = inStreamEntityId;
}
}