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
Fields inherited from class ch.tocco.nice2.netui.impl.bind.protocols.entity.AbstractPersistUriTarget
resolver
Fields inherited from class ch.tocco.nice2.netui.spi.bind.util.AbstractUriTarget
methods, type, uri
-
Constructor Summary
ModifierConstructorDescriptionprotected
QueryUri
(URI uri, UriResolver resolver, EntityManager manager) protected
QueryUri
(URI uri, UriResolver resolver, EntityManager manager, Set<UriTarget.Method> methods) -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractEntityUri.DeleteHandler
protected abstract Query
protected UriTargetCache.Creator
<AbstractEntityUri, URI> creatorByIndex
(int index) protected UriTargetCache.Creator
<AbstractEntityUri, URI> protected UriTargetCache.Creator
<AbstractEntityUri, URI> protected AbstractPersistUriTarget
doParametrize
(UriTargetCache<URI> cache, URI uri, UriQuery query) get()
getQuery()
parametrize
(UriTargetCache<URI> cache, UriQuery query) protected EntityList
read()
resolve
(UriTargetCache<URI> cache, UriIterator iter) Methods inherited from class ch.tocco.nice2.netui.impl.bind.protocols.entity.AbstractPersistUriTarget
getLastModTime, getLastModUser, getVersion, isPersistent
Methods 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:
get
in interfaceUriTarget
- Overrides:
get
in classAbstractUriTarget
- Throws:
UriStoreException
-
getQuery
- Throws:
PersistException
UriStoreException
-
createQuery
- Throws:
PersistException
UriStoreException
-
getEntityList
- Specified by:
getEntityList
in interfaceEntityListUriTarget
- Throws:
UriStoreException
-
read
- Throws:
PersistException
UriStoreException
-
resolve
public AbstractPersistUriTarget resolve(UriTargetCache<URI> cache, UriIterator iter) throws UnresolvableUriException, PersistException - Specified by:
resolve
in classAbstractPersistUriTarget
- Throws:
UnresolvableUriException
PersistException
-
creatorByIndex
-
creatorByKey
-
creatorForNew
-
createDeleteHandler
-
parametrize
public QueryUri parametrize(UriTargetCache<URI> cache, UriQuery query) throws UnresolvableUriException - Overrides:
parametrize
in classAbstractPersistUriTarget
- Throws:
UnresolvableUriException
-
doParametrize
protected AbstractPersistUriTarget doParametrize(UriTargetCache<URI> cache, URI uri, UriQuery query) throws UnresolvableUriException - Overrides:
doParametrize
in classAbstractPersistUriTarget
- Throws:
UnresolvableUriException
-