public class SelfEditingConfiguration extends Object
| Constructor and Description |
|---|
SelfEditingConfiguration(String selfEditingIdMatchingProperty) |
| Modifier and Type | Method and Description |
|---|---|
void |
associateIndividualWithUserAccount(IndividualDao indDao,
DataPropertyStatementDao dpsDao,
UserAccount user,
String associatedIndividualUri)
This Individual, if it exists, should be associated with this
UserAccount.
|
List<Individual> |
getAssociatedIndividuals(IndividualDao indDao,
String externalAuthId)
Get all Individuals associated with this externalAuthId through the
matching property.
|
List<Individual> |
getAssociatedIndividuals(IndividualDao indDao,
UserAccount user)
Get all Individuals associated with this user through the matching
property.
|
static SelfEditingConfiguration |
getBean(javax.servlet.ServletContext ctx)
Get the bean from the context.
|
static SelfEditingConfiguration |
getBean(javax.servlet.ServletRequest request)
Get the bean from the context.
|
String |
getMatchingPropertyUri()
What is the matching property? (might be null).
|
boolean |
isConfigured()
Find out whether there is a matching property at all.
|
String |
toString() |
public SelfEditingConfiguration(String selfEditingIdMatchingProperty)
public static SelfEditingConfiguration getBean(javax.servlet.ServletRequest request)
public static SelfEditingConfiguration getBean(javax.servlet.ServletContext ctx)
public boolean isConfigured()
public String getMatchingPropertyUri()
public List<Individual> getAssociatedIndividuals(IndividualDao indDao, UserAccount user)
public List<Individual> getAssociatedIndividuals(IndividualDao indDao, String externalAuthId)
public void associateIndividualWithUserAccount(IndividualDao indDao, DataPropertyStatementDao dpsDao, UserAccount user, String associatedIndividualUri)
Copyright © 2022. All rights reserved.