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 |
---|---|
java.util.Collection<Privilege> |
User.getPrivileges()
Get all privileges this user has.
|
java.util.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(java.util.Set<Privilege> privileges) |
Modifier and Type | Method and Description |
---|---|
Privilege |
UserService.getPrivilege(java.lang.String p)
Returns Privilege in the system with given String privilege
|
Privilege |
UserService.getPrivilegeByUuid(java.lang.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 |
---|---|
java.util.List<Privilege> |
UserService.getAllPrivileges()
Returns all privileges currently possible for any User
|
java.util.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(java.lang.String p) |
Privilege |
UserDAO.getPrivilegeByUuid(java.lang.String uuid)
Auto generated method comment
|
Privilege |
UserDAO.savePrivilege(Privilege privilege) |
Modifier and Type | Method and Description |
---|---|
java.util.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(java.lang.String p) |
Privilege |
HibernateUserDAO.getPrivilegeByUuid(java.lang.String uuid) |
Privilege |
HibernateUserDAO.savePrivilege(Privilege privilege) |
Modifier and Type | Method and Description |
---|---|
java.util.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(java.lang.String p) |
Privilege |
UserServiceImpl.getPrivilegeByUuid(java.lang.String uuid) |
Privilege |
UserServiceImpl.savePrivilege(Privilege privilege) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Privilege> |
UserServiceImpl.getAllPrivileges() |
java.util.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 java.util.List<Privilege> |
ModuleFactory.getPrivileges()
Get a list of required Privileges defined by the modules
|
java.util.List<Privilege> |
Module.getPrivileges() |
Modifier and Type | Method and Description |
---|---|
void |
Module.setPrivileges(java.util.List<Privilege> privileges) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.