View Javadoc
1   /*
2    * Copyright 2010 James Pether Sörling
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *   http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   *	$Id$
17   *  $HeadURL$
18  */
19  package com.hack23.cia.service.component.agent.impl.riksdagen.workgenerator.data;
20  
21  import java.util.Date;
22  import java.util.List;
23  import java.util.Map;
24  
25  import com.hack23.cia.model.external.riksdagen.dokumentlista.impl.DocumentType;
26  
27  /**
28   * The Interface RiksdagenImportService.
29   */
30  public interface RiksdagenImportService {
31  
32  
33  	/**
34  	 * Gets the start year for document element.
35  	 *
36  	 * @return the start year for document element
37  	 */
38  	int getStartYearForDocumentElement();
39  
40  	/**
41  	 * Gets the avaible committee proposal.
42  	 *
43  	 * @return the avaible committee proposal
44  	 */
45  	List<String> getAvaibleCommitteeProposal();
46  
47  	/**
48  	 * Gets the avaible document content.
49  	 *
50  	 * @return the avaible document content
51  	 */
52  	List<String> getAvaibleDocumentContent();
53  
54  
55  	/**
56  	 * Gets the committee proposal component data map.
57  	 *
58  	 * @return the committee proposal component data map
59  	 */
60  	Map<String, String> getCommitteeProposalComponentDataMap();
61  
62  	/**
63  	 * Gets the document content map.
64  	 *
65  	 * @return the document content map
66  	 */
67  	Map<String, String> getDocumentContentMap();
68  
69  	/**
70  	 * Gets the document element map.
71  	 *
72  	 * @return the document element map
73  	 */
74  	Map<String, String> getDocumentElementMap();
75  
76  	/**
77  	 * Gets the document element map.
78  	 *
79  	 * @param after
80  	 *            the after
81  	 * @param downloadType
82  	 *            the download type
83  	 * @param onlyWithDocStatus
84  	 *            the only with doc status
85  	 * @return the document element map
86  	 */
87  	Map<String, String> getDocumentElementMap(Date after,
88  			List<DocumentType> downloadType, boolean onlyWithDocStatus);
89  
90  	/**
91  	 * Gets the document status container map.
92  	 *
93  	 * @return the document status container map
94  	 */
95  	Map<String, String> getDocumentStatusContainerMap();
96  
97  
98  	/**
99  	 * Gets the loaded ballot id map.
100 	 *
101 	 * @return the loaded ballot id map
102 	 */
103 	Map<String, String> getLoadedBallotIdMap();
104 
105 	/**
106 	 * Gets the person map.
107 	 *
108 	 * @return the person map
109 	 */
110 	Map<String, String> getPersonMap();
111 
112 }