blob: ccaaaf37af1d3d099eb9ae8f170acd94c0ad9754 [file] [log] [blame]
Shuyi Chend7955ce2013-05-22 14:51:55 -07001/**
2 * $Revision$
3 * $Date$
4 *
5 * Copyright 2003-2007 Jive Software.
6 *
7 * All rights reserved. Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20package org.jivesoftware.smackx.workgroup.agent;
21
22/**
23 * Requests made by users to get support by some agent.
24 *
25 * @author Gaston Dombiak
26 */
27public class UserRequest extends OfferContent {
28 // TODO Do we want to use a singleton? Should we store the userID here?
29 private static UserRequest instance = new UserRequest();
30
31 public static OfferContent getInstance() {
32 return instance;
33 }
34
35 boolean isUserRequest() {
36 return true;
37 }
38
39 boolean isInvitation() {
40 return false;
41 }
42
43 boolean isTransfer() {
44 return false;
45 }
46
47}