01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2006 Danet GmbH (www.danet.de), BU BTS.
04: * All rights reserved.
05: *
06: * This program is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: *
20: * $Id: ApplicationContext.java,v 1.2 2007/09/07 19:17:17 mlipp Exp $
21: *
22: * $Log: ApplicationContext.java,v $
23: * Revision 1.2 2007/09/07 19:17:17 mlipp
24: * Added reload button.
25: *
26: * Revision 1.1 2007/09/06 06:08:40 mlipp
27: * Fixed problem with process definition display not being updated
28: * after process definition upload.
29: *
30: */
31: package de.danet.an.workflow.clients.mgmtportlets;
32:
33: /**
34: * This class provides some context scoped information and methods.
35: *
36: * @author mnl
37: *
38: */
39: public class ApplicationContext {
40:
41: private boolean reloadDefinitionsBeforeRendering = false;
42:
43: /**
44: * @return Returns the reloadDefinitionsBeforeRendering.
45: */
46: public boolean isReloadDefinitionsBeforeRendering() {
47: return reloadDefinitionsBeforeRendering;
48: }
49:
50: /**
51: * @param reloadDefinitionsBeforeRendering The
52: * reloadDefinitionsBeforeRendering to set.
53: */
54: public void setReloadDefinitionsBeforeRendering(
55: boolean reloadDefinitionsBeforeRendering) {
56: this .reloadDefinitionsBeforeRendering = reloadDefinitionsBeforeRendering;
57: }
58:
59: /**
60: * Just a dummy for refreshing
61: * @return
62: */
63: public String refresh() {
64: return null;
65: }
66: }
|