3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.remote
.controller
;
12 import java
.util
.Arrays
;
13 import java
.util
.List
;
15 import org
.apache
.log4j
.Logger
;
18 * @author a.kohlbecker
22 public abstract class AbstractController
{
24 protected static final List
<String
> DEFAULT_INIT_STRATEGY
= Arrays
.asList(new String
[]{
28 public static final Logger logger
= Logger
.getLogger(BaseController
.class);
30 protected static final Integer DEFAULT_PAGE_SIZE
= 30;
32 protected List
<String
> initializationStrategy
= DEFAULT_INIT_STRATEGY
;
35 * Set the default initialization strategy for this controller.
37 * @param initializationStrategy
39 public void setInitializationStrategy(List
<String
> initializationStrategy
) {
40 this.initializationStrategy
= initializationStrategy
;