@Override void register(Class<?> entityClass, EntityClassMetaInfo info) { E.unsupport(); } };
/** * Returns a {@link Dao} object that can operate on this entity of * the entities with the same type. * * <p>Note this method needs to be enhanced by framework to be called</p> * * @return the {@code Dao} object */ public static <T extends Dao> T dao(Class<T> cls) { throw E.unsupport("Please make sure you have Entity annotation tagged on your model class"); }
@Override public void apply(H.Request req, H.Response resp) { throw E.unsupport("RenderAny does not support " + "apply to request and response. Please use apply(AppContext) instead"); }
@Override public void prepareAuthentication(ActionContext context) { throw E.unsupport(); } }
@Override public void markAsDone() { E.unsupport(); } };
@Override public void remove() { E.unsupport(); } };
/** * Returns a {@link Dao} object that can operate on this entity of * the entities with the same type. * * <p>Note this method needs to be enhanced by framework to be called</p> * * @return the {@code Dao} object */ public static <T extends Dao> T dao() { throw E.unsupport("Please make sure you have Entity annotation tagged on your model class"); }
@Override public ParamValueLoader wrapWithRuntimeType(Class<?> type) { throw E.unsupport(); } }
@Override void appendTo(InsnList list, int varIndex, String type) { throw E.unsupport(); } };
@Override public void prepareAuthentication(ActionContext context) { throw E.unsupport(); } };
@Override public void remove() { throw E.unsupport(); } }
@Override public void registerEntityOrMappedSuperClass(String className) { E.unsupport(); }
@Override public void registerEntityName(String className, String entityName) { E.unsupport(); }
@Override public void registerLastModifiedAtField(String className, String fieldName) { E.unsupport(); }
@Override public T sendError(int sc, String msg) { throw E.unsupport(); }
@Override public String paramVal(String s) { throw E.unsupport(); }
@Override public void apply(H.Request req, H.Response resp) { renderArgsBag.remove(); throw E.unsupport("RenderTemplate does not support " + "apply to request and response. Please use apply(AppContext) instead"); }
@Override public Object load(Object bean, ActContext<?> context, boolean noDefaultValue) { if (context instanceof ActionContext) { return load((ActionContext) context, noDefaultValue); } throw E.unsupport(); }
@Override public Object load(Object bean, ActContext<?> context, boolean noDefaultValue) { if (context instanceof ActionContext) { return load((ActionContext) context, noDefaultValue); } throw E.unsupport(); }
@Deprecated public <DI extends DependencyInjector> App injector(DI dependencyInjector) { E.NPE(dependencyInjector); E.illegalStateIf(null != this.dependencyInjector, "Dependency injection factory already set"); throw E.unsupport(); }