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.module |
OpenMRS Module classes
|
Modifier and Type | Method and Description |
---|---|
Privilege |
GlobalProperty.getDeletePrivilege()
Get privilege which can delete this globalProperty
|
Privilege |
PersonAttributeType.getEditPrivilege()
The privilege required in order to edit this attribute
|
Privilege |
GlobalProperty.getEditPrivilege()
Gets privilege which can edit this globalProperty
|
Privilege |
EncounterType.getEditPrivilege()
Gets privilege which can edit this type of encounters
|
Privilege |
GlobalProperty.getViewPrivilege()
Gets privilege which can view this globalProperty
|
Privilege |
EncounterType.getViewPrivilege()
Gets privilege which can view this type of encounters
|
Modifier and Type | Method and Description |
---|---|
Collection<Privilege> |
User.getPrivileges()
Get all privileges this user has.
|
Set<Privilege> |
Role.getPrivileges() |
Modifier and Type | Method and Description |
---|---|
void |
Role.addPrivilege(Privilege privilege)
Adds the given Privilege to the list of privileges
|
void |
Role.removePrivilege(Privilege privilege)
Removes the given Privilege from the list of privileges
|
void |
GlobalProperty.setDeletePrivilege(Privilege deletePrivilege)
Sets privilege which can delete this globalProperty
|
void |
PersonAttributeType.setEditPrivilege(Privilege editPrivilege)
The privilege required in order to edit this attribute If
editPrivilege is null,
no extra permissions are required to edit this type |
void |
GlobalProperty.setEditPrivilege(Privilege editPrivilege)
Sets privilege which can edit this globalProperty
|
void |
EncounterType.setEditPrivilege(Privilege editPrivilege)
Sets privilege which can edit this type of encounters
|
void |
GlobalProperty.setViewPrivilege(Privilege viewPrivilege)
Sets privilege which can view this globalProperty
|
void |
EncounterType.setViewPrivilege(Privilege viewPrivilege)
Sets privilege which can view this type of encounters
|
Modifier and Type | Method and Description |
---|---|
void |
Role.setPrivileges(Set<Privilege> privileges) |
Modifier and Type | Method and Description |
---|---|
Privilege |
UserService.getPrivilege(String p)
Returns Privilege in the system with given String privilege
|
Privilege |
UserService.getPrivilegeByUuid(String uuid)
Get Privilege by its UUID
|
Privilege |
UserService.savePrivilege(Privilege privilege)
Save the given privilege in the database
|
Modifier and Type | Method and Description |
---|---|
List<Privilege> |
UserService.getAllPrivileges()
Returns all privileges currently possible for any User
|
Modifier and Type | Method and Description |
---|---|
void |
UserService.purgePrivilege(Privilege privilege)
Completely remove a privilege from the database
|
Privilege |
UserService.savePrivilege(Privilege privilege)
Save the given privilege in the database
|
Modifier and Type | Method and Description |
---|---|
Privilege |
UserDAO.getPrivilege(String p) |
Privilege |
UserDAO.getPrivilegeByUuid(String uuid) |
Privilege |
UserDAO.savePrivilege(Privilege privilege) |
Modifier and Type | Method and Description |
---|---|
List<Privilege> |
UserDAO.getAllPrivileges() |
Modifier and Type | Method and Description |
---|---|
void |
UserDAO.deletePrivilege(Privilege privilege) |
Privilege |
UserDAO.savePrivilege(Privilege privilege) |
Modifier and Type | Method and Description |
---|---|
Privilege |
HibernateUserDAO.getPrivilege(String p) |
Privilege |
HibernateUserDAO.getPrivilegeByUuid(String uuid) |
Privilege |
HibernateUserDAO.savePrivilege(Privilege privilege) |
Modifier and Type | Method and Description |
---|---|
List<Privilege> |
HibernateUserDAO.getAllPrivileges() |
Modifier and Type | Method and Description |
---|---|
void |
HibernateUserDAO.deletePrivilege(Privilege privilege) |
Privilege |
HibernateUserDAO.savePrivilege(Privilege privilege) |
Modifier and Type | Method and Description |
---|---|
Privilege |
UserServiceImpl.getPrivilege(String p) |
Privilege |
UserServiceImpl.getPrivilegeByUuid(String uuid) |
Privilege |
UserServiceImpl.savePrivilege(Privilege privilege) |
Modifier and Type | Method and Description |
---|---|
List<Privilege> |
UserServiceImpl.getAllPrivileges() |
Modifier and Type | Method and Description |
---|---|
void |
UserServiceImpl.purgePrivilege(Privilege privilege) |
Privilege |
UserServiceImpl.savePrivilege(Privilege privilege) |
Modifier and Type | Method and Description |
---|---|
static List<Privilege> |
ModuleFactory.getPrivileges()
Get a list of required Privileges defined by the modules
|
List<Privilege> |
Module.getPrivileges() |
Modifier and Type | Method and Description |
---|---|
void |
Module.setPrivileges(List<Privilege> privileges) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.