flux.repository
Interface RepositoryIterator


public interface RepositoryIterator

Lists multiple flow charts or engine configurations or agent configurations or PGP keys or business intervals from the repository. YOU MUST CALL CLOSE() ON THIS ITERATOR WHEN YOU ARE FINISHED USING IT !

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Method Summary
 void close()
          YOU MUST CALL CLOSE() ON THIS ITERATOR WHEN YOU ARE FINISHED USING IT!
 boolean hasNext()
          Indicates whether there are more flow charts or engine configurations or agent configurations or PGP keys or business intervals in the repository.
 RepositoryElement next()
          Returns the next flow chart or engine configuration or agent configuration or PGP key or business interval in the repository.
 

Method Detail

close

void close()
           throws EngineException
YOU MUST CALL CLOSE() ON THIS ITERATOR WHEN YOU ARE FINISHED USING IT! After this iterator is closed, it can no longer be used.

Throws:
EngineException - If a system error occurs.

hasNext

boolean hasNext()
                throws EngineException
Indicates whether there are more flow charts or engine configurations or agent configurations or PGP keys or business intervals in the repository.

Returns:
Whether there are more flow charts or engine configurations or agent configurations or PGP keys or business intervals in the repository.
Throws:
EngineException - If a system error occurs.

next

RepositoryElement next()
                       throws EngineException
Returns the next flow chart or engine configuration or agent configuration or PGP key or business interval in the repository.

Returns:
The next flow chart or engine configuration or agent configuration or PGP key or business interval in the repository. Returns null if there are no more flow charts or engine configurations or agent configurations or PGP keys or business intervals in the repository.
Throws:
EngineException - If the next flow chart or engine configuration or agent configuration or PGP key or business interval could not be retrieved from the repository.


© 2014 Flux Corporation. All rights reserved.