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 UriTarget
UriTarget.Method -
Field Summary
Fields inherited from class AbstractPersistUriTarget
resolverFields inherited from class AbstractUriTarget
methods, type, uri -
Constructor Summary
ConstructorsConstructorDescriptionAbstractRelationUri(URI uri, UriResolver resolver, EntityManager manager, RelationModel relationModel) -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractEntityUri.DeleteHandlerprotected UriTargetCache.Creator<AbstractEntityUri, URI> voiddelete()getQuery()voidresolve(UriTargetCache<URI> cache, UriIterator iter) Methods inherited from class QueryUri
createQuery, creatorByIndex, creatorByKey, doParametrize, get, parametrize, readMethods inherited from class AbstractPersistUriTarget
getLastModTime, getLastModUser, getVersion, isPersistentMethods inherited from class 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:
resolvein classQueryUri- Throws:
UnresolvableUriExceptionPersistException
-
getQuery
- Overrides:
getQueryin classQueryUri- Throws:
PersistExceptionUriStoreException
-
getEntityList
- Specified by:
getEntityListin interfaceEntityListUriTarget- Overrides:
getEntityListin classQueryUri- Throws:
UriStoreException
-
creatorForNew
- Overrides:
creatorForNewin classQueryUri
-
createDeleteHandler
- Overrides:
createDeleteHandlerin classQueryUri
-
put
- Specified by:
putin interfaceUriTarget- Overrides:
putin classAbstractUriTarget- Parameters:
value- Either an Entity directly, or an URI pointing to an Entity.- Throws:
UriStoreException
-
delete
- Specified by:
deletein interfaceUriTarget- Overrides:
deletein classAbstractUriTarget- Throws:
UriStoreException
-