IntegrationProjectId projectId = (IntegrationProjectId)EntityType.Project.getIntegrationId(sProjectId);
project = m_integrationProjectMap.get(projectId);
}
if( parentFolderId == null ) {
RootFolder rootFolder = getRootFolder(entityType, project);
if ( rootFolder == null ) {
System.out.println("Failed to find RootFolder for Folder " + folder.getName());
}
else
rootFolder.addSubFolder(folder);
}
else {
Folder parentFolder = m_folderIdFolderMap.get(parentFolderId);
if ( parentFolder == null )
orphanFolders.add(new OrphanFolder(folder, parentFolderId));