|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.logging.LogDelegator
org.olat.user.propertyhandlers.UserPropertiesConfigImpl
public class UserPropertiesConfigImpl
Initial Date: 31.07.2007
| Field Summary | |
|---|---|
static java.lang.String |
PACKAGE
|
| Constructor Summary | |
|---|---|
UserPropertiesConfigImpl()
|
|
| Method Summary | |
|---|---|
java.util.List<UserPropertyHandler> |
getAllUserPropertyHandlers()
Get all available property handlers. |
UserPropertyHandler |
getPropertyHandler(java.lang.String handlerName)
Get the property handler with the given name |
Translator |
getTranslator(Translator fallBack)
Factory method to create a translator that can translate the user properties. |
java.util.List<UserPropertyHandler> |
getUserPropertyHandlersFor(java.lang.String usageIdentifyer,
boolean isAdministrativeUser)
Get the user property handlers for the context of the usageIdentifyer. |
void |
init()
|
boolean |
isMandatoryUserProperty(java.lang.String usageIdentifyer,
UserPropertyHandler propertyHandler)
Checks if the given property is mandatory in the context of the usageIdentifyer. |
boolean |
isUserViewReadOnly(java.lang.String usageIdentifyer,
UserPropertyHandler propertyHandler)
Checks if the given property can be edited by the regular user in the context of the usageIdentifyer. |
void |
setUserPropertyHandlers(java.util.List<UserPropertyHandler> userPropertyHandlers)
Spring setter |
void |
setUserPropertyUsageContexts(java.util.Map<java.lang.String,UserPropertyUsageContext> userPropertyUsageContexts)
Spring setter |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PACKAGE
| Constructor Detail |
|---|
public UserPropertiesConfigImpl()
| Method Detail |
|---|
public void init()
public void setUserPropertyUsageContexts(java.util.Map<java.lang.String,UserPropertyUsageContext> userPropertyUsageContexts)
userPropertyUsageContexts - public void setUserPropertyHandlers(java.util.List<UserPropertyHandler> userPropertyHandlers)
userPropertyHandlers - public UserPropertyHandler getPropertyHandler(java.lang.String handlerName)
UserPropertiesConfig
getPropertyHandler in interface UserPropertiesConfigUserPropertiesConfig.getPropertyHandler(java.lang.String)public Translator getTranslator(Translator fallBack)
UserPropertiesConfig
getTranslator in interface UserPropertiesConfigUserPropertiesConfig.getTranslator(org.olat.core.gui.translator.Translator)public java.util.List<UserPropertyHandler> getAllUserPropertyHandlers()
UserPropertiesConfig
getAllUserPropertyHandlers in interface UserPropertiesConfigUserPropertiesConfig.getAllUserPropertyHandlers()
public java.util.List<UserPropertyHandler> getUserPropertyHandlersFor(java.lang.String usageIdentifyer,
boolean isAdministrativeUser)
UserPropertiesConfig
getUserPropertyHandlersFor in interface UserPropertiesConfigUserPropertiesConfig.getUserPropertyHandlersFor(java.lang.String, boolean)
public boolean isMandatoryUserProperty(java.lang.String usageIdentifyer,
UserPropertyHandler propertyHandler)
UserPropertiesConfig
isMandatoryUserProperty in interface UserPropertiesConfigUserPropertiesConfig.isMandatoryUserProperty(java.lang.String, org.olat.user.propertyhandlers.UserPropertyHandler)
public boolean isUserViewReadOnly(java.lang.String usageIdentifyer,
UserPropertyHandler propertyHandler)
UserPropertiesConfig
isUserViewReadOnly in interface UserPropertiesConfigUserPropertiesConfig.isUserViewReadOnly(java.lang.String, org.olat.user.propertyhandlers.UserPropertyHandler)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||