Package com.orchestranetworks.dma.api
Class DataModelingManager
java.lang.Object
com.orchestranetworks.dma.api.DataModelingManager
Main facade for retrieving the data models contained in the Data Modeling Assistant (DMA).
- Since:
- 6.2.2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final DataModelingManagergetDataModelingManager(Repository aRepository) Returns thefacadefor managing data models defined in the specified repository.abstract List<DMADataModel>Retrieves the data models defined in the Data Modeling Assistant (DMA) regardless their permissions.abstract List<DMADataModel>getDataModels(Session aSessionOrNull) Retrieves the data models defined in the Data Modeling Assistant (DMA).abstract DMADataModellookupDataModel(String aDataModelName) Returns the specified data model.abstract DMADataModellookupDataModel(String aDataModelName, Session aSessionOrNull) Returns the specified data model.
-
Constructor Details
-
DataModelingManager
public DataModelingManager()
-
-
Method Details
-
getDataModelingManager
Returns thefacadefor managing data models defined in the specified repository.- Throws:
IllegalArgumentException- if theRepositoryis not defined.
-
getDataModels
Retrieves the data models defined in the Data Modeling Assistant (DMA).Permissions are not resolved if the specified session is
null. -
getDataModels
Retrieves the data models defined in the Data Modeling Assistant (DMA) regardless their permissions.This method is equivalent to
getDataModels(null).- See Also:
-
lookupDataModel
Returns the specified data model.Permissions are resolved using this method if a session is specified.
Returns
nullif it cannot be found or if a session is defined and the related user is not allowed to view it.- Throws:
IllegalArgumentException- if the data model name is not defined.
-
lookupDataModel
Returns the specified data model.Permissions are not resolved using this method.
This method is equivalent to
lookupDataModel(aDataModelName, null).Returns
nullif it cannot be found.- Throws:
IllegalArgumentException- if the data model name is not defined.- See Also:
-