KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejbca > ui > web > admin > services > servicetypes > NoActionType


1 /*************************************************************************
2  * *
3  * EJBCA: The OpenSource Certificate Authority *
4  * *
5  * This software is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU Lesser General Public *
7  * License as published by the Free Software Foundation; either *
8  * version 2.1 of the License, or any later version. *
9  * *
10  * See terms of license at gnu.org. *
11  * *
12  *************************************************************************/

13 package org.ejbca.ui.web.admin.services.servicetypes;
14
15 import java.io.IOException JavaDoc;
16 import java.util.ArrayList JavaDoc;
17 import java.util.Properties JavaDoc;
18
19 /**
20  * Class used to populate the fields in the noaction subpage.
21  *
22  * @author Philip Vendil 2006 sep 30
23  *
24  * @version $Id: NoActionType.java,v 1.2 2006/10/26 11:02:17 herrvendil Exp $
25  */

26 public class NoActionType extends ActionType {
27     
28     public static final String JavaDoc NAME = "NOACTION";
29     
30     private transient Properties JavaDoc properties = new Properties JavaDoc();
31     
32     public NoActionType() {
33         super("noaction.jsp", NAME, true);
34     }
35
36     String JavaDoc unit;
37     String JavaDoc value;
38
39
40     public String JavaDoc getClassPath() {
41         return "org.ejbca.core.model.services.actions.NoAction";
42     }
43
44     public Properties JavaDoc getProperties(ArrayList JavaDoc errorMessages) throws IOException JavaDoc {
45         return properties;
46     }
47     
48     public void setProperties(Properties JavaDoc properties) throws IOException JavaDoc {
49         this.properties = properties;
50     }
51
52     public boolean isCustom() {
53         return false;
54     }
55
56
57 }
58
Popular Tags