private ProjectSettingsService _projectSettingsService;
private PublicationService _publicationService;
- protected static HashMap<Integer, DocumentFacade> docpres = null;
- protected static HashMap<Integer, KnowledgeElementFacade> knowpres = null;
+ protected static HashMap<Long, DocumentFacade> docpres = null;
+ protected static HashMap<Long, KnowledgeElementFacade> knowpres = null;
public class KnowledgeIterator {
// ------------------------------
protected OpenObject () {
// -----------------------
// All member fields are supposed initialized by subclasses
- if (docpres == null) docpres = new HashMap<Integer, DocumentFacade>();
- if (knowpres == null) knowpres = new HashMap<Integer, KnowledgeElementFacade>();
+ if (docpres == null) docpres = new HashMap<Long, DocumentFacade>();
+ if (knowpres == null) knowpres = new HashMap<Long, KnowledgeElementFacade>();
}
// ==============================================================================================================================
contents = new Vector<DocumentFacade>(list.size());
for (Iterator<Publication> i=list.iterator(); i.hasNext();) {
Publication present = i.next();
- Integer index = present.getIndex();
+ Long index = present.getIndex();
DocumentFacade facade = docpres.get(index);
if (facade == null) {
facade = new DocumentFacade(this, present, getProjectSettings(), getPublicationService());