Class RequestTypeService

java.lang.Object
edu.ucsb.cs156.rec.services.RequestTypeService

@Service public class RequestTypeService extends Object
Service for managing Request Types.
  • Constructor Details

    • RequestTypeService

      public RequestTypeService()
  • Method Details

    • loadRequestTypes

      public RequestTypeService.LoadResult loadRequestTypes()
      Load hardcoded request types into the database if they don't already exist.

      This method checks for each hardcoded request type and only creates it if it's not already in the database.

      Returns:
      LoadResult containing the number of types loaded and skipped