Class AbstractPersistUriTarget
java.lang.Object
ch.tocco.nice2.netui.spi.bind.util.AbstractUriTarget
ch.tocco.nice2.netui.impl.bind.protocols.entity.AbstractPersistUriTarget
- All Implemented Interfaces:
UriTarget
- Direct Known Subclasses:
AbstractEntityUri
,EntityUri
,ModelUri
,QueryUri
-
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.spi.bind.util.AbstractUriTarget
methods, type, uri
-
Constructor Summary
ConstructorDescriptionAbstractPersistUriTarget
(URI uri, UriResolver resolver, Class<?> type, Set<UriTarget.Method> methods) AbstractPersistUriTarget
(URI uri, Class<?> type, UriResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractPersistUriTarget
doParametrize
(UriTargetCache<URI> cache, URI uri, UriQuery query) @Nullable org.joda.time.DateTime
@Nullable String
long
boolean
protected AbstractPersistUriTarget
parametrize
(UriTargetCache<URI> cache, UriQuery query) protected abstract AbstractPersistUriTarget
resolve
(UriTargetCache<URI> cache, UriIterator iter) Methods inherited from class ch.tocco.nice2.netui.spi.bind.util.AbstractUriTarget
checkMethod, checkNotNull, checkType, delete, finalUri, finalUri, get, getMethods, getType, getUri, isInvalid, put, stripFragment, toString, unsupportedType
-
Field Details
-
resolver
-
-
Constructor Details
-
AbstractPersistUriTarget
-
AbstractPersistUriTarget
public AbstractPersistUriTarget(URI uri, UriResolver resolver, Class<?> type, Set<UriTarget.Method> methods)
-
-
Method Details
-
resolve
protected abstract AbstractPersistUriTarget resolve(UriTargetCache<URI> cache, UriIterator iter) throws UnresolvableUriException, PersistException, UriStoreException -
parametrize
protected AbstractPersistUriTarget parametrize(UriTargetCache<URI> cache, UriQuery query) throws UnresolvableUriException - Throws:
UnresolvableUriException
-
doParametrize
protected AbstractPersistUriTarget doParametrize(UriTargetCache<URI> cache, URI uri, UriQuery query) throws UnresolvableUriException - Throws:
UnresolvableUriException
-
getVersion
- Throws:
UriStoreException
-
getLastModUser
- Throws:
UriStoreException
-
getLastModTime
- Throws:
UriStoreException
-
isPersistent
public boolean isPersistent()
-