ome.services.sharing.data
Class ShareItems

java.lang.Object
  extended by java.util.AbstractMap
      extended by Freeze.Map
          extended by ome.services.sharing.data.ShareItems
All Implemented Interfaces:
Freeze.KeyCodec, Map, SortedMap

public class ShareItems
extends Freeze.Map


Nested Class Summary
 
Nested classes/interfaces inherited from class Freeze.Map
Freeze.Map.EntryIterator, Freeze.Map.Index
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
 
Fields inherited from class Freeze.Map
_connection, _db, _errorPrefix, _token, _trace
 
Constructor Summary
ShareItems(Freeze.Connection __connection, String __dbName)
           
ShareItems(Freeze.Connection __connection, String __dbName, boolean __createDb)
           
ShareItems(Freeze.Connection __connection, String __dbName, boolean __createDb, Comparator __comparator)
           
ShareItems(Freeze.Connection __connection, String __dbName, boolean __createDb, Comparator __comparator, Map __indexComparators)
           
 
Method Summary
 Object decodeKey(byte[] b, Ice.Communicator communicator)
           
 Object decodeValue(byte[] b, Ice.Communicator communicator)
           
 byte[] encodeKey(Object o, Ice.Communicator communicator)
           
 byte[] encodeValue(Object o, Ice.Communicator communicator)
           
 Freeze.Map.EntryIterator findByShare(long __index)
           
 Freeze.Map.EntryIterator findByShare(long __index, boolean __onlyDups)
           
 Freeze.Map.EntryIterator findByType(String __index)
           
 Freeze.Map.EntryIterator findByType(String __index, boolean __onlyDups)
           
static void recreate(Freeze.Connection __connection, String __dbName, Comparator __comparator)
           
static void recreate(Freeze.Connection __connection, String __dbName, Comparator __comparator, Map __indexComparators)
           
 int shareCount(long __index)
           
 int typeCount(String __index)
           
 
Methods inherited from class Freeze.Map
clear, close, closeAllIterators, closeDb, comparator, containsKey, containsValue, destroy, entrySet, fastPut, fastRemove, finalize, firstKey, get, getConnection, headMap, headMapForIndex, init, init, lastKey, mapForIndex, put, recreate, remove, size, subMap, subMapForIndex, tailMap, tailMapForIndex
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, isEmpty, keySet, putAll, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.SortedMap
keySet, values
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty, putAll
 

Constructor Detail

ShareItems

public ShareItems(Freeze.Connection __connection,
                  String __dbName,
                  boolean __createDb,
                  Comparator __comparator,
                  Map __indexComparators)

ShareItems

public ShareItems(Freeze.Connection __connection,
                  String __dbName,
                  boolean __createDb,
                  Comparator __comparator)

ShareItems

public ShareItems(Freeze.Connection __connection,
                  String __dbName,
                  boolean __createDb)

ShareItems

public ShareItems(Freeze.Connection __connection,
                  String __dbName)
Method Detail

recreate

public static void recreate(Freeze.Connection __connection,
                            String __dbName,
                            Comparator __comparator,
                            Map __indexComparators)

recreate

public static void recreate(Freeze.Connection __connection,
                            String __dbName,
                            Comparator __comparator)

findByType

public Freeze.Map.EntryIterator findByType(String __index,
                                           boolean __onlyDups)

findByType

public Freeze.Map.EntryIterator findByType(String __index)

typeCount

public int typeCount(String __index)

findByShare

public Freeze.Map.EntryIterator findByShare(long __index,
                                            boolean __onlyDups)

findByShare

public Freeze.Map.EntryIterator findByShare(long __index)

shareCount

public int shareCount(long __index)

encodeKey

public byte[] encodeKey(Object o,
                        Ice.Communicator communicator)

decodeKey

public Object decodeKey(byte[] b,
                        Ice.Communicator communicator)

encodeValue

public byte[] encodeValue(Object o,
                          Ice.Communicator communicator)
Specified by:
encodeValue in class Freeze.Map

decodeValue

public Object decodeValue(byte[] b,
                          Ice.Communicator communicator)
Specified by:
decodeValue in class Freeze.Map


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.