Class AbstractRelationUri
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
ch.tocco.nice2.netui.impl.bind.protocols.entity.AbstractRelationUri
- All Implemented Interfaces:
UriTarget
,EntityListUriTarget
-
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
ConstructorDescriptionAbstractRelationUri
(URI uri, UriResolver resolver, EntityManager manager, RelationModel relationModel) -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractEntityUri.DeleteHandler
protected UriTargetCache.Creator
<AbstractEntityUri, URI> void
delete()
getQuery()
void
resolve
(UriTargetCache<URI> cache, UriIterator iter) Methods inherited from class ch.tocco.nice2.netui.impl.bind.protocols.entity.QueryUri
createQuery, creatorByIndex, creatorByKey, doParametrize, get, parametrize, read
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, finalUri, finalUri, getMethods, getType, getUri, isInvalid, stripFragment, toString, unsupportedType
-
Constructor Details
-
AbstractRelationUri
public AbstractRelationUri(URI uri, UriResolver resolver, EntityManager manager, RelationModel relationModel) throws UnresolvableUriException - Throws:
UnresolvableUriException
-
-
Method Details
-
resolve
public AbstractPersistUriTarget resolve(UriTargetCache<URI> cache, UriIterator iter) throws UnresolvableUriException, PersistException - Overrides:
resolve
in classQueryUri
- Throws:
UnresolvableUriException
PersistException
-
getQuery
- Overrides:
getQuery
in classQueryUri
- Throws:
PersistException
UriStoreException
-
getEntityList
- Specified by:
getEntityList
in interfaceEntityListUriTarget
- Overrides:
getEntityList
in classQueryUri
- Throws:
UriStoreException
-
creatorForNew
- Overrides:
creatorForNew
in classQueryUri
-
createDeleteHandler
- Overrides:
createDeleteHandler
in classQueryUri
-
put
- Specified by:
put
in interfaceUriTarget
- Overrides:
put
in classAbstractUriTarget
- Parameters:
value
- Either an Entity directly, or an URI pointing to an Entity.- Throws:
UriStoreException
-
delete
- Specified by:
delete
in interfaceUriTarget
- Overrides:
delete
in classAbstractUriTarget
- Throws:
UriStoreException
-