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

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

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

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

    Methods in org.gcube.portal.trainingmodule that return TrainingProject
    Modifier and Type | Method and Description
    --- | ---
    `TrainingProject` | TrainingDTOManager.`changeStatus(long trainingProjectId, boolean isActive, String context, String owner)` Change status.
    `TrainingProject` | TrainingDTOManager.`getTrainingProject(long projectId, String context, String owner)` Gets the training project.
    `TrainingProject` | TrainingDTOManager.`storeNewCourse(TrainingProject project, String context, String owner)` Store new course.
    `TrainingProject` | TrainingDTOManager.`updateTrainingProject(TrainingProject project, String context)` Update training project.

    Methods in org.gcube.portal.trainingmodule that return types with arguments of type TrainingProject
    Modifier and Type | Method and Description
    --- | ---
    `List<TrainingProject>` | TrainingDTOManager.`getCoursesFor(String context)` Gets the user courses.
    `List<TrainingProject>` | TrainingDTOManager.`getOwnedCourses(String owner, String context)` Gets the owned courses.
    `protected List<TrainingProject>` | TrainingProjectJDBCManager.`selectTrainingProject(String context)` Select training project.

    Methods in org.gcube.portal.trainingmodule with parameters of type TrainingProject
    Modifier and Type | Method and Description
    --- | ---
    `TrainingProject` | TrainingDTOManager.`storeNewCourse(TrainingProject project, String context, String owner)` Store new course.
    `TrainingProject` | TrainingDTOManager.`updateTrainingProject(TrainingProject project, String context)` Update training project.

  - ### Uses of TrainingProject in org.gcube.portal.trainingmodule.dao

    Methods in org.gcube.portal.trainingmodule.dao that return TrainingProject
    Modifier and Type | Method and Description
    --- | ---
    `TrainingProject` | TrainingUnit.`getTrainingProjectRef()` Gets the training project ref.

    Methods in org.gcube.portal.trainingmodule.dao with parameters of type TrainingProject
    Modifier and Type | Method and Description
    --- | ---
    `void` | TrainingUnit.`setTrainingProjectRef(TrainingProject trainingProjectRef)` Sets the training project ref.

    Constructors in org.gcube.portal.trainingmodule.dao with parameters of type TrainingProject
    Constructor and Description
    `TrainingUnit(long internalId, String title, String workspaceFolderName, String description, String workspaceFolderId, String scope, String ownerLogin, TrainingProject trainingProjectRef)` Instantiates a new training unit.

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

    Methods in org.gcube.portal.trainingmodule.persistence that return TrainingProject
    Modifier and Type | Method and Description
    --- | ---
    `TrainingProject` | TrainingProjectPersistence.`updateTrainingProjectInfo(TrainingProject training)` Update training project info.

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

    Methods in org.gcube.portal.trainingmodule.persistence with parameters of type TrainingProject
    Modifier and Type | Method and Description
    --- | ---
    `int` | TrainingUnitPersistence.`deleteUnitsForTrainingProject(TrainingProject project)` Delete units for training project.
    `List<TrainingUnit>` | TrainingUnitPersistence.`getListUnitForTrainingProject(TrainingProject project)` Gets the list unit for training project.
    `TrainingProject` | TrainingProjectPersistence.`updateTrainingProjectInfo(TrainingProject training)` Update training project info.

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

    Methods in org.gcube.portal.trainingmodule.shared that return TrainingProject
    Modifier and Type | Method and Description
    --- | ---
    `static TrainingProject` | DTOConverter.`toTrainingProject(TrainingCourseDTO project)` To training project.

    Methods in org.gcube.portal.trainingmodule.shared with parameters of type TrainingProject
    Modifier and Type | Method and Description
    --- | ---
    `static TrainingCourseDTO` | DTOConverter.`fromTrainingProject(TrainingProject project)` From training project.

    Method parameters in org.gcube.portal.trainingmodule.shared with type arguments of type TrainingProject
    Modifier and Type | Method and Description
    --- | ---
    `static List<TrainingCourseDTO>` | DTOConverter.`fromListOfProject(List<TrainingProject> listPrj)` From list of project.

Copyright © 2018. All Rights Reserved.