KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > acl > ParentACLFinder


1 package org.jahia.services.acl;
2
3 /**
4  * This interface allows pluggeable ACL parent lookup functionality. This
5  * interface is used when resolving permissions to navigate to an object's
6  * parent object in a graph or hierachy. Various implementations of this
7  * interface can offer various ways of navigating "up" an object hierarchy or
8  * graph.
9  * @author Serge Huber.
10  * @version 1.0
11  */

12 public interface ParentACLFinder {
13
14     /**
15      * Return the parent object of the object passed in parameter.
16      * @param aclResource ACLResourceInterface
17      * @return ACLResourceInterface
18      */

19     public ACLResourceInterface getParent(ACLResourceInterface aclResource);
20
21 }
22
Popular Tags