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 Link icon

    • MyEntityRepo Link icon

      public MyEntityRepo()
  • Method Details Link icon

    • getMyEntity Link icon

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

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

      public void addMyEntity(MyEntity obj)
    • deleteMyEntity Link icon

      public void deleteMyEntity(String id)