KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > data > beans > ActionURIBean


1 package org.jahia.data.beans;
2
3 /**
4  * <p>Title: Jahia Action URI bean </p>
5  * <p>Description: This object contains data relative to an action available on
6  * an object in a Jahia system. We used to have only URIs to perform actions
7  * in Jahia, but here we need more information such as a unique name identifier
8  * which can be used to lookup icons, resource bundle keys, etc... </p>
9  * <p>Copyright: Copyright (c) 2002</p>
10  * <p>Company: Jahia Ltd</p>
11  * @author Serge Huber
12  * @version 1.0
13  */

14
15 public class ActionURIBean {
16     private String JavaDoc name;
17     private String JavaDoc uri;
18     private String JavaDoc launcherUri;
19     private boolean authorized = true;
20     private boolean locked = false;
21     private boolean releaseable = true;
22
23     /**
24      * Empty parameter constructor to respect JavaBean pattern.
25      */

26     public ActionURIBean() {
27     }
28
29     public ActionURIBean(String JavaDoc name, String JavaDoc uri, String JavaDoc launcherUri) {
30         this.name = name;
31         this.uri = uri;
32         this.launcherUri = launcherUri;
33     }
34
35     public String JavaDoc getName() {
36         return name;
37     }
38     public void setName(String JavaDoc name) {
39         this.name = name;
40     }
41     public String JavaDoc getUri() {
42         return uri;
43     }
44     public void setUri(String JavaDoc uri) {
45         this.uri = uri;
46     }
47     public String JavaDoc getLauncherUri() {
48         return launcherUri;
49     }
50     public void setLauncherUri(String JavaDoc launcherUri) {
51         this.launcherUri = launcherUri;
52     }
53     public boolean isAuthorized() {
54         return authorized;
55     }
56     public void setAuthorized(boolean authorized) {
57         this.authorized = authorized;
58     }
59     public boolean isLocked() {
60         return locked;
61     }
62     public void setLocked(boolean locked) {
63         this.locked = locked;
64     }
65     public boolean isReleaseable() {
66         return releaseable;
67     }
68     public void setReleaseable(boolean releaseable) {
69         this.releaseable = releaseable;
70     }
71
72 }
Popular Tags