Class QueryUri
java.lang.Object
ch.tocco.nice2.netui.spi.bind.util.AbstractUriTarget
ch.tocco.nice2.netui.impl.bind.protocols.entity.AbstractPersistUriTarget
ch.tocco.nice2.netui.impl.bind.protocols.entity.QueryUri
- All Implemented Interfaces:
UriTarget,EntityListUriTarget
- Direct Known Subclasses:
AbstractRelationUri,RootEntityUri
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.netui.api.bind.UriTarget
UriTarget.Method -
Field Summary
FieldsFields inherited from class ch.tocco.nice2.netui.impl.bind.protocols.entity.AbstractPersistUriTarget
resolverFields inherited from class ch.tocco.nice2.netui.spi.bind.util.AbstractUriTarget
methods, type, uri -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQueryUri(URI uri, UriResolver resolver, EntityManager manager) protectedQueryUri(URI uri, UriResolver resolver, EntityManager manager, Set<UriTarget.Method> methods) -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractEntityUri.DeleteHandlerprotected abstract Queryprotected UriTargetCache.Creator<AbstractEntityUri, URI> creatorByIndex(int index) protected UriTargetCache.Creator<AbstractEntityUri, URI> protected UriTargetCache.Creator<AbstractEntityUri, URI> protected AbstractPersistUriTargetdoParametrize(UriTargetCache<URI> cache, URI uri, UriQuery query) get()getQuery()parametrize(UriTargetCache<URI> cache, UriQuery query) protected EntityListread()resolve(UriTargetCache<URI> cache, UriIterator iter) Methods inherited from class ch.tocco.nice2.netui.impl.bind.protocols.entity.AbstractPersistUriTarget
getLastModTime, getLastModUser, getVersion, isPersistentMethods inherited from class ch.tocco.nice2.netui.spi.bind.util.AbstractUriTarget
checkMethod, checkNotNull, checkType, delete, finalUri, finalUri, getMethods, getType, getUri, isInvalid, put, stripFragment, toString, unsupportedType
-
Field Details
-
manager
-
-
Constructor Details
-
QueryUri
protected QueryUri(URI uri, UriResolver resolver, EntityManager manager) throws UnresolvableUriException - Throws:
UnresolvableUriException
-
QueryUri
protected QueryUri(URI uri, UriResolver resolver, EntityManager manager, Set<UriTarget.Method> methods) throws UnresolvableUriException - Throws:
UnresolvableUriException
-
-
Method Details
-
get
- Specified by:
getin interfaceUriTarget- Overrides:
getin classAbstractUriTarget- Throws:
UriStoreException
-
getQuery
- Throws:
PersistExceptionUriStoreException
-
createQuery
- Throws:
PersistExceptionUriStoreException
-
getEntityList
- Specified by:
getEntityListin interfaceEntityListUriTarget- Throws:
UriStoreException
-
read
- Throws:
PersistExceptionUriStoreException
-
resolve
public AbstractPersistUriTarget resolve(UriTargetCache<URI> cache, UriIterator iter) throws UnresolvableUriException, PersistException - Specified by:
resolvein classAbstractPersistUriTarget- Throws:
UnresolvableUriExceptionPersistException
-
creatorByIndex
-
creatorByKey
-
creatorForNew
-
createDeleteHandler
-
parametrize
public QueryUri parametrize(UriTargetCache<URI> cache, UriQuery query) throws UnresolvableUriException - Overrides:
parametrizein classAbstractPersistUriTarget- Throws:
UnresolvableUriException
-
doParametrize
protected AbstractPersistUriTarget doParametrize(UriTargetCache<URI> cache, URI uri, UriQuery query) throws UnresolvableUriException - Overrides:
doParametrizein classAbstractPersistUriTarget- Throws:
UnresolvableUriException
-