Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.impl | |
org.openmrs.web.controller.encounter | |
org.openmrs.web.taglib |
Modifier and Type | Method and Description |
---|---|
Set<LocationTag> |
Location.getTags() |
Modifier and Type | Method and Description |
---|---|
void |
Location.addTag(LocationTag tag)
Attaches a tag to the Location.
|
void |
Location.removeTag(LocationTag tag)
Remove the tag from the Location.
|
Modifier and Type | Method and Description |
---|---|
void |
Location.setTags(Set<LocationTag> tags)
Set the tags which are attached to this Location.
|
Modifier and Type | Method and Description |
---|---|
LocationTag |
LocationService.getLocationTag(Integer locationTagId)
Returns a location tag given that locations primary key
locationTagId . |
LocationTag |
LocationService.getLocationTagByName(String tag)
Returns a location tag given the location's exact name (tag).
|
LocationTag |
LocationService.getLocationTagByUuid(String uuid)
Returns a location tag by uuid
|
LocationTag |
LocationService.retireLocationTag(LocationTag tag,
String reason)
Retire the given location tag.
|
LocationTag |
LocationService.saveLocationTag(LocationTag tag)
Save location tag to database (create if new or update if changed)
|
LocationTag |
LocationService.unretireLocationTag(LocationTag tag)
Unretire the given location tag.
|
Modifier and Type | Method and Description |
---|---|
List<LocationTag> |
LocationService.getAllLocationTags()
Returns all location tags, includes retired location tags.
|
List<LocationTag> |
LocationService.getAllLocationTags(boolean includeRetired)
Returns all location tags.
|
List<LocationTag> |
LocationService.getLocationTags(String search)
Returns location tags that match the beginning of the given string.
|
Modifier and Type | Method and Description |
---|---|
List<Location> |
LocationService.getLocationsByTag(LocationTag tag)
Returns locations that contain the given tag.
|
void |
LocationService.purgeLocationTag(LocationTag tag)
Completely remove a location tag from the database (not reversible).
|
LocationTag |
LocationService.retireLocationTag(LocationTag tag,
String reason)
Retire the given location tag.
|
LocationTag |
LocationService.saveLocationTag(LocationTag tag)
Save location tag to database (create if new or update if changed)
|
LocationTag |
LocationService.unretireLocationTag(LocationTag tag)
Unretire the given location tag.
|
Modifier and Type | Method and Description |
---|---|
List<Location> |
LocationService.getLocationsHavingAllTags(List<LocationTag> tags)
Returns locations that are mapped to all given tags.
|
List<Location> |
LocationService.getLocationsHavingAnyTag(List<LocationTag> tags)
Returns locations that are mapped to any of the given tags.
|
Modifier and Type | Method and Description |
---|---|
LocationTag |
LocationDAO.getLocationTag(Integer locationTagId)
Get a location tag by
locationTagId |
LocationTag |
LocationDAO.getLocationTagByName(String tag)
Get a location tag by name
|
LocationTag |
LocationDAO.getLocationTagByUuid(String uuid) |
LocationTag |
LocationDAO.saveLocationTag(LocationTag tag)
Create or update a location tag.
|
Modifier and Type | Method and Description |
---|---|
List<LocationTag> |
LocationDAO.getAllLocationTags(boolean includeRetired)
Get all location tags
|
List<LocationTag> |
LocationDAO.getLocationTags(String search)
Find all location tags with matching names.
|
Modifier and Type | Method and Description |
---|---|
void |
LocationDAO.deleteLocationTag(LocationTag tag)
Completely remove the location tag from the database.
|
LocationTag |
LocationDAO.saveLocationTag(LocationTag tag)
Create or update a location tag.
|
Modifier and Type | Method and Description |
---|---|
LocationTag |
HibernateLocationDAO.getLocationTag(Integer locationTagId) |
LocationTag |
HibernateLocationDAO.getLocationTagByName(String tag) |
LocationTag |
HibernateLocationDAO.getLocationTagByUuid(String uuid) |
LocationTag |
HibernateLocationDAO.saveLocationTag(LocationTag tag) |
Modifier and Type | Method and Description |
---|---|
List<LocationTag> |
HibernateLocationDAO.getAllLocationTags(boolean includeRetired) |
List<LocationTag> |
HibernateLocationDAO.getLocationTags(String search) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateLocationDAO.deleteLocationTag(LocationTag tag) |
LocationTag |
HibernateLocationDAO.saveLocationTag(LocationTag tag) |
Modifier and Type | Method and Description |
---|---|
LocationTag |
LocationServiceImpl.getLocationTag(Integer locationTagId) |
LocationTag |
LocationServiceImpl.getLocationTagByName(String tag) |
LocationTag |
LocationServiceImpl.getLocationTagByUuid(String uuid) |
LocationTag |
LocationServiceImpl.retireLocationTag(LocationTag tag,
String reason) |
LocationTag |
LocationServiceImpl.saveLocationTag(LocationTag tag) |
LocationTag |
LocationServiceImpl.unretireLocationTag(LocationTag tag) |
Modifier and Type | Method and Description |
---|---|
List<LocationTag> |
LocationServiceImpl.getAllLocationTags() |
List<LocationTag> |
LocationServiceImpl.getAllLocationTags(boolean includeRetired) |
List<LocationTag> |
LocationServiceImpl.getLocationTags(String search) |
Modifier and Type | Method and Description |
---|---|
List<Location> |
LocationServiceImpl.getLocationsByTag(LocationTag tag) |
void |
LocationServiceImpl.purgeLocationTag(LocationTag tag) |
LocationTag |
LocationServiceImpl.retireLocationTag(LocationTag tag,
String reason) |
LocationTag |
LocationServiceImpl.saveLocationTag(LocationTag tag) |
LocationTag |
LocationServiceImpl.unretireLocationTag(LocationTag tag) |
Modifier and Type | Method and Description |
---|---|
List<Location> |
LocationServiceImpl.getLocationsHavingAllTags(List<LocationTag> tags) |
List<Location> |
LocationServiceImpl.getLocationsHavingAnyTag(List<LocationTag> tags) |
Modifier and Type | Method and Description |
---|---|
String |
LocationTagController.handleEditSubmission(org.springframework.web.context.request.WebRequest request,
LocationTag locationTag,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
Handle submission for editing a LocationTag (for editing its name/description)
|
String |
LocationTagController.purge(org.springframework.web.context.request.WebRequest request,
LocationTag locationTag)
Purge a locationTag
|
String |
LocationTagController.retire(org.springframework.web.context.request.WebRequest request,
LocationTag locationTag,
String retireReason)
Retire a locationTag
|
void |
LocationTagController.showEdit(LocationTag locationTag,
org.springframework.ui.ModelMap model)
Display the edit page for LocationTag
|
String |
LocationTagController.unretire(org.springframework.web.context.request.WebRequest request,
LocationTag locationTag)
Unretire a locationTag
|
Modifier and Type | Method and Description |
---|---|
LocationTag |
FormatTag.getLocationTag() |
Modifier and Type | Method and Description |
---|---|
void |
FormatTag.setLocationTag(LocationTag locationTag) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.