// load coplet base data
map.put("profile", "copletbasedata");
map.put("objectmap", null);
Object[] result = this.getProfile(map, portalPrefix+"/CopletBaseData", service);
if (result[0] == null) {
throw new SourceNotFoundException("Could not find coplet base data profile.");
}
CopletBaseDataManager copletBaseDataManager = (CopletBaseDataManager)result[0];
boolean lastLoaded = ((Boolean)result[1]).booleanValue();
// load coplet data
map.put("profile", "copletdata");
map.put("objectmap", copletBaseDataManager.getCopletBaseData());
result = this.getDeltaProfile(map, portalPrefix+"/CopletData", service);
if (result[0] == null) {
throw new SourceNotFoundException("Could not find coplet data profile.");
}
CopletDataManager copletDataManager = (CopletDataManager)result[0];
boolean loaded = ((Boolean)result[1]).booleanValue();
if (lastLoaded && !loaded) {
copletDataManager.update(copletBaseDataManager);