1 18 19 package org.apache.roller.ui.authoring.struts.formbeans; 20 21 import org.apache.roller.RollerException; 22 import org.apache.roller.pojos.WeblogCategoryData; 23 import org.apache.roller.ui.authoring.struts.forms.WeblogCategoryForm; 24 25 26 29 public class CategoriesForm extends WeblogCategoryForm 30 { 31 private String mParentId = null; 32 private boolean mMoveContents = false; 33 private String mMoveToCategoryId = null; 34 private String [] mSelectedCategories = null; 35 36 public CategoriesForm() 37 { 38 super(); 39 } 40 41 public CategoriesForm( WeblogCategoryData catData, java.util.Locale locale ) throws RollerException 42 { 43 super(catData, locale); 44 } 45 46 public String getParentId() 47 { 48 return mParentId; 49 } 50 51 public void setParentId(String parentId) 52 { 53 mParentId = parentId; 54 } 55 56 58 59 public boolean getMoveContents() { return mMoveContents; } 60 61 62 public void setMoveContents( boolean flag ) { mMoveContents = flag;} 63 64 66 67 public String getMoveToCategoryId() { return mMoveToCategoryId; } 68 69 70 public void setMoveToCategoryId( String id ) { mMoveToCategoryId = id;} 71 72 74 75 public String [] getSelectedCategories() { return mSelectedCategories; } 76 77 78 public void setSelectedCategories( String [] f ) {mSelectedCategories = f;} 79 } 80 81 | Popular Tags |