001/* 002 * (C) Copyright 2006-2007 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * George Lefter 018 * 019 * $Id$ 020 */ 021 022package org.nuxeo.ecm.platform.ui.web.directory; 023 024/** 025 * @author <a href="mailto:[email protected]">George Lefter</a> 026 */ 027public class ChainSelectState { 028 029 private String directoryNames; 030 031 private String[] directories; 032 033 private String keySeparator; 034 035 private boolean qualifiedParentKeys; 036 037 private boolean recursive; 038 039 private int depth; 040 041 private String display; 042 043 private boolean translate; 044 045 private boolean showObsolete; 046 047 private String style; 048 049 private String styleClass; 050 051 private int size; 052 053 private boolean allowBranchSelection; 054 055 private String reRender; 056 057 private boolean displayValueOnly; 058 059 protected String defaultRootKey; 060 061 public boolean getQualifiedParentKeys() { 062 return qualifiedParentKeys; 063 } 064 065 public void setQualifiedParentKeys(boolean qualifiedParentKeys) { 066 this.qualifiedParentKeys = qualifiedParentKeys; 067 } 068 069 public String getKeySeparator() { 070 return keySeparator; 071 } 072 073 public void setKeySeparator(String keySeparator) { 074 this.keySeparator = keySeparator; 075 } 076 077 public String getDefaultRootKey() { 078 return defaultRootKey; 079 } 080 081 public void setDefaultRootKey(String defaultRootKey) { 082 this.defaultRootKey = defaultRootKey; 083 } 084 085 public boolean isRecursive() { 086 return recursive; 087 } 088 089 public void setRecursive(boolean recursive) { 090 this.recursive = recursive; 091 } 092 093 public int getDepth() { 094 return depth; 095 } 096 097 public void setDepth(int depth) { 098 this.depth = depth; 099 } 100 101 public String getDisplay() { 102 return display; 103 } 104 105 public void setDisplay(String display) { 106 this.display = display; 107 } 108 109 public boolean getTranslate() { 110 return translate; 111 } 112 113 public void setTranslate(boolean translate) { 114 this.translate = translate; 115 } 116 117 public boolean getShowObsolete() { 118 return showObsolete; 119 } 120 121 public void setShowObsolete(boolean showObsolete) { 122 this.showObsolete = showObsolete; 123 } 124 125 public String getDirectoryNames() { 126 return directoryNames; 127 } 128 129 public void setDirectoryNames(String directoryNames) { 130 this.directoryNames = directoryNames; 131 } 132 133 public String getStyleClass() { 134 return styleClass; 135 } 136 137 public void setStyleClass(String styleClass) { 138 this.styleClass = styleClass; 139 } 140 141 public String getStyle() { 142 return style; 143 } 144 145 public void setStyle(String style) { 146 this.style = style; 147 } 148 149 public String[] getDirectories() { 150 return directories; 151 } 152 153 public void setDirectories(String[] directories) { 154 this.directories = directories; 155 } 156 157 public int getListboxSize() { 158 return size; 159 } 160 161 public void setListboxSize(int size) { 162 this.size = size; 163 } 164 165 public boolean getAllowBranchSelection() { 166 return allowBranchSelection; 167 } 168 169 public void setAllowBranchSelection(boolean allowBranchSelection) { 170 this.allowBranchSelection = allowBranchSelection; 171 } 172 173 public String getReRender() { 174 return reRender; 175 } 176 177 public void setReRender(String reRender) { 178 this.reRender = reRender; 179 } 180 181 public boolean getDisplayValueOnly() { 182 return displayValueOnly; 183 } 184 185 public void setDisplayValueOnly(boolean displayValueOnly) { 186 this.displayValueOnly = displayValueOnly; 187 } 188 189}