KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portlet > forums > security > ForumsSecurityConstants


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portlet.forums.security;
10
11 /**
12  * @author <a HREF="mailto:theute@jboss.org">Thomas Heute </a>
13  * @version $Revision: 1.1 $
14  */

15 public class ForumsSecurityConstants
16 {
17    public static final String JavaDoc READ = "Read";
18    public static final String JavaDoc ADD = "Add";
19    public static final String JavaDoc EDIT = "Edit";
20    public static final String JavaDoc DELETE = "Delete";
21    public static final String JavaDoc ADMIN = "Admin";
22    
23    public static final String JavaDoc READCATEGORY = "ReadCategory";
24    public static final String JavaDoc ADDFORUMINCATEGORY = "AddForumInCategory";
25    public static final String JavaDoc DELETEFORUMINCATEGORY = "DeleteForumInCategory";
26    public static final String JavaDoc EDITFORUMINCATEGORY = "EditForumInCategory";
27    public static final String JavaDoc ADMINCATEGORY = "AdminCategory";
28    
29    public static final String JavaDoc READFORUM = "ReadForum";
30    public static final String JavaDoc ADDPOSTINFORUM = "AddPostInForum";
31    public static final String JavaDoc EDITPOSTINFORUM = "EditPostInForum";
32    public static final String JavaDoc DELETEPOSTINFORUM = "DeletePostInForum";
33    public static final String JavaDoc MODERATEFORUM = "ModerateForum";
34    public static final String JavaDoc ADMINFORUM = "AdminForum";
35    
36    
37    
38    
39 }
40
Popular Tags