01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/help/tags/sakai_2-4-1/help-tool/src/java/org/sakaiproject/tool/help/HelpTool.java $
03: * $Id: HelpTool.java 7653 2006-04-12 12:10:02Z marquard@ched.uct.ac.za $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2003, 2004 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.tool.help;
21:
22: import org.sakaiproject.api.app.help.HelpManager;
23: import org.sakaiproject.api.app.help.Resource;
24:
25: /**
26: * help tool
27: * @version $Id: HelpTool.java 7653 2006-04-12 12:10:02Z marquard@ched.uct.ac.za $
28: */
29: public class HelpTool {
30: private HelpManager helpManager;
31: private Resource resource;
32: private String docId;
33:
34: /**
35: * get help doc id
36: * @return Returns the helpDocId.
37: */
38: public String getHelpDocId() {
39: return docId;
40: }
41:
42: /**
43: * set help doc id
44: * @param docId The docId to set.
45: */
46: public void setDocId(String helpDocId) {
47: this .docId = helpDocId;
48: }
49:
50: /**
51: * set resource
52: * @param resource The resource to set.
53: */
54: public void setResource(Resource resource) {
55: this .resource = resource;
56: }
57:
58: /**
59: * get help manager
60: * @return Returns the helpManager.
61: */
62: public HelpManager getHelpManager() {
63: return helpManager;
64: }
65:
66: /**
67: * set help manager
68: * @param helpManager The helpManager to set.
69: */
70: public void setHelpManager(HelpManager helpManager) {
71: this.helpManager = helpManager;
72: }
73: }
|