Class SimpleUriTarget<T>
java.lang.Object
ch.tocco.nice2.netui.spi.bind.util.SimpleUriTarget<T>
- All Implemented Interfaces:
UriTarget
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.netui.api.bind.UriTarget
UriTarget.Method
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
static final long
-
Constructor Summary
ConstructorDescriptionSimpleUriTarget
(Class<T> type, URI uri, T value) SimpleUriTarget
(Class<T> type, URI uri, T value, boolean persistent) SimpleUriTarget
(Class<T> type, URI uri, T value, long version) SimpleUriTarget
(Class<T> type, URI uri, T value, long version, boolean persistent) -
Method Summary
-
Field Details
-
DEFAULT_VERSION
public static final long DEFAULT_VERSION- See Also:
-
DEFAULT_PERSISTENT
public static final boolean DEFAULT_PERSISTENT- See Also:
-
-
Constructor Details
-
SimpleUriTarget
-
SimpleUriTarget
-
SimpleUriTarget
-
SimpleUriTarget
-
-
Method Details
-
getMethods
- Specified by:
getMethods
in interfaceUriTarget
-
getType
-
get
- Specified by:
get
in interfaceUriTarget
- Throws:
UriStoreException
-
put
- Specified by:
put
in interfaceUriTarget
- Throws:
UriStoreException
-
delete
- Specified by:
delete
in interfaceUriTarget
- Throws:
UriStoreException
-
getUri
-
getVersion
public long getVersion()- Specified by:
getVersion
in interfaceUriTarget
-
getLastModUser
- Specified by:
getLastModUser
in interfaceUriTarget
- Throws:
UriStoreException
-
getLastModTime
- Specified by:
getLastModTime
in interfaceUriTarget
- Throws:
UriStoreException
-
isPersistent
public boolean isPersistent()- Specified by:
isPersistent
in interfaceUriTarget
-
isInvalid
public boolean isInvalid()Description copied from interface:UriTarget
This method is used by internal URI cache to determine if an item retrieved from cache is still valid. If the target is invalid, the URI will be resolved again.
-