KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > clipbuilder > html > struts > ManageClippersForm


1 package org.jahia.clipbuilder.html.struts;
2
3 import org.apache.struts.action.*;
4 import org.jahia.clipbuilder.html.struts.Util.AbstractWizardForm;
5 import org.jahia.clipbuilder.html.bean.*;
6 import javax.servlet.http.*;
7 import java.util.*;
8 import org.jahia.clipbuilder.html.struts.Util.Constants;
9
10 /**
11  * From related whith manageClippers.jsp
12  *
13  *@author Tlili Khaled
14  */

15 public class ManageClippersForm extends AbstractWizardForm {
16     private String JavaDoc clipper;
17     private boolean templateView;
18
19
20     /**
21      * Sets the Clipper attribute of the ManageClippersForm object
22      *
23      *@param clipper The new Clipper value
24      */

25     public void setClipper(String JavaDoc clipper) {
26         this.clipper = clipper;
27     }
28
29         public int getId() {
30                 return Constants.MANAGE;
31         }
32
33
34
35     /**
36      * Sets the TemplateView attribute of the ManageClippersForm object
37      *
38      *@param templateView The new TemplateView value
39      */

40     public void setTemplateView(boolean templateView) {
41         this.templateView = templateView;
42     }
43
44
45     /**
46      * Gets the Clipper attribute of the ManageClippersForm object
47      *
48      *@return The Clipper value
49      */

50     public String JavaDoc getClipper() {
51         return clipper;
52     }
53
54
55     /**
56      * Gets the TemplateView attribute of the ManageClippersForm object
57      *
58      *@return The TemplateView value
59      */

60     public boolean isTemplateView() {
61         return templateView;
62     }
63
64
65     /**
66      * Gets the Errors attribute of the ManageClippersForm object
67      *
68      *@return The Errors value
69      */

70     public ActionErrors getErrors() {
71         ActionErrors errors = new ActionErrors();
72         return errors;
73     }
74
75
76
77     /**
78      * Description of the Method
79      *
80      *@param cBean Description of Parameter
81      */

82     public void loadFromClipperBean(ClipperBean cBean) {
83     }
84 }
85
Popular Tags