Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.aop |
This package contains the classes associated with Aspect Oriented Programming (AOP).
|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.context |
This package describes the context framework through which
authentication is performed and services provided for the OpenMRS system.
|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.handler | |
org.openmrs.api.impl | |
org.openmrs.notification | |
org.openmrs.notification.db | |
org.openmrs.notification.db.hibernate | |
org.openmrs.notification.impl | |
org.openmrs.notification.web | |
org.openmrs.reporting |
Deprecated
|
org.openmrs.scheduler | |
org.openmrs.util |
Shared utilities for OpenMRS classes
|
org.openmrs.web.controller.user | |
org.openmrs.web.dwr | |
org.openmrs.web.taglib | |
org.openmrs.web.user |
Modifier and Type | Field and Description |
---|---|
protected User |
BaseOpenmrsData.creator |
Modifier and Type | Method and Description |
---|---|
User |
User.addRole(Role role)
Add the given Role to the list of roles for this User
|
User |
ConceptSet.getChangedBy()
Not currently used.
|
User |
ConceptNameTag.getChangedBy()
Not currently used.
|
User |
ConceptName.getChangedBy()
Not currently used.
|
User |
BaseOpenmrsMetadata.getChangedBy() |
User |
DrugReferenceMap.getChangedBy() |
User |
Auditable.getChangedBy() |
User |
ConceptProposal.getChangedBy() |
User |
ConceptAnswer.getChangedBy()
Not currently used.
|
User |
BaseConceptMap.getChangedBy() |
User |
Concept.getChangedBy() |
User |
BaseOpenmrsData.getChangedBy() |
User |
ConceptDescription.getChangedBy() |
User |
ConceptSet.getCreator() |
User |
ConceptNameTag.getCreator() |
User |
ConceptSource.getCreator() |
User |
ConceptName.getCreator() |
User |
BaseOpenmrsMetadata.getCreator() |
User |
DrugReferenceMap.getCreator() |
User |
Auditable.getCreator() |
User |
ConceptProposal.getCreator() |
User |
FieldAnswer.getCreator() |
User |
ConceptAnswer.getCreator() |
User |
BaseConceptMap.getCreator() |
User |
Concept.getCreator() |
User |
BaseOpenmrsData.getCreator() |
User |
ConceptDescription.getCreator() |
User |
Person.getPersonChangedBy() |
User |
Person.getPersonCreator() |
User |
Person.getPersonVoidedBy() |
User |
Retireable.getRetiredBy() |
User |
BaseOpenmrsMetadata.getRetiredBy() |
User |
Concept.getRetiredBy() |
User |
ConceptNameTag.getVoidedBy()
Returns the User who voided this ConceptName.
|
User |
ConceptSource.getVoidedBy()
Deprecated.
use getRetiredBy
|
User |
ConceptName.getVoidedBy()
Returns the User who voided this ConceptName.
|
User |
PersonName.getVoidedBy()
This still exists on PersonName for the SimpleFramework annotation
|
User |
Voidable.getVoidedBy() |
User |
BaseOpenmrsData.getVoidedBy() |
User |
User.hydrate(java.lang.String userId) |
User |
User.removeRole(Role role)
Remove the given Role from the list of roles for this User
|
User |
User.replaceSerialization(java.util.Map<?,?> sessionMap)
If the serializer wishes, don't serialize this entire object, just the important parts
|
Modifier and Type | Method and Description |
---|---|
java.util.List<User> |
User.findPossibleValues(java.lang.String searchText) |
java.util.List<User> |
User.getPossibleValues() |
Modifier and Type | Method and Description |
---|---|
void |
PrivilegeListener.privilegeChecked(User user,
java.lang.String privilege,
boolean hasPrivilege)
Called whenever a privilege is checked.
|
void |
ConceptSet.setChangedBy(User changedBy)
Not currently used.
|
void |
ConceptNameTag.setChangedBy(User changedBy)
Not currently used.
|
void |
ConceptName.setChangedBy(User changedBy)
Not currently used.
|
void |
BaseOpenmrsMetadata.setChangedBy(User changedBy) |
void |
DrugReferenceMap.setChangedBy(User changedBy) |
void |
Auditable.setChangedBy(User changedBy) |
void |
ConceptProposal.setChangedBy(User changedBy) |
void |
ConceptAnswer.setChangedBy(User changedBy)
Not currently used.
|
void |
BaseConceptMap.setChangedBy(User changedBy) |
void |
Concept.setChangedBy(User changedBy) |
void |
BaseOpenmrsData.setChangedBy(User changedBy) |
void |
ConceptDescription.setChangedBy(User changedBy) |
void |
ConceptSet.setCreator(User creator) |
void |
ConceptNameTag.setCreator(User creator) |
void |
ConceptSource.setCreator(User creator) |
void |
ConceptName.setCreator(User creator) |
void |
BaseOpenmrsMetadata.setCreator(User creator) |
void |
DrugReferenceMap.setCreator(User creator) |
void |
Auditable.setCreator(User creator) |
void |
ConceptProposal.setCreator(User creator) |
void |
FieldAnswer.setCreator(User creator) |
void |
ConceptAnswer.setCreator(User creator) |
void |
BaseConceptMap.setCreator(User creator) |
void |
Concept.setCreator(User creator) |
void |
BaseOpenmrsData.setCreator(User creator) |
void |
ConceptDescription.setCreator(User creator) |
void |
Person.setPersonChangedBy(User changedBy) |
void |
Person.setPersonCreator(User creator) |
void |
Person.setPersonVoidedBy(User voidedBy) |
void |
Encounter.setProvider(User provider)
Deprecated.
|
void |
Obs.setRequiredProperties(User creator,
java.util.Date dateCreated)
Deprecated.
no longer needed. Replaced by handlers.
|
void |
Retireable.setRetiredBy(User retiredBy) |
void |
BaseOpenmrsMetadata.setRetiredBy(User retiredBy) |
void |
Concept.setRetiredBy(User retiredBy) |
void |
ConceptNameTag.setVoidedBy(User voidedBy)
Sets the User who voided this ConceptName.
|
void |
ConceptSource.setVoidedBy(User voidedBy)
Deprecated.
use setRetiredBy
|
void |
ConceptName.setVoidedBy(User voidedBy)
Sets the User who voided this ConceptName.
|
void |
PersonName.setVoidedBy(User voidedBy)
This still exists on PersonName for the SimpleFramework annotation
|
void |
Voidable.setVoidedBy(User voidedBy) |
void |
BaseOpenmrsData.setVoidedBy(User voidedBy) |
void |
PatientProgram.voidLastState(ProgramWorkflow workflow,
User voidBy,
java.util.Date voidDate,
java.lang.String voidReason)
Attempts to void the latest
PatientState in the PatientProgram If earlier
PatientStates exist, it will try to reset the endDate to null so that the next latest state
becomes the current PatientState |
Modifier and Type | Method and Description |
---|---|
static <H extends RequiredDataHandler> |
RequiredDataAdvice.recursivelyHandle(java.lang.Class<H> handlerType,
OpenmrsObject openmrsObject,
User currentUser,
java.util.Date currentDate,
java.lang.String other,
java.util.List<OpenmrsObject> alreadyHandled)
This loops over all declared collections on the given object and all declared collections on
parent objects to use the given
handlerType . |
Modifier and Type | Method and Description |
---|---|
User |
UserService.createUser(User user,
java.lang.String password)
Deprecated.
replaced by
UserService.saveUser(User, String) |
User |
UserService.getUser(java.lang.Integer userId)
Get user by internal user identifier.
|
User |
UserService.getUserByUsername(java.lang.String username)
Get user by username (user's login identifier)
|
User |
UserService.getUserByUuid(java.lang.String uuid)
Get user by the given uuid.
|
User |
UserService.removeUserProperty(User user,
java.lang.String key)
Removes the property denoted by
key from the user 's properties. |
User |
UserService.retireUser(User user,
java.lang.String reason)
Deactive a user account so that it can no longer log in.
|
User |
UserService.saveUser(User user,
java.lang.String password)
Saves a user to the database.
|
User |
UserService.setUserProperty(User user,
java.lang.String key,
java.lang.String value)
Adds the
key /value pair to the given user . |
User |
UserService.unretireUser(User user)
Clears retired flag for a user.
|
User |
UserService.unvoidUser(User user)
Deprecated.
|
User |
UserService.voidUser(User user,
java.lang.String reason)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<User> |
UserService.findUsers(java.lang.String name,
java.util.List<java.lang.String> roles,
boolean includeVoided)
Deprecated.
|
java.util.List<User> |
UserService.findUsers(java.lang.String givenName,
java.lang.String familyName,
boolean includeVoided)
Deprecated.
|
java.util.List<User> |
UserService.getAllUsers()
Returns all users in the system
|
java.util.List<User> |
UserService.getAllUsers(java.util.List<Role> roles,
boolean includeVoided)
Deprecated.
|
java.util.List<User> |
UserService.getUsers()
Deprecated.
|
java.util.List<User> |
UserService.getUsers(java.lang.String nameSearch,
java.util.List<Role> roles,
boolean includeVoided)
Return a list of users sorted by personName (see
PersonByNameComparator ) if any part
of the search matches first/last/system id and the user has one at least one of the given
roles assigned to them |
java.util.List<User> |
UserService.getUsers(java.lang.String name,
java.util.List<Role> roles,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length)
Return a batch of users of a specific size sorted by personName (see
PersonByNameComparator ) if any part of the search matches first/last/system id and
the user has one at least one of the given roles assigned to them. |
java.util.List<User> |
UserService.getUsersByName(java.lang.String givenName,
java.lang.String familyName,
boolean includeRetired)
Search for a list of users by exact first name and last name.
|
java.util.List<User> |
UserService.getUsersByPerson(Person person,
boolean includeRetired)
Get all user accounts that belong to a given person.
|
java.util.List<User> |
UserService.getUsersByRole(Role role)
Get users by role granted
|
Modifier and Type | Method and Description |
---|---|
void |
UserService.changeHashedPassword(User user,
java.lang.String hashedPassword,
java.lang.String salt)
Changes the current user's password directly.
|
void |
UserService.changePassword(User u,
java.lang.String pw)
Changes the
user |
void |
UserService.changeQuestionAnswer(User u,
java.lang.String question,
java.lang.String answer)
Changes the passed user's secret question and answer.
|
User |
UserService.createUser(User user,
java.lang.String password)
Deprecated.
replaced by
UserService.saveUser(User, String) |
void |
UserService.deleteUser(User user)
Deprecated.
|
void |
ProgramWorkflowService.enrollPatientInProgram(Patient patient,
Program program,
java.util.Date enrollmentDate,
java.util.Date completionDate,
User creator)
Deprecated.
use {new PatientProgram(...) followed by @link
#savePatientProgram(PatientProgram)}
|
Person |
PersonService.getPerson(User user)
Deprecated.
|
void |
UserService.grantUserRole(User user,
Role role)
Deprecated.
use
addRole(Role) |
boolean |
UserService.hasDuplicateUsername(User user)
true/false if username or systemId is already in db in username or system_id columns
|
boolean |
UserService.isSecretAnswer(User u,
java.lang.String answer)
Compares
answer against the user 's secret answer. |
void |
UserService.notifyPrivilegeListeners(User user,
java.lang.String privilege,
boolean hasPrivilege)
Notifies privilege listener beans about any privilege check.
|
void |
UserService.purgeUser(User user)
Completely remove a location from the database (not reversible).
|
void |
UserService.purgeUser(User user,
boolean cascade)
Completely remove a user from the database (not reversible).
|
User |
UserService.removeUserProperty(User user,
java.lang.String key)
Removes the property denoted by
key from the user 's properties. |
User |
UserService.retireUser(User user,
java.lang.String reason)
Deactive a user account so that it can no longer log in.
|
void |
UserService.revokeUserRole(User user,
Role role)
Deprecated.
use
removeRole(Role) |
User |
UserService.saveUser(User user,
java.lang.String password)
Saves a user to the database.
|
User |
UserService.setUserProperty(User user,
java.lang.String key,
java.lang.String value)
Adds the
key /value pair to the given user . |
User |
UserService.unretireUser(User user)
Clears retired flag for a user.
|
User |
UserService.unvoidUser(User user)
Deprecated.
|
void |
UserService.updateUser(User user)
Deprecated.
replaced by
UserService.saveUser(User, String) |
User |
UserService.voidUser(User user,
java.lang.String reason)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Encounter> |
EncounterService.getEncounters(Patient who,
Location loc,
java.util.Date fromDate,
java.util.Date toDate,
java.util.Collection<Form> enteredViaForms,
java.util.Collection<EncounterType> encounterTypes,
java.util.Collection<User> providers,
boolean includeVoided)
|
Modifier and Type | Field and Description |
---|---|
protected static java.lang.ThreadLocal<User> |
Daemon.daemonThreadUser |
Modifier and Type | Method and Description |
---|---|
User |
UserContext.authenticate(java.lang.String username,
java.lang.String password,
ContextDAO contextDAO)
Authenticate the user to this UserContext.
|
User |
UserContext.becomeUser(java.lang.String systemId)
Change current authentication to become another user.
|
User |
UserContext.getAuthenticatedUser() |
static User |
Context.getAuthenticatedUser() |
static User |
Daemon.getDaemonThreadUser() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Role> |
UserContext.getAllRoles(User user)
Gets all the roles for a user.
|
static java.util.Set<Role> |
Context.getAllRoles(User user)
Convenience method.
|
Modifier and Type | Method and Description |
---|---|
User |
ContextDAO.authenticate(java.lang.String username,
java.lang.String password)
Authenticate user with the given username and password.
|
User |
LoginCredential.getChangedBy() |
User |
UserDAO.getUser(java.lang.Integer userId) |
User |
UserDAO.getUserByUsername(java.lang.String username) |
User |
UserDAO.getUserByUuid(java.lang.String uuid)
Auto generated method comment
|
User |
ContextDAO.getUserByUuid(java.lang.String uuid)
Gets a user given the uuid.
|
User |
UserDAO.saveUser(User user,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
java.util.List<User> |
UserDAO.getAllUsers() |
java.util.List<User> |
UserDAO.getUsers(java.lang.String name,
java.util.List<Role> roles,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<User> |
UserDAO.getUsersByName(java.lang.String givenName,
java.lang.String familyName,
boolean includeVoided) |
java.util.List<User> |
UserDAO.getUsersByPerson(Person person,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
void |
UserDAO.changeHashedPassword(User user,
java.lang.String hashedPassword,
java.lang.String salt) |
void |
UserDAO.changePassword(User u,
java.lang.String pw) |
void |
UserDAO.changeQuestionAnswer(User u,
java.lang.String question,
java.lang.String answer) |
void |
UserDAO.deleteUser(User user) |
LoginCredential |
UserDAO.getLoginCredential(User user) |
boolean |
UserDAO.isSecretAnswer(User u,
java.lang.String answer) |
User |
UserDAO.saveUser(User user,
java.lang.String password) |
void |
LoginCredential.setChangedBy(User changedBy) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Order> |
OrderDAO.getOrders(OrderType orderType,
java.util.List<Patient> patients,
java.util.List<Concept> concepts,
java.util.List<User> orderers,
java.util.List<Encounter> encounters)
This searches for orders given the parameters.
|
Modifier and Type | Method and Description |
---|---|
User |
HibernateContextDAO.authenticate(java.lang.String login,
java.lang.String password) |
User |
HibernateUserDAO.getUser(java.lang.Integer userId) |
User |
HibernateUserDAO.getUserByUsername(java.lang.String username) |
User |
HibernateContextDAO.getUserByUuid(java.lang.String uuid) |
User |
HibernateUserDAO.getUserByUuid(java.lang.String uuid) |
User |
HibernateUserDAO.saveUser(User user,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
java.util.List<User> |
HibernateUserDAO.getAllUsers() |
java.util.List<User> |
HibernateUserDAO.getUsers(java.lang.String name,
java.util.List<Role> roles,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<User> |
HibernateUserDAO.getUsersByName(java.lang.String givenName,
java.lang.String familyName,
boolean includeRetired) |
java.util.List<User> |
HibernateUserDAO.getUsersByPerson(Person person,
boolean includeRetired) |
java.util.List<User> |
HibernateUserDAO.getUsersByRole(Role role) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateUserDAO.changeHashedPassword(User user,
java.lang.String hashedPassword,
java.lang.String salt) |
void |
HibernateUserDAO.changePassword(User u,
java.lang.String pw) |
void |
HibernateUserDAO.changeQuestionAnswer(User u,
java.lang.String question,
java.lang.String answer) |
void |
HibernateUserDAO.deleteUser(User user) |
LoginCredential |
HibernateUserDAO.getLoginCredential(User user) |
boolean |
HibernateUserDAO.isSecretAnswer(User u,
java.lang.String answer) |
User |
HibernateUserDAO.saveUser(User user,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Order> |
HibernateOrderDAO.getOrders(OrderType orderType,
java.util.List<Patient> patients,
java.util.List<Concept> concepts,
java.util.List<User> orderers,
java.util.List<Encounter> encounters) |
Modifier and Type | Method and Description |
---|---|
void |
ConceptNameSaveHandler.handle(ConceptName conceptName,
User currentUser,
java.util.Date currentDate,
java.lang.String reason)
This method does a lookup on all tag name for all child
ConceptNameTag s that have a
null ConceptNameTag.getConceptNameTagId() . |
void |
ConceptProposalHandler.handle(ConceptProposal cp,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
ConceptReferenceTermSaveHandler.handle(ConceptReferenceTerm conceptReferenceTerm,
User currentUser,
java.util.Date currentDate,
java.lang.String other)
Sets the concept reference term as the term A for all the
ConceptReferenceTermMap s
added to it. |
void |
ConceptSaveHandler.handle(Concept concept,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
EncounterSaveHandler.handle(Encounter object,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
OpenmrsMetadataSaveHandler.handle(OpenmrsMetadata object,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
OpenmrsObjectSaveHandler.handle(OpenmrsObject openmrsObject,
User creator,
java.util.Date dateCreated,
java.lang.String reason)
This sets the uuid property on the given OpenmrsObject if it is non-null.
|
void |
OrderSaveHandler.handle(Order order,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
RequiredDataHandler.handle(O openmrsObject,
User currentUser,
java.util.Date currentDate,
java.lang.String other)
This method is called to when the required data needs to be set.
|
void |
SaveHandler.handle(O object,
User creator,
java.util.Date dateCreated,
java.lang.String other)
This method is used by the implementing classes to set any required data that it needs to.
|
void |
PatientDataUnvoidHandler.handle(Patient patient,
User originalVoidingUser,
java.util.Date origParentVoidedDate,
java.lang.String unused) |
void |
PatientSaveHandler.handle(Patient patient,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
PatientDataVoidHandler.handle(Patient patient,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason) |
void |
PersonNameSaveHandler.handle(PersonName personName,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
PersonVoidHandler.handle(Person person,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason)
Sets all personVoid* attributes to the given parameters.
|
void |
PersonSaveHandler.handle(Person person,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
PersonUnvoidHandler.handle(Person person,
User unvoidingUser,
java.util.Date origParentVoidedDate,
java.lang.String unused)
Called around every unvoid* method to set everything to null.
|
void |
BaseRetireHandler.handle(Retireable retireableObject,
User retiringUser,
java.util.Date retireDate,
java.lang.String retireReason)
This method sets "retired" to true, the retired reason, and the retiredBy/dateRetired (if
those are null).
TODO do the check here for an empty retireReason? |
void |
BaseUnretireHandler.handle(Retireable retireableObject,
User retiringUser,
java.util.Date origParentRetiredDate,
java.lang.String unused)
|
void |
RetireSaveHandler.handle(Retireable retireableObject,
User currentUser,
java.util.Date currentDate,
java.lang.String notUsed)
This method does not set "retired" to true, but rather only sets the retiredBy/dateRetired if
they are null and retired==true.
|
void |
RetireHandler.handle(R retireableObject,
User retiringUser,
java.util.Date retireDate,
java.lang.String retireReason)
Implementing methods should set "retired" to true, the retired reason, and the
retiredBy/dateRetired (if those are non-null).
|
void |
UnretireHandler.handle(R retireableObject,
User retiringUser,
java.util.Date origParentRetiredDate,
java.lang.String unused)
|
void |
UserSaveHandler.handle(User user,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
VisitUnvoidHandler.handle(Visit visit,
User voidingUser,
java.util.Date origParentVoidedDate,
java.lang.String unused) |
void |
VisitVoidHandler.handle(Visit voidableObject,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason) |
void |
VoidSaveHandler.handle(Voidable voidableObject,
User currentUser,
java.util.Date currentDate,
java.lang.String notUsed)
This method does not set "voided" to true, but rather only sets the voidedBy/dateVoided if
they are null and voided==true.
|
void |
RequireVoidReasonSaveHandler.handle(Voidable voidableObject,
User currentUser,
java.util.Date currentDate,
java.lang.String notUsed)
Validates that the voidReason is non-null and non-empty for supported objects
|
void |
RequireVoidReasonVoidHandler.handle(Voidable voidableObject,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason)
Validates that the voidReason is non-null and non-empty for supported objects
|
void |
BaseUnvoidHandler.handle(Voidable voidableObject,
User voidingUser,
java.util.Date origParentVoidedDate,
java.lang.String unused)
Called around every unvoid* method to set everything to null.
|
void |
BaseVoidHandler.handle(Voidable voidableObject,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason)
Sets all void attributes to the given parameters.
|
void |
VoidHandler.handle(V voidableObject,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason)
Implementing classes should set all void attributes to the given parameters.
|
void |
UnvoidHandler.handle(V voidableObject,
User voidingUser,
java.util.Date origParentVoidedDate,
java.lang.String unused)
Implementing classes are called around every unvoid* method to set everything to null.
|
Modifier and Type | Method and Description |
---|---|
User |
UserServiceImpl.createUser(User user,
java.lang.String password)
Deprecated.
|
User |
UserServiceImpl.getUser(java.lang.Integer userId) |
User |
UserServiceImpl.getUserByUsername(java.lang.String username) |
User |
UserServiceImpl.getUserByUuid(java.lang.String uuid) |
User |
UserServiceImpl.removeUserProperty(User user,
java.lang.String key) |
User |
UserServiceImpl.retireUser(User user,
java.lang.String reason) |
User |
UserServiceImpl.saveUser(User user,
java.lang.String password) |
User |
UserServiceImpl.setUserProperty(User user,
java.lang.String key,
java.lang.String value) |
User |
UserServiceImpl.unretireUser(User user) |
User |
UserServiceImpl.unvoidUser(User user) |
User |
UserServiceImpl.voidUser(User user,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
java.util.List<User> |
UserServiceImpl.findUsers(java.lang.String name,
java.util.List<java.lang.String> roles,
boolean includeVoided)
Deprecated.
|
java.util.List<User> |
UserServiceImpl.findUsers(java.lang.String givenName,
java.lang.String familyName,
boolean includeVoided)
Deprecated.
|
java.util.List<User> |
UserServiceImpl.getAllUsers() |
java.util.List<User> |
UserServiceImpl.getAllUsers(java.util.List<Role> roles,
boolean includeVoided)
Deprecated.
|
java.util.List<User> |
UserServiceImpl.getUsers()
Deprecated.
|
java.util.List<User> |
UserServiceImpl.getUsers(java.lang.String nameSearch,
java.util.List<Role> roles,
boolean includeVoided) |
java.util.List<User> |
UserServiceImpl.getUsers(java.lang.String name,
java.util.List<Role> roles,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<User> |
UserServiceImpl.getUsersByName(java.lang.String givenName,
java.lang.String familyName,
boolean includeVoided) |
java.util.List<User> |
UserServiceImpl.getUsersByPerson(Person person,
boolean includeRetired) |
java.util.List<User> |
UserServiceImpl.getUsersByRole(Role role) |
Modifier and Type | Method and Description |
---|---|
void |
UserServiceImpl.changeHashedPassword(User user,
java.lang.String hashedPassword,
java.lang.String salt) |
void |
UserServiceImpl.changePassword(User u,
java.lang.String pw) |
void |
UserServiceImpl.changeQuestionAnswer(User u,
java.lang.String question,
java.lang.String answer) |
User |
UserServiceImpl.createUser(User user,
java.lang.String password)
Deprecated.
|
void |
UserServiceImpl.deleteUser(User user)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.enrollPatientInProgram(Patient patient,
Program program,
java.util.Date enrollmentDate,
java.util.Date completionDate,
User creator)
Deprecated.
|
Person |
PersonServiceImpl.getPerson(User user)
Deprecated.
|
void |
UserServiceImpl.grantUserRole(User user,
Role role)
Deprecated.
|
boolean |
UserServiceImpl.hasDuplicateUsername(User user) |
boolean |
UserServiceImpl.isSecretAnswer(User u,
java.lang.String answer) |
void |
UserServiceImpl.notifyPrivilegeListeners(User user,
java.lang.String privilege,
boolean hasPrivilege) |
void |
UserServiceImpl.purgeUser(User user) |
void |
UserServiceImpl.purgeUser(User user,
boolean cascade) |
User |
UserServiceImpl.removeUserProperty(User user,
java.lang.String key) |
User |
UserServiceImpl.retireUser(User user,
java.lang.String reason) |
void |
UserServiceImpl.revokeUserRole(User user,
Role role)
Deprecated.
|
User |
UserServiceImpl.saveUser(User user,
java.lang.String password) |
User |
UserServiceImpl.setUserProperty(User user,
java.lang.String key,
java.lang.String value) |
User |
UserServiceImpl.unretireUser(User user) |
User |
UserServiceImpl.unvoidUser(User user) |
void |
UserServiceImpl.updateUser(User user)
Deprecated.
replaced by
UserServiceImpl.saveUser(User, String) |
User |
UserServiceImpl.voidUser(User user,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
Location loc,
java.util.Date fromDate,
java.util.Date toDate,
java.util.Collection<Form> enteredViaForms,
java.util.Collection<EncounterType> encounterTypes,
java.util.Collection<User> providers,
boolean includeVoided)
|
Modifier and Type | Method and Description |
---|---|
User |
Alert.getChangedBy() |
User |
Alert.getCreator() |
User |
AlertRecipient.getRecipient() |
Modifier and Type | Method and Description |
---|---|
void |
Alert.addRecipient(User u)
Convenience method to add the given user to this list of recipients for this alert
|
void |
AlertService.createAlert(java.lang.String text,
User user)
Deprecated.
|
java.util.List<Alert> |
AlertService.getAlerts(User user)
Deprecated.
|
java.util.List<Alert> |
AlertService.getAlerts(User user,
boolean includeRead,
boolean includeExpired)
Finds alerts for the given user with the given status
|
java.util.List<Alert> |
AlertService.getAlertsByUser(User user)
Find the alerts that are not read and have not expired for a user This will probably be the
most commonly called method If null is passed in for
user , find alerts for the
currently authenticated user. |
java.util.List<Alert> |
AlertService.getAllActiveAlerts(User user)
Find all alerts for a user that have not expired
|
java.util.List<Alert> |
AlertService.getAllAlerts(User user)
Deprecated.
use #getAlerts(User, boolean, boolean)
|
java.util.List<Note> |
NoteService.getNotes(User user) |
AlertRecipient |
Alert.getRecipient(User recipient)
Convenience method to find the AlertRecipient object within this alert that corresponds to
the given
recipient |
void |
MessageService.send(Message message,
User user)
Deprecated.
|
void |
MessageService.sendMessage(Message message,
User user) |
void |
Alert.setChangedBy(User changedBy) |
void |
Alert.setCreator(User creator) |
void |
AlertRecipient.setRecipient(User user) |
Modifier and Type | Method and Description |
---|---|
void |
AlertService.createAlert(java.lang.String text,
java.util.Collection<User> users)
Deprecated.
|
void |
MessageService.send(Message message,
java.util.Collection<User> users)
Deprecated.
|
void |
MessageService.sendMessage(Message message,
java.util.Collection<User> users) |
Constructor and Description |
---|
Alert(java.lang.String text,
User user)
Convenience constructor to create an alert with the given text and for the given users
|
AlertRecipient(Alert a,
User recipient)
Initializes a recipient with the given alert and recipient/user
|
AlertRecipient(User user,
java.lang.Boolean read)
Initializes a recipient with the given user
|
Constructor and Description |
---|
Alert(java.lang.String text,
java.util.Collection<User> users)
Convenience constructor to create an alert with the given text and for the given users
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Alert> |
AlertDAO.getAlerts(User user,
boolean includeRead,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Alert> |
HibernateAlertDAO.getAlerts(User user,
boolean includeRead,
boolean includeExpired) |
Modifier and Type | Method and Description |
---|---|
void |
AlertServiceImpl.createAlert(java.lang.String text,
User user)
Deprecated.
|
java.util.List<Alert> |
AlertServiceImpl.getAlerts(User user)
Deprecated.
|
java.util.List<Alert> |
AlertServiceImpl.getAlerts(User user,
boolean includeRead,
boolean includeExpired) |
java.util.List<Alert> |
AlertServiceImpl.getAlertsByUser(User user) |
java.util.List<Alert> |
AlertServiceImpl.getAllActiveAlerts(User user) |
java.util.List<Alert> |
AlertServiceImpl.getAllAlerts(User user)
Deprecated.
|
java.util.List<Note> |
NoteServiceImpl.getNotes(User user)
Get notes by user.
|
void |
MessageServiceImpl.send(Message message,
User user)
Deprecated.
|
void |
MessageServiceImpl.sendMessage(Message message,
User user)
Send message to a single user.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertServiceImpl.createAlert(java.lang.String text,
java.util.Collection<User> users)
Deprecated.
|
void |
MessageServiceImpl.send(Message message,
java.util.Collection<User> users)
Deprecated.
|
void |
MessageServiceImpl.sendMessage(Message message,
java.util.Collection<User> users)
Send message to a collection of recipients.
|
Modifier and Type | Method and Description |
---|---|
User |
ForEachAlertTag.getUser() |
Modifier and Type | Method and Description |
---|---|
void |
ForEachAlertTag.setUser(User user) |
Modifier and Type | Method and Description |
---|---|
User |
ReportObjectWrapper.getChangedBy()
Deprecated.
|
User |
Report.getChangedBy()
Deprecated.
|
User |
ReportObjectWrapper.getCreator()
Deprecated.
|
User |
Report.getCreator()
Deprecated.
|
User |
ReportObjectWrapper.getVoidedBy()
Deprecated.
|
User |
Report.getVoidedBy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ReportObjectWrapper.setChangedBy(User changedBy)
Deprecated.
|
void |
Report.setChangedBy(User changedBy)
Deprecated.
|
void |
ReportObjectWrapper.setCreator(User creator)
Deprecated.
|
void |
Report.setCreator(User creator)
Deprecated.
|
void |
ReportObjectWrapper.setVoidedBy(User voidedBy)
Deprecated.
|
void |
Report.setVoidedBy(User voidedBy)
Deprecated.
|
Constructor and Description |
---|
AbstractPatientDataProducer(java.lang.Integer reportObjectId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String subType,
User creator,
java.util.Date dateCreated,
User changedBy,
java.util.Date dateChanged,
java.lang.Boolean voided,
User voidedBy,
java.util.Date dateVoided,
java.lang.String voidReason)
Deprecated.
|
AbstractPatientFilter(java.lang.Integer reportObjectId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String subType,
User creator,
java.util.Date dateCreated,
User changedBy,
java.util.Date dateChanged,
java.lang.Boolean voided,
User voidedBy,
java.util.Date dateVoided,
java.lang.String voidReason)
Deprecated.
|
AbstractReportObject(java.lang.Integer reportObjectId,
java.lang.String name,
java.lang.String description,
java.lang.String type,
java.lang.String subType,
User creator,
java.util.Date dateCreated,
User changedBy,
java.util.Date dateChanged,
java.lang.Boolean voided,
User voidedBy,
java.util.Date dateVoided,
java.lang.String voidReason)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskDefinition.setCreatedBy(User authenticatedUser)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
UserByNameComparator.compare(User user1,
User user2) |
static java.io.File |
OpenmrsUtil.getOutFile(java.io.File dir,
java.util.Date date,
User user)
Gets an out File object.
|
Modifier and Type | Method and Description |
---|---|
User |
ChangePasswordFormController.formBackingObject()
The model from which the data binding happens on the view
|
User |
UserFormController.formBackingObject(org.springframework.web.context.request.WebRequest request,
java.lang.Integer personId) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<User> |
UserListController.getUsers(java.lang.String action,
java.lang.String name,
Role role,
java.lang.Boolean includeDisabled) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ChangePasswordFormController.handleSubmission(javax.servlet.http.HttpSession httpSession,
java.lang.String password,
java.lang.String confirmPassword,
java.lang.String question,
java.lang.String answer,
java.lang.String confirmAnswer,
User user,
org.springframework.validation.BindingResult errors)
Method to save changes of the new password for a user.
|
java.lang.String |
UserFormController.handleSubmission(org.springframework.web.context.request.WebRequest request,
javax.servlet.http.HttpSession httpSession,
org.springframework.ui.ModelMap model,
java.lang.String action,
java.lang.String password,
java.lang.String secretQuestion,
java.lang.String secretAnswer,
java.lang.String confirm,
java.lang.Boolean forcePassword,
java.lang.String[] roles,
java.lang.String createNewPerson,
java.lang.String addToProviderTableOption,
User user,
org.springframework.validation.BindingResult errors) |
java.lang.String |
UserFormController.showForm(java.lang.Integer userId,
java.lang.String createNewPerson,
User user,
org.springframework.ui.ModelMap model) |
Constructor and Description |
---|
UserListItem(User user) |
Modifier and Type | Method and Description |
---|---|
User |
FormatTag.getUser() |
Modifier and Type | Method and Description |
---|---|
void |
FormatTag.setUser(User user) |
Modifier and Type | Method and Description |
---|---|
static void |
CurrentUsers.addUser(javax.servlet.http.HttpSession httpSession,
User user)
Add the user to the current users.
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.