Package ch.tocco.nice2.dms.api.tree.uri
Class AbstractContentUriTarget
java.lang.Object
ch.tocco.nice2.dms.api.tree.uri.AbstractContentUriTarget
- All Implemented Interfaces:
ContentUriTarget
,UriTarget
- Direct Known Subclasses:
AdminUriTarget
,BinaryContentUriTarget
,ContentTreeNodeUriTarget
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.netui.api.bind.UriTarget
UriTarget.Method
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractContentUriTarget
(Entity delegate, URI uri) protected
AbstractContentUriTarget
(Entity delegate, URI uri, boolean isFallback) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.dms.api.tree.uri.ContentUriTarget
get
-
Constructor Details
-
AbstractContentUriTarget
-
AbstractContentUriTarget
-
-
Method Details
-
getMethods
- Specified by:
getMethods
in interfaceUriTarget
-
getType
-
put
- Specified by:
put
in interfaceUriTarget
- Throws:
UriStoreException
-
delete
- Specified by:
delete
in interfaceUriTarget
- Throws:
UriStoreException
-
getUri
-
getVersion
- Specified by:
getVersion
in interfaceUriTarget
- Throws:
UriStoreException
-
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
-
getEntity
- Specified by:
getEntity
in interfaceContentUriTarget
-
isFallback
public boolean isFallback()- Specified by:
isFallback
in interfaceContentUriTarget
-
isCachable
public boolean isCachable()- Specified by:
isCachable
in interfaceContentUriTarget
- Returns:
true
if thisContentUriTarget
can be cached by itsch.tocco.nice2.netui.spi.bind.ProtocolProvider
,false
otherwise
-
setIsFallback
public void setIsFallback() -
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. -
equals
-
hashCode
public int hashCode()
-