1 19 20 package com.sslexplorer.navigation.forms; 21 22 import java.util.List ; 23 24 import org.apache.commons.logging.Log; 25 import org.apache.commons.logging.LogFactory; 26 import org.apache.struts.action.ActionMapping; 27 28 import com.sslexplorer.core.forms.CoreForm; 29 30 37 38 public class ProfileSelectionForm extends CoreForm { 39 40 static Log log = LogFactory.getLog(ProfileSelectionForm.class); 41 42 private List propertyProfiles; 44 private int selectedPropertyProfile; 45 private boolean makeDefault; 46 47 54 public List getPropertyProfiles() { 55 return propertyProfiles; 56 } 57 58 65 public void setPropertyProfiles(List propertyProfiles) { 66 this.propertyProfiles = propertyProfiles; 67 } 68 69 74 public void setSelectedPropertyProfile(int selectedPropertyProfile) { 75 this.selectedPropertyProfile = selectedPropertyProfile; 76 } 77 78 83 public int getSelectedPropertyProfile() { 84 return selectedPropertyProfile; 85 } 86 87 92 public boolean getMakeDefault() { 93 return makeDefault; 94 } 95 96 101 public void setMakeDefault(boolean makeDefault) { 102 this.makeDefault = makeDefault; 103 } 104 105 108 public void reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request) { 109 propertyProfiles = null; 110 selectedPropertyProfile = 0; 111 } 112 } | Popular Tags |