ome.services.export
Class ExporterIndex

java.lang.Object
  extended by ome.services.export.ExporterIndex

public class ExporterIndex
extends Object

State maintained for each element type in the ExporterStepFactory.

Since:
Beta4.2.3
Author:
Josh Moore, josh at glencoesoftware.com

Constructor Summary
ExporterIndex(int indicesNeeded)
           
 
Method Summary
 void add(GraphStep step, long[] ids)
           
 long getIdByOrder(int order)
          Returns the id of an object based on the order in which it was added.
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExporterIndex

public ExporterIndex(int indicesNeeded)
Method Detail

size

public int size()

add

public void add(GraphStep step,
                long[] ids)
         throws GraphException
Throws:
GraphException

getIdByOrder

public long getIdByOrder(int order)
                  throws GraphException
Returns the id of an object based on the order in which it was added.

Parameters:
order - order in which the looked for object was added via #add(GraphStep, long[]). This value should be less than {@link #size()}
Returns:
Throws:
GraphException


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

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