Coverage Report - org.kuali.rice.core.framework.parameter.ParameterService
 
Classes in this File Line Coverage Branch Coverage Complexity
ParameterService
N/A
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  *
 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.
 15  
  */
 16  
 package org.kuali.rice.core.framework.parameter;
 17  
 
 18  
 import org.kuali.rice.core.api.parameter.Parameter;
 19  
 
 20  
 import java.util.Collection;
 21  
 
 22  
 /**
 23  
  * This service is used by krad to interact with {@link Parameter Parameters}.
 24  
  *
 25  
  * <p>
 26  
  * Generally krad client applications will want to use this service since it contains many convenient methods.
 27  
  * </p>
 28  
  *
 29  
  * <p>
 30  
  * This service can be viewed a convenient wrapper around the {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService}.
 31  
  * Please see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService} for details on the behavior of this service.
 32  
  * </p>
 33  
  */
 34  
 public interface ParameterService {
 35  
 
 36  
     /**
 37  
      * This will create a {@link Parameter} exactly like the parameter passed in.
 38  
      *
 39  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#createParameter(org.kuali.rice.core.api.parameter.Parameter)} for details
 40  
      */
 41  
     Parameter createParameter(Parameter parameter);
 42  
 
 43  
     /**
 44  
      * This will update a {@link Parameter}.
 45  
      *
 46  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#updateParameter(org.kuali.rice.core.api.parameter.Parameter)} for details
 47  
      */
 48  
     Parameter updateParameter(Parameter parameter);
 49  
 
 50  
     /**
 51  
      * This method checks if a parameter exists.  It will never return null.
 52  
      *
 53  
      * <p>
 54  
      *     The parameter key is constructed from the following:
 55  
      *     <ul>
 56  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 57  
      *          annotation on the componentClass</li>
 58  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 59  
      *         annotation on the componentClass</li>
 60  
      *       <li>parameter name: from the passed in parameter name</li>
 61  
      *       <li>application id: from the client configuration of the service implementation</li>
 62  
      *     </ul>
 63  
      * </p>
 64  
      *
 65  
      *  <p>
 66  
      *     If the parameter does not exist under the application
 67  
      *     code, then this method will check if the parameter
 68  
      *     exists under the default rice application id and
 69  
      *     will return that parameter.
 70  
      * </p>
 71  
      *
 72  
      * @param componentClass the class with the namespace & component annotations
 73  
      * @param parameterName the parameter name
 74  
      * @return true or false
 75  
      * @throws IllegalArgumentException if any arguments are null
 76  
      * @throws IllegalStateException if the application id is not configured correctly
 77  
      */
 78  
     Boolean parameterExists(Class<?> componentClass, String parameterName);
 79  
 
 80  
     /**
 81  
      * This method checks if a parameter exists.  It will never return null.
 82  
      *
 83  
      * <p>
 84  
      *     The parameter key is constructed from the following:
 85  
      *     <ul>
 86  
      *       <li>namespace code: from the passed in namespace code</li>
 87  
      *       <li>component code: from the passed in component code</li>
 88  
      *       <li>parameter name: from the passed in parameter name</li>
 89  
      *       <li>application id: from the client configuration of the service implementation</li>
 90  
      *     </ul>
 91  
      * </p>
 92  
      *
 93  
      *  <p>
 94  
      *     If the parameter does not exist under the application
 95  
      *     code, then this method will check if the parameter
 96  
      *     exists under the default rice application id and
 97  
      *     will return that parameter.
 98  
      * </p>
 99  
      *
 100  
      * @param namespaceCode the namespace code
 101  
      * @param componentCode the component code
 102  
      * @param parameterName the parameter name
 103  
      * @return true or false
 104  
      * @throws IllegalArgumentException if any arguments are null
 105  
      * @throws IllegalStateException if the application id is not configured correctly
 106  
      */
 107  
     Boolean parameterExists(String namespaceCode, String componentCode, String parameterName);
 108  
 
 109  
     /**
 110  
      * Retrieves a parameter's string value.
 111  
      *
 112  
      * <p>
 113  
      *     The parameter key is constructed from the following:
 114  
      *     <ul>
 115  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 116  
      *          annotation on the componentClass</li>
 117  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 118  
      *         annotation on the componentClass</li>
 119  
      *       <li>parameter name: from the passed in parameter name</li>
 120  
      *       <li>application id: from the client configuration of the service implementation</li>
 121  
      *     </ul>
 122  
      * </p>
 123  
      *
 124  
      * @param componentClass the class with the namespace & component annotations
 125  
      * @param parameterName the parameter name
 126  
      * @return string value or null
 127  
      * @throws IllegalArgumentException if any arguments are null
 128  
      * @throws IllegalStateException if the application id is not configured correctly
 129  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameterValueAsString(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 130  
      */
 131  
     String getParameterValueAsString(Class<?> componentClass, String parameterName);
 132  
 
 133  
     /**
 134  
      * Retrieves a parameter's string value.  If the parameter is not found the default value will be returned.
 135  
      *
 136  
      * <p>
 137  
      *     The parameter key is constructed from the following:
 138  
      *     <ul>
 139  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 140  
      *          annotation on the componentClass</li>
 141  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 142  
      *         annotation on the componentClass</li>
 143  
      *       <li>parameter name: from the passed in parameter name</li>
 144  
      *       <li>application id: from the client configuration of the service implementation</li>
 145  
      *     </ul>
 146  
      * </p>
 147  
      *
 148  
      * @param componentClass the class with the namespace & component annotations
 149  
      * @param parameterName the parameter name
 150  
      * @param defaultValue the value to return is the parameter does not exist.  Can be any string value including null
 151  
      * @return string value or null
 152  
      * @throws IllegalArgumentException if any arguments are null
 153  
      * @throws IllegalStateException if the application id is not configured correctly
 154  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameterValueAsString(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 155  
      */
 156  
     String getParameterValueAsString(Class<?> componentClass, String parameterName, String defaultValue);
 157  
 
 158  
 
 159  
     /**
 160  
      * Retrieves a parameter's string value.
 161  
      *
 162  
      * <p>
 163  
      *     The parameter key is constructed from the following:
 164  
      *     <ul>
 165  
      *       <li>namespace code: from the passed in namespace code</li>
 166  
      *       <li>component code: from the passed in component code</li>
 167  
      *       <li>parameter name: from the passed in parameter name</li>
 168  
      *       <li>application id: from the client configuration of the service implementation</li>
 169  
      *     </ul>
 170  
      * </p>
 171  
      *
 172  
      * @param namespaceCode the namespace code
 173  
      * @param componentCode the component code
 174  
      * @param parameterName the parameter name
 175  
      * @return string value or null
 176  
      * @throws IllegalArgumentException if any arguments are null
 177  
      * @throws IllegalStateException if the application id is not configured correctly
 178  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameterValueAsString(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 179  
      */
 180  
     String getParameterValueAsString(String namespaceCode, String componentCode, String parameterName);
 181  
 
 182  
         /**
 183  
      * Retrieves a parameter's string value.  If the parameter is not found the default value will be returned.
 184  
      *
 185  
      * <p>
 186  
      *     The parameter key is constructed from the following:
 187  
      *     <ul>
 188  
      *       <li>namespace code: from the passed in namespace code</li>
 189  
      *       <li>component code: from the passed in component code</li>
 190  
      *       <li>parameter name: from the passed in parameter name</li>
 191  
      *       <li>application id: from the client configuration of the service implementation</li>
 192  
      *     </ul>
 193  
      * </p>
 194  
      *
 195  
      * @param namespaceCode the namespace code
 196  
      * @param componentCode the component code
 197  
      * @param parameterName the parameter name
 198  
      * @param defaultValue the value to return is the parameter does not exist.  Can be any string value including null
 199  
      * @return string value or null
 200  
      * @throws IllegalArgumentException if any arguments are null
 201  
      * @throws IllegalStateException if the application id is not configured correctly
 202  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameterValueAsString(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 203  
      */
 204  
     String getParameterValueAsString(String namespaceCode, String componentCode, String parameterName, String defaultValue);
 205  
 
 206  
     /**
 207  
      * Retrieves a parameter's boolean value.
 208  
      *
 209  
      * <p>
 210  
      *     The parameter key is constructed from the following:
 211  
      *     <ul>
 212  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 213  
      *          annotation on the componentClass</li>
 214  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 215  
      *         annotation on the componentClass</li>
 216  
      *       <li>parameter name: from the passed in parameter name</li>
 217  
      *       <li>application id: from the client configuration of the service implementation</li>
 218  
      *     </ul>
 219  
      * </p>
 220  
      *
 221  
      * @param componentClass the class with the namespace & component annotations
 222  
      * @param parameterName the parameter name
 223  
      * @return true, false, null
 224  
      * @throws IllegalArgumentException if any arguments are null
 225  
      * @throws IllegalStateException if the application id is not configured correctly
 226  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameterValueAsBoolean(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 227  
      */
 228  
     Boolean getParameterValueAsBoolean(Class<?> componentClass, String parameterName);
 229  
 
 230  
     /**
 231  
      * Retrieves a parameter's boolean value.  If the parameter is not found the default value will be returned.
 232  
      *
 233  
      * <p>
 234  
      *     The parameter key is constructed from the following:
 235  
      *     <ul>
 236  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 237  
      *          annotation on the componentClass</li>
 238  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 239  
      *         annotation on the componentClass</li>
 240  
      *       <li>parameter name: from the passed in parameter name</li>
 241  
      *       <li>application id: from the client configuration of the service implementation</li>
 242  
      *     </ul>
 243  
      * </p>
 244  
      *
 245  
      * @param componentClass the class with the namespace & component annotations
 246  
      * @param parameterName the parameter name
 247  
      * @param defaultValue the value to return is the parameter does not exist.  Can be any Boolean value including null
 248  
      * @return true, false, or the defaultValue
 249  
      * @throws IllegalArgumentException if any arguments are null
 250  
      * @throws IllegalStateException if the application id is not configured correctly
 251  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameterValueAsBoolean(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 252  
      */
 253  
     Boolean getParameterValueAsBoolean(Class<?> componentClass, String parameterName, Boolean defaultValue);
 254  
 
 255  
    /**
 256  
      * Retrieves a parameter's boolean value.
 257  
      *
 258  
      * <p>
 259  
      *     The parameter key is constructed from the following:
 260  
      *     <ul>
 261  
      *       <li>namespace code: from the passed in namespace code</li>
 262  
      *       <li>component code: from the passed in component code</li>
 263  
      *       <li>parameter name: from the passed in parameter name</li>
 264  
      *       <li>application id: from the client configuration of the service implementation</li>
 265  
      *     </ul>
 266  
      * </p>
 267  
      *
 268  
      * @param namespaceCode the namespace code
 269  
      * @param componentCode the component code
 270  
      * @param parameterName the parameter name
 271  
      * @return true, false, null
 272  
      * @throws IllegalArgumentException if any arguments are null
 273  
      * @throws IllegalStateException if the application id is not configured correctly
 274  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameterValueAsBoolean(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 275  
      */
 276  
     Boolean getParameterValueAsBoolean(String namespaceCode, String componentCode, String parameterName);
 277  
 
 278  
     /**
 279  
      * Retrieves a parameter's boolean value.  If the parameter is not found the default value will be returned.
 280  
      *
 281  
      * <p>
 282  
      *     The parameter key is constructed from the following:
 283  
      *     <ul>
 284  
      *       <li>namespace code: from the passed in namespace code</li>
 285  
      *       <li>component code: from the passed in component code</li>
 286  
      *       <li>parameter name: from the passed in parameter name</li>
 287  
      *       <li>application id: from the client configuration of the service implementation</li>
 288  
      *     </ul>
 289  
      * </p>
 290  
      *
 291  
      * @param namespaceCode the namespace code
 292  
      * @param componentCode the component code
 293  
      * @param parameterName the parameter name
 294  
      * @param defaultValue the value to return is the parameter does not exist.  Can be any Boolean value including null
 295  
      * @return true, false, or the defaultValue
 296  
      * @throws IllegalArgumentException if any arguments are null
 297  
      * @throws IllegalStateException if the application id is not configured correctly
 298  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameterValueAsBoolean(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 299  
      */
 300  
     Boolean getParameterValueAsBoolean(String namespaceCode, String componentCode, String parameterName, Boolean defaultValue);
 301  
 
 302  
     /**
 303  
      * Retrieves a parameter.
 304  
      *
 305  
      * <p>
 306  
      *     The parameter key is constructed from the following:
 307  
      *     <ul>
 308  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 309  
      *          annotation on the componentClass</li>
 310  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 311  
      *         annotation on the componentClass</li>
 312  
      *       <li>parameter name: from the passed in parameter name</li>
 313  
      *       <li>application id: from the client configuration of the service implementation</li>
 314  
      *     </ul>
 315  
      * </p>
 316  
      *
 317  
      * @param componentClass the class with the namespace & component annotations
 318  
      * @param parameterName the parameter name
 319  
      * @return true or false
 320  
      * @throws IllegalArgumentException if any arguments are null
 321  
      * @throws IllegalStateException if the application id is not configured correctly
 322  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameter(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 323  
      */
 324  
     Parameter getParameter(Class<?> componentClass, String parameterName);
 325  
 
 326  
     /**
 327  
      * Retrieves a parameter.
 328  
      *
 329  
      * <p>
 330  
      *     The parameter key is constructed from the following:
 331  
      *     <ul>
 332  
      *       <li>namespace code: from the passed in namespace code</li>
 333  
      *       <li>component code: from the passed in component code</li>
 334  
      *       <li>parameter name: from the passed in parameter name</li>
 335  
      *       <li>application id: from the client configuration of the service implementation</li>
 336  
      *     </ul>
 337  
      * </p>
 338  
      *
 339  
      * @param namespaceCode the namespace code
 340  
      * @param componentCode the component code
 341  
      * @param parameterName the parameter name
 342  
      * @return true or false
 343  
      * @throws IllegalArgumentException if any arguments are null
 344  
      * @throws IllegalStateException if the application id is not configured correctly
 345  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameter(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 346  
      */
 347  
     Parameter getParameter(String namespaceCode, String componentCode, String parameterName);
 348  
 
 349  
     /**
 350  
      * Retrieves a parameter's string values where a parameter contains 0 or more values.
 351  
      *
 352  
      * <p>
 353  
      *     The parameter key is constructed from the following:
 354  
      *     <ul>
 355  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 356  
      *          annotation on the componentClass</li>
 357  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 358  
      *         annotation on the componentClass</li>
 359  
      *       <li>parameter name: from the passed in parameter name</li>
 360  
      *       <li>application id: from the client configuration of the service implementation</li>
 361  
      *     </ul>
 362  
      * </p>
 363  
      *
 364  
      * @param componentClass the class with the namespace & component annotations
 365  
      * @param parameterName the parameter name
 366  
      * @return string values or empty Collection
 367  
      * @throws IllegalArgumentException if any arguments are null
 368  
      * @throws IllegalStateException if the application id is not configured correctly
 369  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameterValuesAsString(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 370  
      */
 371  
     Collection<String> getParameterValuesAsString(Class<?> componentClass, String parameterName);
 372  
 
 373  
     /**
 374  
      * Retrieves a parameter's string values where a parameter contains 0 or more values.
 375  
      *
 376  
      * <p>
 377  
      *     The parameter key is constructed from the following:
 378  
      *     <ul>
 379  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 380  
      *          annotation on the componentClass</li>
 381  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 382  
      *         annotation on the componentClass</li>
 383  
      *       <li>parameter name: from the passed in parameter name</li>
 384  
      *       <li>application id: from the client configuration of the service implementation</li>
 385  
      *     </ul>
 386  
      * </p>
 387  
      *
 388  
      * @param namespaceCode the namespace code
 389  
      * @param componentCode the component code
 390  
      * @param parameterName the parameter name
 391  
      * @return string values or empty Collection
 392  
      * @throws IllegalArgumentException if any arguments are null
 393  
      * @throws IllegalStateException if the application id is not configured correctly
 394  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getParameterValuesAsString(org.kuali.rice.core.api.parameter.ParameterKey)} for details
 395  
      */
 396  
     Collection<String> getParameterValuesAsString(String namespaceCode, String componentCode, String parameterName);
 397  
 
 398  
     /**
 399  
      * Retrieves a subParameter's string value.
 400  
      *
 401  
      * <p>
 402  
      *     The parameter key is constructed from the following:
 403  
      *     <ul>
 404  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 405  
      *          annotation on the componentClass</li>
 406  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 407  
      *         annotation on the componentClass</li>
 408  
      *       <li>parameter name: from the passed in parameter name</li>
 409  
      *       <li>application id: from the client configuration of the service implementation</li>
 410  
      *     </ul>
 411  
      * </p>
 412  
      *
 413  
      * @param componentClass the class with the namespace & component annotations
 414  
      * @param parameterName the parameter name
 415  
      * @return string value or null
 416  
      * @param subParameterName the subParameter name
 417  
      * @throws IllegalArgumentException if any arguments are null
 418  
      * @throws IllegalStateException if the application id is not configured correctly
 419  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getSubParameterValueAsString(org.kuali.rice.core.api.parameter.ParameterKey, String)} for details
 420  
      */
 421  
     String getSubParameterValueAsString(Class<?> componentClass, String parameterName, String subParameterName);
 422  
 
 423  
     /**
 424  
      * Retrieves a subParameter's string value.
 425  
      *
 426  
      * <p>
 427  
      *     The parameter key is constructed from the following:
 428  
      *     <ul>
 429  
      *       <li>namespace code: from the passed in namespace code</li>
 430  
      *       <li>component code: from the passed in component code</li>
 431  
      *       <li>parameter name: from the passed in parameter name</li>
 432  
      *       <li>application id: from the client configuration of the service implementation</li>
 433  
      *     </ul>
 434  
      * </p>
 435  
      *
 436  
      * @param namespaceCode the namespace code
 437  
      * @param componentCode the component code
 438  
      * @param parameterName the parameter name
 439  
      * @param subParameterName the subParameter name
 440  
      * @return string value or null
 441  
      * @throws IllegalArgumentException if any arguments are null
 442  
      * @throws IllegalStateException if the application id is not configured correctly
 443  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getSubParameterValueAsString(org.kuali.rice.core.api.parameter.ParameterKey, String)} for details
 444  
      */
 445  
     String getSubParameterValueAsString(String namespaceCode, String componentCode, String parameterName, String subParameterName);
 446  
 
 447  
     /**
 448  
      * Retrieves a subParameter's string values where a subParameter contains 0 or more values.
 449  
      *
 450  
      * <p>
 451  
      *     The parameter key is constructed from the following:
 452  
      *     <ul>
 453  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 454  
      *          annotation on the componentClass</li>
 455  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 456  
      *         annotation on the componentClass</li>
 457  
      *       <li>parameter name: from the passed in parameter name</li>
 458  
      *       <li>application id: from the client configuration of the service implementation</li>
 459  
      *     </ul>
 460  
      * </p>
 461  
      *
 462  
      * @param componentClass the class with the namespace & component annotations
 463  
      * @param parameterName the parameter name
 464  
      * @param subParameterName the subParameter name
 465  
      * @return string values or empty Collection
 466  
      * @throws IllegalArgumentException if any arguments are null
 467  
      * @throws IllegalStateException if the application id is not configured correctly
 468  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getSubParameterValuesAsString(org.kuali.rice.core.api.parameter.ParameterKey, String)} for details
 469  
      */
 470  
     Collection<String> getSubParameterValuesAsString(Class<?> componentClass, String parameterName, String subParameterName);
 471  
 
 472  
     /**
 473  
      * Retrieves a subParameter's string values where a subParameter contains 0 or more values.
 474  
      *
 475  
      * <p>
 476  
      *     The parameter key is constructed from the following:
 477  
      *     <ul>
 478  
      *       <li>namespace code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.NAMESPACE}
 479  
      *          annotation on the componentClass</li>
 480  
      *       <li>component code: from a {@link org.kuali.rice.core.framework.parameter.ParameterConstants.COMPONENT}
 481  
      *         annotation on the componentClass</li>
 482  
      *       <li>parameter name: from the passed in parameter name</li>
 483  
      *       <li>application id: from the client configuration of the service implementation</li>
 484  
      *     </ul>
 485  
      * </p>
 486  
      *
 487  
      * @param namespaceCode the namespace code
 488  
      * @param componentCode the component code
 489  
      * @param parameterName the parameter name
 490  
      * @param subParameterName the subParameter name
 491  
      * @return string values or empty Collection
 492  
      * @throws IllegalArgumentException if any arguments are null
 493  
      * @throws IllegalStateException if the application id is not configured correctly
 494  
      * @see {@link org.kuali.rice.core.api.parameter.ParameterRepositoryService#getSubParameterValuesAsString(org.kuali.rice.core.api.parameter.ParameterKey, String)} for details
 495  
      */
 496  
     Collection<String> getSubParameterValuesAsString(String namespaceCode, String componentCode, String parameterName, String subParameterName);
 497  
 }