KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portlets > content > JCRACL


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.portlets.content;
6
7 import org.exoplatform.portlets.content.explorer.component.model.NodeDescriptor;
8 /**
9  * Sat, Jan 03, 2004 @ 11:16
10  * @author: Tuan Nguyen
11  * @email: tuan08@users.sourceforge.net
12  * @version: $Id: JCRACL.java,v 1.3 2004/07/16 09:51:34 oranheim Exp $
13  */

14 public class JCRACL implements ACL {
15   
16   public JCRACL() {
17   }
18     
19   public boolean hasReadRole(NodeDescriptor node) {
20     return true ;
21   }
22   
23   public boolean hasWriteRole(NodeDescriptor node) {
24     return false ;
25   }
26 }
27
Popular Tags