KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > roller > ui > authoring > struts > formbeans > BookmarksForm


1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. The ASF licenses this file to You
4 * under the Apache License, Version 2.0 (the "License"); you may not
5 * 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. For additional information regarding
15 * copyright in this work, please see the NOTICE file in the top level
16 * directory of this distribution.
17 */

18 /*
19  * Created on Oct 21, 2003
20  */

21 package org.apache.roller.ui.authoring.struts.formbeans;
22
23 import org.apache.struts.action.ActionForm;
24
25 /**
26  * @struts.form name="bookmarksForm"
27  */

28 public class BookmarksForm extends ActionForm
29 {
30     private String JavaDoc folderId = null;
31     private boolean moveContents = false;
32     private String JavaDoc moveToFolderId = null;
33     private String JavaDoc[] selectedBookmarks = null;
34     private String JavaDoc[] selectedFolders = null;
35     
36     public String JavaDoc getFolderId()
37     {
38         return folderId;
39     }
40
41     public void setFolderId(String JavaDoc folderId)
42     {
43         this.folderId = folderId;
44     }
45
46     public boolean isMoveContents()
47     {
48         return moveContents;
49     }
50
51     public void setMoveContents(boolean moveContents)
52     {
53         this.moveContents = moveContents;
54     }
55
56     public String JavaDoc getMoveToFolderId()
57     {
58         return moveToFolderId;
59     }
60
61     public void setMoveToFolderId(String JavaDoc moveToFolderId)
62     {
63         this.moveToFolderId = moveToFolderId;
64     }
65
66     public String JavaDoc[] getSelectedBookmarks()
67     {
68         return selectedBookmarks;
69     }
70
71     public void setSelectedBookmarks(String JavaDoc[] selectedBookmarks)
72     {
73         this.selectedBookmarks = selectedBookmarks;
74     }
75
76     public String JavaDoc[] getSelectedFolders()
77     {
78         return selectedFolders;
79     }
80
81     public void setSelectedFolders(String JavaDoc[] selectedFolders)
82     {
83         this.selectedFolders = selectedFolders;
84     }
85
86 }
87
Popular Tags