KickJava   Java API By Example, From Geeks To Geeks.

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


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12
//
13
//
14
// NK 24.01.2002 - added in Jahia
15
//
16

17 package org.jahia.services.acl;
18
19
20 /**
21  * This interface defines resources that have an ACL.
22  *
23  * @author Khue Nguyen
24  * @version 1.0
25  */

26 public interface ACLResourceInterface {
27
28     //-------------------------------------------------------------------------
29
/**
30      * Returns the ACL
31      *
32      * @return Return the ACL.
33      */

34     public abstract JahiaBaseACL getACL ();
35
36     //-------------------------------------------------------------------------
37
/**
38      * Returns the acl id
39      *
40      * @return int the acl id. Return -1 if not found
41      */

42     public abstract int getAclID ();
43
44 }
45
46
Popular Tags