/** * Copyright (c) 2008-2012 The Sakai Foundation * * Licensed under the Educational Community 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.osedu.org/licenses/ECL-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.sakaiproject.profile2.tool.models; import java.io.Serializable; import lombok.Data; import lombok.NoArgsConstructor; import org.apache.wicket.Component; /** * Simple model to back the action behind adding/removing/confirming/ignoring friend requests * Given to the modal windows, they then set the attributes and the calling page knows what to do based on these attributes. * To be used ONLY by the Profile2 tool. * * <p>DO NOT USE THIS YOURSELF.</p> * * @author Steve Swinsburg (s.swinsburg@lancaster.ac.uk) */ @Data @NoArgsConstructor public class FriendAction implements Serializable { private static final long serialVersionUID = 1L; private boolean requested; private boolean confirmed; private boolean removed; private boolean ignored; private Component updateThisComponentOnSuccess; }