01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/chat/tags/sakai_2-4-1/chat-api/api/src/java/org/sakaiproject/chat2/model/ChatFunctions.java $
03: * $Id: ChatFunctions.java 22637 2007-03-14 20:34:28Z chmaurer@iupui.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 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.chat2.model;
21:
22: /**
23: * These are the permissions for reporting. Reporting uses the sakai permission manager
24: * and not the osp permission manager. Meta object uses the sakai permission manager as well.
25: * The labels on the page are drawn from the function string minus the prefix.
26: *
27: * Apparently, when labelling a permission with more than one word, then a period is used as
28: * the spacer.
29: *
30: * User: John Ellis
31: * Date: Jan 7, 2006
32: * Time: 12:43:30 AM
33: * To change this template use File | Settings | File Templates.
34: */
35: public interface ChatFunctions {
36: public static final String CHAT_FUNCTION_PREFIX = "chat.";
37:
38: public static final String CHAT_FUNCTION_READ = CHAT_FUNCTION_PREFIX
39: + "read";
40: public static final String CHAT_FUNCTION_NEW = CHAT_FUNCTION_PREFIX
41: + "new";
42: public static final String CHAT_FUNCTION_DELETE_PREFIX = CHAT_FUNCTION_PREFIX
43: + "delete.";
44: public static final String CHAT_FUNCTION_DELETE_OWN = CHAT_FUNCTION_DELETE_PREFIX
45: + "own";
46: public static final String CHAT_FUNCTION_DELETE_ANY = CHAT_FUNCTION_DELETE_PREFIX
47: + "any";
48:
49: public static final String CHAT_FUNCTION_DELETE_CHANNEL = CHAT_FUNCTION_DELETE_PREFIX
50: + "channel";
51: public static final String CHAT_FUNCTION_NEW_CHANNEL = CHAT_FUNCTION_PREFIX
52: + "new.channel";
53: public static final String CHAT_FUNCTION_EDIT_CHANNEL = CHAT_FUNCTION_PREFIX
54: + "revise.channel";
55: }
|