/** * An analog to EntityProxy for domain types that do not have an identity * concept. */ @ProxyFor(Object.class) public interface ValueProxy extends BaseProxy { }
/** * A stable, opaque id of an {@link EntityProxy} that remains stable across * updates, creates, deletes on the client. * <p> * In particular, an {@link EntityProxy} foo that is yet to be persisted and a * copy of foo after being persisted have equal {@link EntityProxyId}. * * @param <P> the entity type */ @ProxyFor(Object.class) public interface EntityProxyId<P extends EntityProxy> { /** * Returns the class of the proxy identified. * * @return a Class object of type P */ Class<P> getProxyClass(); }
/** * A proxy for a server-side domain object. */ @ProxyFor(Object.class) public interface EntityProxy extends BaseProxy { /** * Returns the {@link EntityProxyId} that identifies a particular instance of * the type proxied by the receiver. * <p> * An id returned by a proxy newly created by {@link RequestContext#create} * {@link Object#equals(Object) equals} those returned later by proxies to the * persisted object. * <p> * Subtypes should override to declare they return a stable id of their own * type, to allow type safe use of the request objects returned by * {@link RequestFactory#find(EntityProxyId)}. * * @return an {@link EntityProxyId} instance */ EntityProxyId<?> stableId(); }
/** * An analog to EntityProxy for domain types that do not have an identity * concept. */ @ProxyFor(Object.class) public interface ValueProxy extends BaseProxy { }
/** * An analog to EntityProxy for domain types that do not have an identity * concept. */ @ProxyFor(Object.class) public interface ValueProxy extends BaseProxy { }
/** * This interface is the note's entity-proxy. * An entity proxy is a client-side representation of a server-side entity. The proxy interfaces are implemented by RequestFactory. * */ @ProxyFor(value = NoteBean.class) public interface NoteValueProxy extends ValueProxy { public void setTitle(String title); public void setText(String text); public void setPath(String path); public String getTitle(); public String getText(); public String getPath(); }
/** * An analog to EntityProxy for domain types that do not have an identity * concept. */ @ProxyFor(Object.class) public interface ValueProxy extends BaseProxy { }
/** * A stable, opaque id of an {@link EntityProxy} that remains stable across * updates, creates, deletes on the client. * <p> * In particular, an {@link EntityProxy} foo that is yet to be persisted and a * copy of foo after being persisted have equal {@link EntityProxyId}. * * @param <P> the entity type */ @ProxyFor(Object.class) public interface EntityProxyId<P extends EntityProxy> { /** * Returns the class of the proxy identified. * * @return a Class object of type P */ Class<P> getProxyClass(); }
/** * A stable, opaque id of an {@link EntityProxy} that remains stable across * updates, creates, deletes on the client. * <p> * In particular, an {@link EntityProxy} foo that is yet to be persisted and a * copy of foo after being persisted have equal {@link EntityProxyId}. * * @param <P> the entity type */ @ProxyFor(Object.class) public interface EntityProxyId<P extends EntityProxy> { /** * Returns the class of the proxy identified. * * @return a Class object of type P */ Class<P> getProxyClass(); }
/** * A stable, opaque id of an {@link EntityProxy} that remains stable across * updates, creates, deletes on the client. * <p> * In particular, an {@link EntityProxy} foo that is yet to be persisted and a * copy of foo after being persisted have equal {@link EntityProxyId}. * * @param <P> the entity type */ @ProxyFor(Object.class) public interface EntityProxyId<P extends EntityProxy> { /** * Returns the class of the proxy identified. * * @return a Class object of type P */ Class<P> getProxyClass(); }
/** * A proxy for a server-side domain object. */ @ProxyFor(Object.class) public interface EntityProxy extends BaseProxy { /** * Returns the {@link EntityProxyId} that identifies a particular instance of * the type proxied by the receiver. * <p> * An id returned by a proxy newly created by {@link RequestContext#create} * {@link Object#equals(Object) equals} those returned later by proxies to the * persisted object. * <p> * Subtypes should override to declare they return a stable id of their own * type, to allow type safe use of the request objects returned by * {@link RequestFactory#find(EntityProxyId)}. * * @return an {@link EntityProxyId} instance */ EntityProxyId<?> stableId(); }
/** * A proxy for a server-side domain object. */ @ProxyFor(Object.class) public interface EntityProxy extends BaseProxy { /** * Returns the {@link EntityProxyId} that identifies a particular instance of * the type proxied by the receiver. * <p> * An id returned by a proxy newly created by {@link RequestContext#create} * {@link Object#equals(Object) equals} those returned later by proxies to the * persisted object. * <p> * Subtypes should override to declare they return a stable id of their own * type, to allow type safe use of the request objects returned by * {@link RequestFactory#find(EntityProxyId)}. * * @return an {@link EntityProxyId} instance */ EntityProxyId<?> stableId(); }
/** * A proxy for a server-side domain object. */ @ProxyFor(Object.class) public interface EntityProxy extends BaseProxy { /** * Returns the {@link EntityProxyId} that identifies a particular instance of * the type proxied by the receiver. * <p> * An id returned by a proxy newly created by {@link RequestContext#create} * {@link Object#equals(Object) equals} those returned later by proxies to the * persisted object. * <p> * Subtypes should override to declare they return a stable id of their own * type, to allow type safe use of the request objects returned by * {@link RequestFactory#find(EntityProxyId)}. * * @return an {@link EntityProxyId} instance */ EntityProxyId<?> stableId(); }