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

## Uses of Class
org.gcube.portal.trainingmodule.database.DatabaseServiceException

- Packages that use DatabaseServiceException
  Package | Description
  --- | ---
  org.gcube.portal.trainingmodule.database |
  org.gcube.portal.trainingmodule.persistence |

- - ### Uses of DatabaseServiceException in org.gcube.portal.trainingmodule.database

    Methods in org.gcube.portal.trainingmodule.database that throw DatabaseServiceException
    Modifier and Type | Method and Description
    --- | ---
    `int` | DaoViewer.`countItems()` Count items.
    `boolean` | DaoUpdater.`create(T item)` Creates the.
    `javax.persistence.EntityManager` | JavaPersistenceHandler.`createNewManager()` Creates the new manager.
    `int` | DaoUpdater.`deleteItemByInternalId(long internalId)` Delete item by internal id.
    `List<T>` | JavaPersistenceHandler.`executeCriteriaQuery(javax.persistence.criteria.CriteriaQuery<Object> criteriaQuery)` Execute criteria query.
    `List<T>` | JavaPersistenceHandler.`executeTypedQuery(javax.persistence.criteria.CriteriaQuery<Object> cq, int startIndex, int offset)` Execute typed query.
    `javax.persistence.criteria.CriteriaBuilder` | JavaPersistenceHandler.`getCriteriaBuilder()` Gets the criteria builder.
    `T` | DaoViewer.`getItemByKey(Long id, Class<T> t)` Gets the item by key.
    `List<T>` | DaoViewer.`getRows()` Gets the rows.
    `List<T>` | DaoViewer.`getRows(int startIndex, int offset)` Gets the rows.
    `List<T>` | DaoViewer.`getRowsFiltered(Map<String,String> filterMap)` Gets the rows filtered.
    `List<T>` | DaoViewer.`getRowsOrdered(String orderByField, AbstractPersistence.SQL_ORDER order)` Gets the rows ordered.
    `boolean` | DaoUpdater.`insert(T item)` Insert.
    `boolean` | DaoUpdater.`remove(T item, boolean transaction)` Removes the.
    `int` | DaoUpdater.`removeAll()` Removes the all.
    `T` | DaoUpdater.`update(T item)` Update.

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

    Methods in org.gcube.portal.trainingmodule.persistence that throw DatabaseServiceException
    Modifier and Type | Method and Description
    --- | ---
    `int` | AbstractPersistence.`countItems()`
    `boolean` | AbstractPersistence.`create(T item)`
    `javax.persistence.EntityManager` | AbstractPersistence.`createNewManager()`
    `int` | AbstractPersistence.`deleteItemByInternalId(long internalId)`
    `int` | TrainingUnitPersistence.`deleteUnitsForTrainingProject(TrainingProject project)` Delete units for training project.
    `List<T>` | AbstractPersistence.`executeCriteriaQuery(javax.persistence.criteria.CriteriaQuery<Object> criteriaQuery)`
    `List<T>` | AbstractPersistence.`executeTypedQuery(javax.persistence.criteria.CriteriaQuery<Object> cq, int startIndex, int offset)`
    `javax.persistence.criteria.CriteriaBuilder` | AbstractPersistence.`getCriteriaBuilder()`
    `T` | AbstractPersistence.`getItemByKey(Long id, Class<T> t)`
    `List<T>` | AbstractPersistence.`getItemForInternalID(long internalID)` Gets the item for internal ID.
    `List<TrainingUnit>` | TrainingUnitPersistence.`getListUnitForTrainingProject(TrainingProject project)` Gets the list unit for training project.
    `List<T>` | AbstractPersistence.`getRows()`
    `List<T>` | AbstractPersistence.`getRows(int startIndex, int offset)`
    `List<T>` | AbstractPersistence.`getRowsFiltered(Map<String,String> andFilterMap)`
    `List<T>` | AbstractPersistence.`getRowsOrdered(String orderByField, AbstractPersistence.SQL_ORDER order)`
    `List<TrainingProject>` | TrainingProjectPersistence.`getTrainingProjectForInternalID(int internalID)` Gets the training project for internal ID.
    `List<ProgressPerUnit>` | TrainingProgressUnitPersistence.`getTrainingUnitForInternalID(int internalID)` Gets the training unit for internal ID.
    `List<TrainingUnit>` | TrainingUnitPersistence.`getTrainingUnitForInternalID(int internalID)` Gets the training unit for internal ID.
    `boolean` | AbstractPersistence.`insert(T item)`
    `boolean` | AbstractPersistence.`remove(T item, boolean transaction)`
    `int` | AbstractPersistence.`removeAll()`
    `T` | AbstractPersistence.`update(T item)`
    `TrainingProject` | TrainingProjectPersistence.`updateTrainingProjectInfo(TrainingProject training)` Update training project info.
    `TrainingUnit` | TrainingUnitPersistence.`updateTrainingUnitInfo(TrainingUnit training)` Update training unit info.

Copyright © 2018. All Rights Reserved.