Class DataModelingManager

java.lang.Object
com.orchestranetworks.dma.api.DataModelingManager

public abstract class DataModelingManager extends Object
Main facade for retrieving the data models contained in the Data Modeling Assistant (DMA).
Since:
6.2.2
See Also:
  • Constructor Details

    • DataModelingManager

      public DataModelingManager()
  • Method Details

    • getDataModelingManager

      public static final DataModelingManager getDataModelingManager(Repository aRepository)
      Returns the facade for managing data models defined in the specified repository.
      Throws:
      IllegalArgumentException - if the Repository is not defined.
    • getDataModels

      public abstract List<DMADataModel> getDataModels(Session aSessionOrNull)
      Retrieves the data models defined in the Data Modeling Assistant (DMA).

      Permissions are not resolved if the specified session is null.

      See Also:
    • getDataModels

      public abstract List<DMADataModel> 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

      public abstract DMADataModel lookupDataModel(String aDataModelName, Session aSessionOrNull)
      Returns the specified data model.

      Permissions are resolved using this method if a session is specified.

      Returns null if 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

      public abstract DMADataModel lookupDataModel(String aDataModelName)
      Returns the specified data model.

      Permissions are not resolved using this method.

      This method is equivalent to lookupDataModel(aDataModelName, null).

      Returns null if it cannot be found.

      Throws:
      IllegalArgumentException - if the data model name is not defined.
      See Also: