1 /* 2 * Copyright 2010 James Pether Sörling 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 * 16 * $Id$ 17 * $HeadURL$ 18 */ 19 package com.hack23.cia.service.api.action.user; 20 21 import com.hack23.cia.service.api.action.common.AbstractRequest; 22 23 24 /** 25 * The Class DocumentWordCountRequest. 26 */ 27 public final class DocumentWordCountRequest extends AbstractRequest { 28 29 /** The Constant serialVersionUID. */ 30 private static final long serialVersionUID = 1L; 31 32 /** The session id. */ 33 private String sessionId; 34 35 /** The document id. */ 36 private String documentId; 37 38 /** The max results. */ 39 private int maxResults; 40 41 /** 42 * Instantiates a new document word count request. 43 */ 44 public DocumentWordCountRequest() { 45 super(); 46 } 47 48 /** 49 * Gets the session id. 50 * 51 * @return the session id 52 */ 53 public String getSessionId() { 54 return sessionId; 55 } 56 57 /** 58 * Sets the session id. 59 * 60 * @param sessionId 61 * the new session id 62 */ 63 public void setSessionId(String sessionId) { 64 this.sessionId = sessionId; 65 } 66 67 /** 68 * Gets the max results. 69 * 70 * @return the max results 71 */ 72 public int getMaxResults() { 73 return maxResults; 74 } 75 76 /** 77 * Sets the max results. 78 * 79 * @param maxResults 80 * the new max results 81 */ 82 public void setMaxResults(int maxResults) { 83 this.maxResults = maxResults; 84 } 85 86 /** 87 * Gets the document content. 88 * 89 * @return the document content 90 */ 91 public String getDocumentId() { 92 return documentId; 93 } 94 95 /** 96 * Sets the document content. 97 * 98 * @param documentId 99 * the new document content 100 */ 101 public void setDocumentId(String documentId) { 102 this.documentId = documentId; 103 } 104 105 }