01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. The ASF licenses this file to You
04: * under the Apache License, Version 2.0 (the "License"); you may not
05: * use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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: private String folderId = null;
30: private boolean moveContents = false;
31: private String moveToFolderId = null;
32: private String[] selectedBookmarks = null;
33: private String[] selectedFolders = null;
34:
35: public String getFolderId() {
36: return folderId;
37: }
38:
39: public void setFolderId(String folderId) {
40: this .folderId = folderId;
41: }
42:
43: public boolean isMoveContents() {
44: return moveContents;
45: }
46:
47: public void setMoveContents(boolean moveContents) {
48: this .moveContents = moveContents;
49: }
50:
51: public String getMoveToFolderId() {
52: return moveToFolderId;
53: }
54:
55: public void setMoveToFolderId(String moveToFolderId) {
56: this .moveToFolderId = moveToFolderId;
57: }
58:
59: public String[] getSelectedBookmarks() {
60: return selectedBookmarks;
61: }
62:
63: public void setSelectedBookmarks(String[] selectedBookmarks) {
64: this .selectedBookmarks = selectedBookmarks;
65: }
66:
67: public String[] getSelectedFolders() {
68: return selectedFolders;
69: }
70:
71: public void setSelectedFolders(String[] selectedFolders) {
72: this.selectedFolders = selectedFolders;
73: }
74:
75: }
|