com.evolveum.midpoint.web.model
Interface ObjectTypeCatalog

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ObjectTypeCatalogImpl

public interface ObjectTypeCatalog
extends java.io.Serializable

GUI Model Interface. Provides unified access to the business logic, model, repository or anything else that may be "down there". The Goal is to isolate GUI from deployment changes and changes in business logic. This interface is supposed to support many object types. ObjectTypeCatalog provides instances of ObjectManagers. ObjectManagers can manipulate individual object types. DRAFT: this is the very first and quite simple version.

Author:
semancik

Method Summary
<C extends ObjectType,T>
ObjectManager<T>
getObjectManager(java.lang.Class<C> objectType, java.lang.Class<T> dtoType)
          Returns instance of ObjectManager appropriate for specified class.
 java.util.Set<java.lang.Class<? extends ObjectType>> listSupportedObjectTypes()
          Retuns list of supported object types (in form of Java classes).
 

Method Detail

listSupportedObjectTypes

java.util.Set<java.lang.Class<? extends ObjectType>> listSupportedObjectTypes()
Retuns list of supported object types (in form of Java classes).

Returns:
list of supported object types (in form of Java classes)

getObjectManager

<C extends ObjectType,T> ObjectManager<T> getObjectManager(java.lang.Class<C> objectType,
                                                           java.lang.Class<T> dtoType)
Returns instance of ObjectManager appropriate for specified class.

Type Parameters:
C - stadard object type (in form of Java classes)
T - custom DTO class
Parameters:
objectType -
dtoType -
Returns:


Copyright © 2011 evolveum. All Rights Reserved.