01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/osp/tags/sakai_2-4-1/reports/api/src/java/org/theospi/portfolio/reports/model/ReportFunctions.java $
03: * $Id: ReportFunctions.java 22052 2007-03-01 21:17:33Z bbiltimier@rsmart.com $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2005, 2006 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.theospi.portfolio.reports.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 ReportFunctions {
36: public static final String REPORT_FUNCTION_PREFIX = "osp.reports.";
37:
38: public static final String REPORT_FUNCTION_CREATE = REPORT_FUNCTION_PREFIX
39: + "create";
40: public static final String REPORT_FUNCTION_RUN = REPORT_FUNCTION_PREFIX
41: + "run";
42: public static final String REPORT_FUNCTION_VIEW = REPORT_FUNCTION_PREFIX
43: + "view";
44: public static final String REPORT_FUNCTION_EDIT = REPORT_FUNCTION_PREFIX
45: + "edit";
46: public static final String REPORT_FUNCTION_DELETE = REPORT_FUNCTION_PREFIX
47: + "delete";
48: public static final String REPORT_FUNCTION_SHARE = REPORT_FUNCTION_PREFIX
49: + "share";
50: }
|