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 |
PersonAttributeType.getEditPrivilege()
The privilege required in order to edit this attribute
|
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 |
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 |
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
|
List<Privilege> |
UserService.getPrivileges()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AdministrationService.createPrivilege(Privilege privilege)
Deprecated.
|
void |
AdministrationService.deletePrivilege(Privilege privilege)
Deprecated.
|
void |
UserService.purgePrivilege(Privilege privilege)
Completely remove a privilege from the database
|
Privilege |
UserService.savePrivilege(Privilege privilege)
Save the given privilege in the database
|
void |
AdministrationService.updatePrivilege(Privilege privilege)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Privilege |
UserDAO.getPrivilege(String p) |
Privilege |
UserDAO.getPrivilegeByUuid(String uuid)
Auto generated method comment
|
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() |
List<Privilege> |
UserServiceImpl.getPrivileges()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AdministrationServiceImpl.createPrivilege(Privilege privilege)
Deprecated.
|
void |
AdministrationServiceImpl.deletePrivilege(Privilege privilege)
Deprecated.
|
void |
UserServiceImpl.purgePrivilege(Privilege privilege) |
Privilege |
UserServiceImpl.savePrivilege(Privilege privilege) |
void |
AdministrationServiceImpl.updatePrivilege(Privilege privilege)
Deprecated.
|
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 © 2018 OpenMRS LLC.. All Rights Reserved.