01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/assignment/tags/taggable_sakai_2-4-1/api/TaggableActivity.java $
03: * $Id: TaggableActivity.java 21094 2007-02-07 17:55:07Z jmpease@syr.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2006, 2007 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.assignment.taggable.api;
21:
22: /**
23: * An activity that can be tagged.
24: *
25: * @author The Sakai Foundation.
26: */
27: public interface TaggableActivity {
28:
29: /**
30: * Method to get the base object that is wrapped as an activity.
31: *
32: * @return The base object.
33: */
34: public Object getObject();
35:
36: /**
37: * @return A reference for this activity. This needs to return a valid
38: * reference to an activity.
39: */
40: public String getReference();
41:
42: /**
43: * @return A title for this activity.
44: */
45: public String getTitle();
46:
47: /**
48: * @return A description for this activity.
49: */
50: public String getDescription();
51:
52: /**
53: * @return The context of this activity.
54: */
55: public String getContext();
56:
57: /**
58: * @return This activity's producer.
59: */
60: public TaggableActivityProducer getProducer();
61: }
|