001 /*
002 * Copyright 2011 The Kuali Foundation.
003 *
004 * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
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 package org.kuali.kfs.module.bc.businessobject;
017
018 import java.io.Serializable;
019 import java.util.HashMap;
020 import java.util.Map;
021
022 /**
023 * Holds document action and edit mode Maps for session storage
024 */
025 public class BudgetConstructionAuthorizationStatus implements Serializable {
026 private Map<String, String> editingMode;
027 private Map<String, String> documentActions;
028
029 /**
030 * Default Constructor
031 */
032 public BudgetConstructionAuthorizationStatus() {
033 editingMode = new HashMap<String, String>();
034 documentActions = new HashMap<String, String>();
035 }
036
037 /**
038 * Gets the editingMode attribute.
039 *
040 * @return Returns the editingMode.
041 */
042 public Map<String, String> getEditingMode() {
043 return editingMode;
044 }
045
046 /**
047 * Sets the editingMode attribute value.
048 *
049 * @param editingMode The editingMode to set.
050 */
051 public void setEditingMode(Map<String, String> editingMode) {
052 this.editingMode = editingMode;
053 }
054
055 /**
056 * Gets the documentActions attribute.
057 *
058 * @return Returns the documentActions.
059 */
060 public Map<String, String> getDocumentActions() {
061 return documentActions;
062 }
063
064 /**
065 * Sets the documentActions attribute value.
066 *
067 * @param documentActions The documentActions to set.
068 */
069 public void setDocumentActions(Map<String, String> documentActions) {
070 this.documentActions = documentActions;
071 }
072
073 }