| Package | Description |
|---|---|
| org.opensrp.api.contract | |
| org.opensrp.api.domain | |
| org.opensrp.api.util |
| Modifier and Type | Method and Description |
|---|---|
Location |
LocationManager.getLocation(String locationId) |
| Modifier and Type | Method and Description |
|---|---|
TreeNode<String,Location> |
LocationManager.getLocationWithTree(String startinglocationId) |
| Modifier and Type | Method and Description |
|---|---|
void |
LocationManager.verifyLocationAccess(Location location,
User user) |
| Modifier and Type | Method and Description |
|---|---|
Location |
Location.getParentLocation() |
Location |
Location.withAddress(Address address) |
Location |
Location.withAttribute(String name,
Object value) |
Location |
Location.withAttributes(Map<String,Object> attributes)
WARNING: Overrides all existing attributes
|
Location |
Location.withIdentifier(String identifierType,
String identifier) |
Location |
Location.withIdentifiers(Map<String,String> identifiers)
WARNING: Overrides all existing identifiers
|
Location |
Location.withLocationId(String locationId) |
Location |
Location.withName(String name) |
Location |
Location.withParentLocation(Location parentLocation) |
Location |
Location.withTag(String tag) |
Location |
Location.withTags(Set<String> tags)
WARNING: Overrides all existing tags
|
| Modifier and Type | Method and Description |
|---|---|
void |
Location.setParentLocation(Location parentLocation) |
Location |
Location.withParentLocation(Location parentLocation) |
| Constructor and Description |
|---|
Location(String locationId,
String name,
Address address,
Location parentLocation) |
Location(String locationId,
String name,
Address address,
Map<String,String> identifiers,
Location parentLocation,
Set<String> tags,
Map<String,Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
Location |
LocationTree.findLocation(String locationId) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,TreeNode<String,Location>> |
LocationTree.getLocationsHierarchy() |
| Modifier and Type | Method and Description |
|---|---|
void |
LocationTree.addLocation(Location l) |
| Modifier and Type | Method and Description |
|---|---|
void |
LocationTree.buildTreeFromList(List<Location> locations)
WARNING: Overrides existing locations
|
Copyright © 2018. All rights reserved.