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/Preference.java $
003: * $Id: Preference.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 Preference {
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 preference.
053: */
054: String getPreference();
055:
056: /**
057: * @param preference
058: * The preference to set.
059: */
060: void setPreference(String preference);
061:
062: /**
063: * @return Returns the user.
064: */
065: String getUserid();
066:
067: /**
068: * @param user
069: * The user to set.
070: */
071: void setUserid(String user);
072:
073: /**
074: * The context of the preference
075: *
076: * @return
077: */
078: String getPrefcontext();
079:
080: /**
081: * The context of the perfernece
082: *
083: * @param prefcontext
084: */
085: void setPrefcontext(String prefcontext);
086:
087: /**
088: * The type of the preference
089: *
090: * @return
091: */
092: String getPreftype();
093:
094: /**
095: * The type of the preference
096: *
097: * @param preftype
098: */
099: void setPreftype(String preftype);
100:
101: }
|