Class UserSCCHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.userdirectory.synchronize.UserSCCHelper
- All Implemented Interfaces:
LogEnabled
,Component
Helper for user directory.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
synchronizeUserMetadata
(String newLogin, String newPopulation, ModifiableDefaultContent content, Logger logger) Synchronize user metadataMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The avalon role. -
USER_UNIQUE_ID_METADATA_NAME
The unique id metadata name for content type user- See Also:
-
USERS_METADATA_NAME
The user metadata name- See Also:
-
USERS_LOGIN_METADATA_NAME
The login metadata name- See Also:
-
USERS_POPULATION_METADATA_NAME
The populationId metadata name- See Also:
-
-
Constructor Details
-
UserSCCHelper
public UserSCCHelper()
-
-
Method Details
-
synchronizeUserMetadata
public boolean synchronizeUserMetadata(String newLogin, String newPopulation, ModifiableDefaultContent content, Logger logger) Synchronize user metadata- Parameters:
newLogin
- the new loginnewPopulation
- the new populationcontent
- the contentlogger
- the logger- Returns:
- true if changes are made
-