public interface LibraryService
Modifier and Type | Method and Description |
---|---|
List<String> |
getCampusWithLibraries()
Returns a list of campus codes of campuses that have libraries
|
LibraryDao |
getDao()
Gets the reference to the
LibraryDao . |
LibraryHourSet |
getDisplayableHoursSet(LibraryHourSet hourSet)
Takes an hourset and generates a new hourset which can be displayed on the ui
|
List<Library> |
getLibraries()
Gets all the active libraries
|
Map<String,List<Library>> |
getLibrariesByCampus()
Gets the libraries in a map per campus sorted alphabetically on campus code
|
Library |
getLibrary(long libraryId)
Gets a library for the specified id
|
List<LibraryHourSet> |
getLibraryHourSets(long libraryId)
Gets the hour sets for a library
|
Library |
saveLibrary(Library library)
Persists the state of a library
|
LibraryHourPeriod |
saveLibraryHourPeriod(LibraryHourPeriod libraryHourPeriod)
Saves a library hour period
|
LibraryHourSet |
saveLibraryHourSets(LibraryHourSet lhs)
Saves a LibraryHourSet
|
void |
setDao(LibraryDao dao)
Sets the reference to the
LibraryDao . |
void setDao(LibraryDao dao)
LibraryDao
.dao
- The reference to the LibraryDao
.LibraryDao getDao()
LibraryDao
.LibraryDao
.List<Library> getLibraries()
Library getLibrary(long libraryId)
libraryId
- Id of the library to retrieve.List<String> getCampusWithLibraries()
List<LibraryHourSet> getLibraryHourSets(long libraryId)
libraryId
- Library saveLibrary(Library library)
library
- The library to persist.LibraryHourPeriod saveLibraryHourPeriod(LibraryHourPeriod libraryHourPeriod)
libraryHourPeriod
- LibraryHourSet getDisplayableHoursSet(LibraryHourSet hourSet)
Map<String,List<Library>> getLibrariesByCampus()
LibraryHourSet saveLibraryHourSets(LibraryHourSet lhs)
lhs
- Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.