Class UserSCCHelper
- java.lang.Object
 - 
- org.ametys.runtime.plugin.component.AbstractLogEnabled
 - 
- org.ametys.plugins.userdirectory.synchronize.UserSCCHelper
 
 
 
- 
- All Implemented Interfaces:
 LogEnabled,Component
public class UserSCCHelper extends AbstractLogEnabled implements Component
Helper for user directory. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringROLEThe avalon role.static StringUSER_UNIQUE_ID_METADATA_NAMEThe unique id metadata name for content type userstatic StringUSERS_LOGIN_METADATA_NAMEThe login metadata namestatic StringUSERS_METADATA_NAMEThe user metadata namestatic StringUSERS_POPULATION_METADATA_NAMEThe populationId metadata name 
- 
Constructor Summary
Constructors Constructor Description UserSCCHelper() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansynchronizeUserMetadata(String newLogin, String newPopulation, ModifiableDefaultContent content, org.slf4j.Logger logger)Synchronize user metadata- 
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger 
 - 
 
 - 
 
- 
- 
Field Detail
- 
USER_UNIQUE_ID_METADATA_NAME
public static final String USER_UNIQUE_ID_METADATA_NAME
The unique id metadata name for content type user- See Also:
 - Constant Field Values
 
 
- 
USERS_METADATA_NAME
public static final String USERS_METADATA_NAME
The user metadata name- See Also:
 - Constant Field Values
 
 
- 
USERS_LOGIN_METADATA_NAME
public static final String USERS_LOGIN_METADATA_NAME
The login metadata name- See Also:
 - Constant Field Values
 
 
- 
USERS_POPULATION_METADATA_NAME
public static final String USERS_POPULATION_METADATA_NAME
The populationId metadata name- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
UserSCCHelper
public UserSCCHelper()
 
 - 
 
- 
Method Detail
- 
synchronizeUserMetadata
public boolean synchronizeUserMetadata(String newLogin, String newPopulation, ModifiableDefaultContent content, org.slf4j.Logger logger)
Synchronize user metadata- Parameters:
 newLogin- the new loginnewPopulation- the new populationcontent- the contentlogger- the logger- Returns:
 - true if changes are made
 
 
 - 
 
 -