Version: 1.1.1

org.biomoby.registry.sync.handler
Interface MobyHandler<T extends Comparable & LSIDAccessible>

Type Parameters:
T - the type of entry to synchronize
All Known Implementing Classes:
AbstractMobyHandler, DataTypeHandler, NamespaceHandler, ServiceHandler, ServiceTypeHandler

public interface MobyHandler<T extends Comparable & LSIDAccessible>

Basic interface for classes to synchronize a specific entry of the mobycentrals (eg MobyServices, MobyDataType etc).

Author:
groscurt

Method Summary
 boolean change(T object)
          Changes the given object in the local repository.
 boolean register(T object)
          Register a new object to the local moby central.
 boolean unregister(T object)
          Unregister an existing object from the local moby central.
 

Method Detail

register

boolean register(T object)
Register a new object to the local moby central.

Parameters:
object - the object to register
Returns:
whether the registration was successfull

unregister

boolean unregister(T object)
Unregister an existing object from the local moby central.

Parameters:
object - the object which shall be unregistered
Returns:
whether the unregistration was successfull

change

boolean change(T object)
Changes the given object in the local repository. First the existing one is unregistered and then the new one is registered.

Parameters:
object - the object to change
Returns:
whether the changing was successfull

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010