84858687888990919293
// do not allow nesting of "bare" uuid resource with type resource // as this will not do what the user expects to do. if (next instanceof TypeResource) { throw new IllegalPathException(); } return super.tryCombineWith(next); }
49505152535455
if (wrappedResource != null) { return wrappedResource.doGet(sortKey, sortDescending, pageSize, page, offsetId); } throw new IllegalPathException(); }
58596061626364
public RestMethodResult doPost(Map<String, Object> propertySet) throws FrameworkException { if (wrappedResource != null) { return wrappedResource.doPost(propertySet); } throw new IllegalPathException(); }
66676869707172
@Override public RestMethodResult doPut(Map<String, Object> propertySet) throws FrameworkException { if (wrappedResource != null) { return wrappedResource.doPut(propertySet); } throw new IllegalPathException(); }
74757677787980
@Override public RestMethodResult doDelete() throws FrameworkException { if (wrappedResource != null) { return wrappedResource.doDelete(); } throw new IllegalPathException(); }
90919293949596
logger.log(Level.INFO, "No results from parent.."); } throw new IllegalPathException(); }
99100101102103104105
public RestMethodResult doPost(Map<String, Object> propertySet) throws FrameworkException { if(wrappedResource != null) { return wrappedResource.doPost(propertySet); } throw new IllegalPathException(); }
359360361362363364365
} } } throw new IllegalPathException(); }
372373374375376377378379380381382
@Override public Resource tryCombineWith(final Resource next) throws FrameworkException { if (next instanceof TypeResource) { throw new IllegalPathException(); } return super.tryCombineWith(next); }
72737475767778
} return result; } throw new IllegalPathException(); }