1 /* 2 * Copyright 2007-2008 The Kuali Foundation 3 * 4 * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php 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 package org.kuali.rice.kew.docsearch; 17 18 import java.io.Serializable; 19 20 /** 21 * This class contains all the information needed for document search, validation and indexing. 22 * 23 * @author Kuali Rice Team (rice.collab@kuali.org) 24 * 25 */ 26 public class DocumentSearchContext implements Serializable { 27 28 protected String documentId; 29 protected String documentTypeName; 30 protected String documentContent; 31 32 /** 33 * @return the documentContent 34 */ 35 public String getDocumentContent() { 36 return this.documentContent; 37 } 38 /** 39 * @param documentContent the documentContent to set 40 */ 41 public void setDocumentContent(String documentContent) { 42 this.documentContent = documentContent; 43 } 44 /** 45 * @return the documentId 46 */ 47 public String getDocumentId() { 48 return this.documentId; 49 } 50 /** 51 * @param documentId the documentId to set 52 */ 53 public void setDocumentId(String documentId) { 54 this.documentId = documentId; 55 } 56 /** 57 * @return the documentTypeName 58 */ 59 public String getDocumentTypeName() { 60 return this.documentTypeName; 61 } 62 /** 63 * @param documentTypeName the documentTypeName to set 64 */ 65 public void setDocumentTypeName(String documentTypeName) { 66 this.documentTypeName = documentTypeName; 67 } 68 69 }