Class MyEntityRepo

java.lang.Object
no.ntnu.idatt1002.demo.repo.MyEntityRepo

public class MyEntityRepo extends Object
Repository for the MyEntity-entity
Author:
nilstes
  • Constructor Details

    • MyEntityRepo

      public MyEntityRepo()
  • Method Details

    • getMyEntity

      public MyEntity getMyEntity(String id)
      Get object with given id
      Parameters:
      id - the entity id
      Returns:
      an instance of MyEntity
    • findMyEntities

      public List<MyEntity> findMyEntities(String someParameter)
    • addMyEntity

      public void addMyEntity(MyEntity obj)
    • deleteMyEntity

      public void deleteMyEntity(String id)