001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/rwiki/tags/sakai_2-4-1/rwiki-api/api/src/java/uk/ac/cam/caret/sakai/rwiki/service/message/api/model/Message.java $
003: * $Id: Message.java 9108 2006-05-08 14:30:57Z ian@caret.cam.ac.uk $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
007: *
008: * Licensed under the Educational Community License, Version 1.0 (the "License");
009: * you may not use this file except in compliance with the License.
010: * You may obtain a copy of the License at
011: *
012: * http://www.opensource.org/licenses/ecl1.php
013: *
014: * Unless required by applicable law or agreed to in writing, software
015: * distributed under the License is distributed on an "AS IS" BASIS,
016: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017: * See the License for the specific language governing permissions and
018: * limitations under the License.
019: *
020: **********************************************************************************/package uk.ac.cam.caret.sakai.rwiki.service.message.api.model;
021:
022: import java.util.Date;
023:
024: /**
025: * @author ieb
026: */
027: public interface Message {
028:
029: /**
030: * @return Returns the id.
031: */
032: String getId();
033:
034: /**
035: * @param id
036: * The id to set.
037: */
038: void setId(String id);
039:
040: /**
041: * @return Returns the lastseen.
042: */
043: Date getLastseen();
044:
045: /**
046: * @param lastseen
047: * The lastseen to set.
048: */
049: void setLastseen(Date lastseen);
050:
051: /**
052: * @return Returns the message.
053: */
054: String getMessage();
055:
056: /**
057: * @param message
058: * The message to set.
059: */
060: void setMessage(String message);
061:
062: /**
063: * @return Returns the pagename.
064: */
065: String getPagename();
066:
067: /**
068: * @param pagename
069: * The pagename to set.
070: */
071: void setPagename(String pagename);
072:
073: /**
074: * @return Returns the pagespace.
075: */
076: String getPagespace();
077:
078: /**
079: * @param pagespace
080: * The pagespace to set.
081: */
082: void setPagespace(String pagespace);
083:
084: /**
085: * @return Returns the sessionid.
086: */
087: String getSessionid();
088:
089: /**
090: * @param sessionid
091: * The sessionid to set.
092: */
093: void setSessionid(String sessionid);
094:
095: /**
096: * @return Returns the user.
097: */
098: String getUser();
099:
100: /**
101: * @param user
102: * The user to set.
103: */
104: void setUser(String user);
105:
106: }
|