Class AssignmentDao
- java.lang.Object
-
- ch.colabproject.colab.api.persistence.jpa.team.acl.AssignmentDao
-
public class AssignmentDao extends Object
Assignment persistenceNote : Most of database operations are handled by managed entities and cascade.
- Author:
- maxence, sandra
-
-
Constructor Summary
Constructors Constructor Description AssignmentDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteAssignment(Assignment assignment)
Delete the assignment from database.void
persistAssignment(Assignment assignment)
Persist a brand-new assignment to database
-
-
-
Method Detail
-
persistAssignment
public void persistAssignment(Assignment assignment)
Persist a brand-new assignment to database- Parameters:
assignment
- the new assignment to persist
-
deleteAssignment
public void deleteAssignment(Assignment assignment)
Delete the assignment from database. This can't be undone- Parameters:
assignment
- assignment to remove
-
-