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 |
---|---|
java.util.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(java.util.Set<LocationTag> tags)
Set the tags which are attached to this Location.
|
Modifier and Type | Method and Description |
---|---|
LocationTag |
LocationService.getLocationTag(java.lang.Integer locationTagId)
Returns a location tag given that locations primary key
locationTagId . |
LocationTag |
LocationService.getLocationTagByName(java.lang.String tag)
Returns a location tag given the location's exact name (tag).
|
LocationTag |
LocationService.getLocationTagByUuid(java.lang.String uuid)
Returns a location tag by uuid
|
LocationTag |
LocationService.retireLocationTag(LocationTag tag,
java.lang.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 |
---|---|
java.util.List<LocationTag> |
LocationService.getAllLocationTags()
Returns all location tags, includes retired location tags.
|
java.util.List<LocationTag> |
LocationService.getAllLocationTags(boolean includeRetired)
Returns all location tags.
|
java.util.List<LocationTag> |
LocationService.getLocationTags(java.lang.String search)
Returns location tags that match the beginning of the given string.
|
Modifier and Type | Method and Description |
---|---|
java.util.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,
java.lang.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 |
---|---|
java.util.List<Location> |
LocationService.getLocationsHavingAllTags(java.util.List<LocationTag> tags)
Returns locations that are mapped to all given tags.
|
java.util.List<Location> |
LocationService.getLocationsHavingAnyTag(java.util.List<LocationTag> tags)
Returns locations that are mapped to any of the given tags.
|
Modifier and Type | Method and Description |
---|---|
LocationTag |
LocationDAO.getLocationTag(java.lang.Integer locationTagId)
Get a location tag by
locationTagId |
LocationTag |
LocationDAO.getLocationTagByName(java.lang.String tag)
Get a location tag by name
|
LocationTag |
LocationDAO.getLocationTagByUuid(java.lang.String uuid) |
LocationTag |
LocationDAO.saveLocationTag(LocationTag tag)
Create or update a location tag.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<LocationTag> |
LocationDAO.getAllLocationTags(boolean includeRetired)
Get all location tags
|
java.util.List<LocationTag> |
LocationDAO.getLocationTags(java.lang.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(java.lang.Integer locationTagId) |
LocationTag |
HibernateLocationDAO.getLocationTagByName(java.lang.String tag) |
LocationTag |
HibernateLocationDAO.getLocationTagByUuid(java.lang.String uuid) |
LocationTag |
HibernateLocationDAO.saveLocationTag(LocationTag tag) |
Modifier and Type | Method and Description |
---|---|
java.util.List<LocationTag> |
HibernateLocationDAO.getAllLocationTags(boolean includeRetired) |
java.util.List<LocationTag> |
HibernateLocationDAO.getLocationTags(java.lang.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(java.lang.Integer locationTagId) |
LocationTag |
LocationServiceImpl.getLocationTagByName(java.lang.String tag) |
LocationTag |
LocationServiceImpl.getLocationTagByUuid(java.lang.String uuid) |
LocationTag |
LocationServiceImpl.retireLocationTag(LocationTag tag,
java.lang.String reason) |
LocationTag |
LocationServiceImpl.saveLocationTag(LocationTag tag) |
LocationTag |
LocationServiceImpl.unretireLocationTag(LocationTag tag) |
Modifier and Type | Method and Description |
---|---|
java.util.List<LocationTag> |
LocationServiceImpl.getAllLocationTags() |
java.util.List<LocationTag> |
LocationServiceImpl.getAllLocationTags(boolean includeRetired) |
java.util.List<LocationTag> |
LocationServiceImpl.getLocationTags(java.lang.String search) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Location> |
LocationServiceImpl.getLocationsByTag(LocationTag tag) |
void |
LocationServiceImpl.purgeLocationTag(LocationTag tag) |
LocationTag |
LocationServiceImpl.retireLocationTag(LocationTag tag,
java.lang.String reason) |
LocationTag |
LocationServiceImpl.saveLocationTag(LocationTag tag) |
LocationTag |
LocationServiceImpl.unretireLocationTag(LocationTag tag) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Location> |
LocationServiceImpl.getLocationsHavingAllTags(java.util.List<LocationTag> tags) |
java.util.List<Location> |
LocationServiceImpl.getLocationsHavingAnyTag(java.util.List<LocationTag> tags) |
Modifier and Type | Method and Description |
---|---|
java.lang.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)
|
java.lang.String |
LocationTagController.purge(org.springframework.web.context.request.WebRequest request,
LocationTag locationTag)
Purge a locationTag
|
java.lang.String |
LocationTagController.retire(org.springframework.web.context.request.WebRequest request,
LocationTag locationTag,
java.lang.String retireReason)
Retire a locationTag
|
void |
LocationTagController.showEdit(LocationTag locationTag,
org.springframework.ui.ModelMap model)
Display the edit page for LocationTag
|
java.lang.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 Inc.. All Rights Reserved.