1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.pluto.om.servlet;
21
22 import org.apache.pluto.om.common.DescriptionSet;
23 import org.apache.pluto.om.common.DisplayNameSet;
24
25 /***
26 * <P>
27 * The <CODE>ServletDefinitionCtrl</CODE> interface ...
28 * </P>
29 * <P>
30 * This interface defines the controller as known from the MVC pattern.
31 * Its purpose is to provide write access to the data stored in the model.
32 * </P>
33 */
34 public interface ServletDefinitionCtrl extends org.apache.pluto.om.Controller
35 {
36
37
38 /***
39 * Binds an identifier to this servlet
40 *
41 * @param id the new identifier
42 */
43 public void setId(String id);
44
45 /***
46 * Binds an servlet name to this servlet
47 *
48 * @param name the new servlet name
49 */
50 public void setServletName(String name);
51
52 /***
53 * Sets the descriptions
54 *
55 * @param descriptions the new description
56 */
57 public void setDescriptions(DescriptionSet descriptions);
58
59 /***
60 * Sets the display names
61 *
62 * @param displayNames the new display names
63 */
64 public void setDisplayNames(DisplayNameSet displayNames);
65
66 /***
67 * Sets the class name of this servlet
68 *
69 * @param servletClass the new class name
70 */
71 public void setServletClass(String servletClass);
72
73 /***
74 * Sets the available date/time for this servlet, in milliseconds since the
75 * epoch. If this date/time is in the future the servlet is unavailable.
76 *
77 * @param available The new available date/time
78 */
79 public void setAvailable(long available);
80 }