01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/osp/tags/sakai_2-4-1/matrix/tool/src/java/org/theospi/portfolio/matrix/control/EditedScaffoldingStorage.java $
03: * $Id: EditedScaffoldingStorage.java 9134 2006-05-08 20:28:42Z chmaurer@iupui.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2005, 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.theospi.portfolio.matrix.control;
21:
22: import org.apache.commons.logging.Log;
23: import org.apache.commons.logging.LogFactory;
24: import org.theospi.portfolio.matrix.model.Scaffolding;
25: import org.theospi.portfolio.matrix.model.ScaffoldingCell;
26:
27: public class EditedScaffoldingStorage {
28: protected final Log logger = LogFactory.getLog(getClass());
29:
30: public static final String STORED_SCAFFOLDING_FLAG = "org_theospi_storedScaffoldingCall";
31: public static final String EDITED_SCAFFOLDING_STORAGE_SESSION_KEY = "org_theospi_editedScaffolding";
32:
33: private Scaffolding scaffolding = null;
34: private ScaffoldingCell scaffoldingCell = null;
35:
36: public EditedScaffoldingStorage(Scaffolding scaffolding) {
37:
38: this .scaffolding = scaffolding;
39: }
40:
41: public EditedScaffoldingStorage(ScaffoldingCell scaffoldingCell) {
42:
43: this .scaffoldingCell = scaffoldingCell;
44: }
45:
46: /**
47: * @return Returns the scaffolding.
48: */
49: public Scaffolding getScaffolding() {
50: return scaffolding;
51: }
52:
53: /**
54: * @param scaffolding The scaffolding to set.
55: */
56: public void setScaffolding(Scaffolding scaffolding) {
57: this .scaffolding = scaffolding;
58: }
59:
60: /**
61: * @return Returns the scaffoldingCell.
62: */
63: public ScaffoldingCell getScaffoldingCell() {
64: return scaffoldingCell;
65: }
66:
67: /**
68: * @param scaffoldingCell The scaffoldingCell to set.
69: */
70: public void setScaffoldingCell(ScaffoldingCell scaffoldingCell) {
71: this.scaffoldingCell = scaffoldingCell;
72: }
73: }
|