}
@Override
public void onSuccess(DocumentSignedLocation[] result) {
ClsiResourceReference[] refs = new ClsiResourceReference[size];
for (int i=0; i<size; i++) {
DocumentSignedLocation dsl = result[i];
DocumentServiceEntry entry = settings.getResources().get(i);
refs[i] = ClsiResourceReference.newInstance(entry.getDocumentId(),
entry.getIdentifier(), dsl.getUrl(), dsl.getAuthorization(),
entry.getContentType(), null, entry.getEdited());
}
callback.onSuccess(refs);
}
});