org.xiruss.xirussrepository.client
Class VersionByResourceMapClient
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.xiruss.repository.common.RepositoryObjectMapCommonImpl
org.xiruss.repository.common.VersionMapImpl
org.xiruss.repository.common.VersionByResourceMapImpl
org.xiruss.xirussrepository.client.VersionByResourceMapClient
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map, RepositoryObjectMapCommon, VersionByResourceMap, VersionMap
public class VersionByResourceMapClient
- extends VersionByResourceMapImpl
Client-side implementation that allows us to instantiate the
map using only object IDs rather than fetching the resources
for each version.
FIXME: This obvious optimization hasn't been implemented yet.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xiruss.snapcm.api.helpers.VersionMap |
get |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, remove, size, values |
VersionByResourceMapClient
public VersionByResourceMapClient(XirussHttpApiClientHelper helper)
put
public void put(Version ver)
- Specified by:
put in interface VersionMap- Overrides:
put in class VersionByResourceMapImpl
put
public void put(Resource res,
Version ver)
- Specified by:
put in interface VersionByResourceMap- Overrides:
put in class VersionByResourceMapImpl
get
public Version get(Resource res)
- Specified by:
get in interface VersionByResourceMap- Overrides:
get in class VersionByResourceMapImpl
containsKey
public boolean containsKey(Resource res)
- Specified by:
containsKey in interface VersionByResourceMap- Overrides:
containsKey in class VersionByResourceMapImpl