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.cab.document.web;
017    
018    import java.util.HashMap;
019    import java.util.List;
020    import java.util.Map;
021    
022    import org.kuali.kfs.module.cab.businessobject.GeneralLedgerEntry;
023    import org.kuali.kfs.module.cab.businessobject.PurchasingAccountsPayableActionHistory;
024    import org.kuali.kfs.module.cab.businessobject.PurchasingAccountsPayableDocument;
025    import org.kuali.kfs.module.cab.businessobject.PurchasingAccountsPayableItemAsset;
026    import org.kuali.rice.kns.util.TypedArrayList;
027    
028    public class PurApLineSession {
029        private List<PurchasingAccountsPayableActionHistory> actionsTakenHistory;
030        private List<GeneralLedgerEntry> glEntryUpdateList;
031        private List<PurchasingAccountsPayableItemAsset> processedItems;
032    
033        public PurApLineSession() {
034            actionsTakenHistory = new TypedArrayList(PurchasingAccountsPayableActionHistory.class);
035            glEntryUpdateList = new TypedArrayList(GeneralLedgerEntry.class);
036            processedItems = new TypedArrayList(PurchasingAccountsPayableItemAsset.class);
037        }
038    
039    
040        /**
041         * Gets the processedDocuments attribute. 
042         * @return Returns the processedDocuments.
043         */
044        public List<PurchasingAccountsPayableItemAsset> getProcessedItems() {
045            return processedItems;
046        }
047    
048    
049        /**
050         * Gets the glEntryList attribute. 
051         * @return Returns the glEntryList.
052         */
053        public List<GeneralLedgerEntry> getGlEntryUpdateList() {
054            return glEntryUpdateList;
055        }
056    
057    
058        /**
059         * Sets the glEntryList attribute value.
060         * @param glEntryList The glEntryList to set.
061         */
062        public void setGlEntryUpdateList(List<GeneralLedgerEntry> glEntryList) {
063            this.glEntryUpdateList = glEntryList;
064        }
065    
066    
067        /**
068         * Gets the actionsTakenHistory attribute.
069         * 
070         * @return Returns the actionsTakenHistory.
071         */
072        public List<PurchasingAccountsPayableActionHistory> getActionsTakenHistory() {
073            return actionsTakenHistory;
074        }
075    
076        /**
077         * Sets the actionsTakenHistory attribute value.
078         * 
079         * @param actionsTakenHistory The actionsTakenHistory to set.
080         */
081        public void setActionsTakenHistory(List<PurchasingAccountsPayableActionHistory> actionsTakenHistory) {
082            this.actionsTakenHistory = actionsTakenHistory;
083        }
084    }