Uses of Class org.gcube.portal.trainingmodule.dao.TrainingUnit (training-module-library 1.0.0-4.12.0-163223 API)
Date: 2018-07-19

## Uses of Class
org.gcube.portal.trainingmodule.dao.TrainingUnit

- Packages that use TrainingUnit
  Package | Description
  --- | ---
  org.gcube.portal.trainingmodule |
  org.gcube.portal.trainingmodule.persistence |
  org.gcube.portal.trainingmodule.shared |

- - ### Uses of TrainingUnit in org.gcube.portal.trainingmodule

    Methods in org.gcube.portal.trainingmodule that return TrainingUnit
    Modifier and Type | Method and Description
    --- | ---
    `TrainingUnit` | TrainingDTOManager.`getTrainingUnit(long unitId, String context, String owner)` Gets the training unit.
    `TrainingUnit` | TrainingDTOManager.`getTrainingUnitFor(String ownerLogin, String workspaceFolderId, String context)` Gets the training unit for.
    `TrainingUnit` | TrainingDTOManager.`storeNewUnit(long trainingProjectId, TrainingUnit unit, String context, String owner)` Store new unit.

    Methods in org.gcube.portal.trainingmodule that return types with arguments of type TrainingUnit
    Modifier and Type | Method and Description
    --- | ---
    `List<TrainingUnit>` | TrainingDTOManager.`getListUnitForTrainingProject(long trainingProjectId, String context)` Gets the list unit for training project.

    Methods in org.gcube.portal.trainingmodule with parameters of type TrainingUnit
    Modifier and Type | Method and Description
    --- | ---
    `TrainingUnit` | TrainingDTOManager.`storeNewUnit(long trainingProjectId, TrainingUnit unit, String context, String owner)` Store new unit.

  - ### Uses of TrainingUnit in org.gcube.portal.trainingmodule.persistence

    Methods in org.gcube.portal.trainingmodule.persistence that return TrainingUnit
    Modifier and Type | Method and Description
    --- | ---
    `TrainingUnit` | TrainingUnitPersistence.`updateTrainingUnitInfo(TrainingUnit training)` Update training unit info.

    Methods in org.gcube.portal.trainingmodule.persistence that return types with arguments of type TrainingUnit
    Modifier and Type | Method and Description
    --- | ---
    `List<TrainingUnit>` | TrainingUnitPersistence.`getListUnitForTrainingProject(TrainingProject project)` Gets the list unit for training project.
    `List<TrainingUnit>` | TrainingUnitPersistence.`getTrainingUnitForInternalID(int internalID)` Gets the training unit for internal ID.
    `javax.persistence.criteria.Root<TrainingUnit>` | TrainingUnitPersistence.`rootFrom(javax.persistence.criteria.CriteriaQuery<Object> cq)`

    Methods in org.gcube.portal.trainingmodule.persistence with parameters of type TrainingUnit
    Modifier and Type | Method and Description
    --- | ---
    `TrainingUnit` | TrainingUnitPersistence.`updateTrainingUnitInfo(TrainingUnit training)` Update training unit info.

  - ### Uses of TrainingUnit in org.gcube.portal.trainingmodule.shared

    Methods in org.gcube.portal.trainingmodule.shared that return TrainingUnit
    Modifier and Type | Method and Description
    --- | ---
    `static TrainingUnit` | DTOConverter.`toTrainingUnit(TrainingUnitDTO unit)` From training unit.

    Methods in org.gcube.portal.trainingmodule.shared with parameters of type TrainingUnit
    Modifier and Type | Method and Description
    --- | ---
    `static TrainingUnitDTO` | DTOConverter.`fromTrainingUnit(TrainingUnit unit)` From training unit.

    Method parameters in org.gcube.portal.trainingmodule.shared with type arguments of type TrainingUnit
    Modifier and Type | Method and Description
    --- | ---
    `static List<TrainingUnitDTO>` | DTOConverter.`fromListOfUnit(List<TrainingUnit> listUnit)` From list of unit.

Copyright © 2018. All Rights Reserved.