KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > jetspeed > om > registry > SecurityAllow


1 /*
2  * Copyright 2000-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.apache.jetspeed.om.registry;
18
19 /**
20  * Interface for manipulatin the security entries on the registry entries
21  *
22  *
23  * @author <a HREF="mailto:paulsp@apache.org">Paul Spencer</a>
24  * @author <a HREF="mailto:morciuch@apache.org">Mark Orciuch</a>
25  * @version $Id: SecurityAllow.java,v 1.5 2004/02/23 03:11:39 jford Exp $
26  */

27 public interface SecurityAllow {
28
29     /** Getter for property role.
30      * @return Value of property role.
31      */

32     public String JavaDoc getRole();
33     
34     /** Setter for property role.
35      * @param role New value of property role.
36      */

37     public void setRole(String JavaDoc role);
38
39     /** Getter for property group.
40      * @return Value of property group.
41      */

42     public String JavaDoc getGroup();
43     
44     /** Setter for property group.
45      * @param role New value of property group.
46      */

47     public void setGroup(String JavaDoc group);
48     
49     /** Getter for property user.
50      * @return Value of property user.
51      */

52     public String JavaDoc getUser();
53     
54     /** Setter for property user.
55      * @param user New value of property user.
56      */

57     public void setUser(String JavaDoc user);
58     
59     /** Getter for property owner.
60      * @return Value of property owner.
61      */

62     public boolean isOwner();
63     
64     /** Setter for property owner.
65      * @param owner New value of property owner.
66      */

67     public void setOwner(boolean owner);
68     
69 }
70
Popular Tags