001/* 002 * (C) Copyright 2006-2007 Nuxeo SAS (http://nuxeo.com/) and contributors. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * George Lefter 016 * 017 * $Id$ 018 */ 019 020package org.nuxeo.ecm.platform.ui.web.directory; 021 022/** 023 * @author <a href="mailto:glefter@nuxeo.com">George Lefter</a> 024 */ 025public class ChainSelectState { 026 027 private String directoryNames; 028 029 private String[] directories; 030 031 private String keySeparator; 032 033 private boolean qualifiedParentKeys; 034 035 private boolean recursive; 036 037 private int depth; 038 039 private String display; 040 041 private boolean translate; 042 043 private boolean showObsolete; 044 045 private String style; 046 047 private String styleClass; 048 049 private int size; 050 051 private boolean allowBranchSelection; 052 053 private String reRender; 054 055 private boolean displayValueOnly; 056 057 protected String defaultRootKey; 058 059 public boolean getQualifiedParentKeys() { 060 return qualifiedParentKeys; 061 } 062 063 public void setQualifiedParentKeys(boolean qualifiedParentKeys) { 064 this.qualifiedParentKeys = qualifiedParentKeys; 065 } 066 067 public String getKeySeparator() { 068 return keySeparator; 069 } 070 071 public void setKeySeparator(String keySeparator) { 072 this.keySeparator = keySeparator; 073 } 074 075 public String getDefaultRootKey() { 076 return defaultRootKey; 077 } 078 079 public void setDefaultRootKey(String defaultRootKey) { 080 this.defaultRootKey = defaultRootKey; 081 } 082 083 public boolean isRecursive() { 084 return recursive; 085 } 086 087 public void setRecursive(boolean recursive) { 088 this.recursive = recursive; 089 } 090 091 public int getDepth() { 092 return depth; 093 } 094 095 public void setDepth(int depth) { 096 this.depth = depth; 097 } 098 099 public String getDisplay() { 100 return display; 101 } 102 103 public void setDisplay(String display) { 104 this.display = display; 105 } 106 107 public boolean getTranslate() { 108 return translate; 109 } 110 111 public void setTranslate(boolean translate) { 112 this.translate = translate; 113 } 114 115 public boolean getShowObsolete() { 116 return showObsolete; 117 } 118 119 public void setShowObsolete(boolean showObsolete) { 120 this.showObsolete = showObsolete; 121 } 122 123 public String getDirectoryNames() { 124 return directoryNames; 125 } 126 127 public void setDirectoryNames(String directoryNames) { 128 this.directoryNames = directoryNames; 129 } 130 131 public String getStyleClass() { 132 return styleClass; 133 } 134 135 public void setStyleClass(String styleClass) { 136 this.styleClass = styleClass; 137 } 138 139 public String getStyle() { 140 return style; 141 } 142 143 public void setStyle(String style) { 144 this.style = style; 145 } 146 147 public String[] getDirectories() { 148 return directories; 149 } 150 151 public void setDirectories(String[] directories) { 152 this.directories = directories; 153 } 154 155 public int getListboxSize() { 156 return size; 157 } 158 159 public void setListboxSize(int size) { 160 this.size = size; 161 } 162 163 public boolean getAllowBranchSelection() { 164 return allowBranchSelection; 165 } 166 167 public void setAllowBranchSelection(boolean allowBranchSelection) { 168 this.allowBranchSelection = allowBranchSelection; 169 } 170 171 public String getReRender() { 172 return reRender; 173 } 174 175 public void setReRender(String reRender) { 176 this.reRender = reRender; 177 } 178 179 public boolean getDisplayValueOnly() { 180 return displayValueOnly; 181 } 182 183 public void setDisplayValueOnly(boolean displayValueOnly) { 184 this.displayValueOnly = displayValueOnly; 185 } 186 187}