}
// ensure the existence of a local resource id
if (!context.getOperation().getAuthPolicy().getAllowNonLocalResourceIds()) {
LuceneIndexAdapter adapter = new LuceneIndexAdapter(rContext);
Timestamp ts = adapter.queryModifiedDate(resourceId);
if (ts == null) {
throw new CatalogIndexException("Invalid resource id: "+resourceId);
}
}