org.fishbolt.common.manager.ext
Interface IFindManager<O extends IObject<?>,P>

Type Parameters:
O - object type
P - unique identity type
All Superinterfaces:
IManager<O>

public interface IFindManager<O extends IObject<?>,P>
extends IManager<O>

Lookups an object by the its unique identity


Method Summary
 O find(P identity)
           
 P getIdentity(O object)
          Provides object unique identity.
 

Method Detail

find

O find(P identity)
Parameters:
identity - unique identity
Returns:
object with the specified identity or null

getIdentity

P getIdentity(O object)
Provides object unique identity.

Parameters:
object - to get identity for
Returns:
unique identity