KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > roller > presentation > bookmarks > formbeans > BookmarksForm


1 /*
2  * Created on Oct 21, 2003
3  */

4 package org.roller.presentation.bookmarks.formbeans;
5
6 import org.apache.struts.action.ActionForm;
7
8 /**
9  * @struts.form name="bookmarksForm"
10  */

11 public class BookmarksForm extends ActionForm
12 {
13     private String JavaDoc folderId = null;
14     private boolean moveContents = false;
15     private String JavaDoc moveToFolderId = null;
16     private String JavaDoc[] selectedBookmarks = null;
17     private String JavaDoc[] selectedFolders = null;
18     
19     public String JavaDoc getFolderId()
20     {
21         return folderId;
22     }
23
24     public void setFolderId(String JavaDoc folderId)
25     {
26         this.folderId = folderId;
27     }
28
29     public boolean isMoveContents()
30     {
31         return moveContents;
32     }
33
34     public void setMoveContents(boolean moveContents)
35     {
36         this.moveContents = moveContents;
37     }
38
39     public String JavaDoc getMoveToFolderId()
40     {
41         return moveToFolderId;
42     }
43
44     public void setMoveToFolderId(String JavaDoc moveToFolderId)
45     {
46         this.moveToFolderId = moveToFolderId;
47     }
48
49     public String JavaDoc[] getSelectedBookmarks()
50     {
51         return selectedBookmarks;
52     }
53
54     public void setSelectedBookmarks(String JavaDoc[] selectedBookmarks)
55     {
56         this.selectedBookmarks = selectedBookmarks;
57     }
58
59     public String JavaDoc[] getSelectedFolders()
60     {
61         return selectedFolders;
62     }
63
64     public void setSelectedFolders(String JavaDoc[] selectedFolders)
65     {
66         this.selectedFolders = selectedFolders;
67     }
68
69 }
70
Popular Tags