Package com.xebialabs.xlrelease.service
Class UserProfileService
java.lang.Object
com.xebialabs.xlrelease.service.UserProfileService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUserProfileService(com.xebialabs.xlrelease.repository.UserProfileRepository userProfileRepository, PrincipalDataProvider principalDataProvider, com.xebialabs.license.service.LicenseService licenseService, SessionService sessionService, com.xebialabs.xlrelease.events.EventBus eventBus, WelcomeTemplateHandler welcomeTemplateHandler) -
Method Summary
Modifier and TypeMethodDescriptionintcom.xebialabs.xlrelease.domain.UserProfilecreateOrUpdate(String username) voiddeleteByUsername(String username) com.xebialabs.xlrelease.domain.UserProfilevoidensureCreated(String username) List<com.xebialabs.xlrelease.domain.UserProfile>com.xebialabs.xlrelease.domain.UserProfilefindByUsername(String username) static booleanhasExternalPropertiesChanged(com.xebialabs.xlrelease.domain.UserProfile original, com.xebialabs.xlrelease.domain.UserProfile updated) com.xebialabs.xlrelease.domain.UserProfileresolveUserProfile(String username) com.xebialabs.xlrelease.domain.UserProfileresolveUserProfile(String username, boolean resolveWithDataProvider) voidsave(com.xebialabs.xlrelease.domain.UserProfile profile) List<com.xebialabs.xlrelease.domain.UserProfile>search(String email, String fullName, Boolean loginAllowed, Date lastActiveAfter, Date lastActiveBefore, Long page, Long resultsPerPage) booleanupdateLastActive(String canonicalId, Date lastActive) intupdateLastActiveBatch(Map<String, Date> entries) voidupdateProfile(com.xebialabs.xlrelease.domain.UserProfile... profiles) voidvalidate(com.xebialabs.xlrelease.domain.UserProfile profile)
-
Field Details
-
ROOT
-
ACCEPTED_DATE_FORMATS
-
ACCEPTED_TIME_FORMATS
-
ACCEPTED_FIRST_DAY_OF_WEEK_FORMATS
-
-
Constructor Details
-
UserProfileService
@Autowired public UserProfileService(com.xebialabs.xlrelease.repository.UserProfileRepository userProfileRepository, PrincipalDataProvider principalDataProvider, com.xebialabs.license.service.LicenseService licenseService, SessionService sessionService, com.xebialabs.xlrelease.events.EventBus eventBus, WelcomeTemplateHandler welcomeTemplateHandler)
-
-
Method Details
-
hasExternalPropertiesChanged
public static boolean hasExternalPropertiesChanged(com.xebialabs.xlrelease.domain.UserProfile original, com.xebialabs.xlrelease.domain.UserProfile updated) -
findAll
-
deleteByUsername
-
countUserWithLoginAllowed
@Timed public int countUserWithLoginAllowed() -
search
-
findByUsername
-
ensureCreated
-
discover
-
resolveUserProfile
-
resolveUserProfile
@Timed public com.xebialabs.xlrelease.domain.UserProfile resolveUserProfile(String username, boolean resolveWithDataProvider) -
createOrUpdate
-
save
@Timed public void save(com.xebialabs.xlrelease.domain.UserProfile profile) -
updateProfile
@Timed public void updateProfile(com.xebialabs.xlrelease.domain.UserProfile... profiles) -
updateLastActive
-
updateLastActiveBatch
-
validate
@Timed public void validate(com.xebialabs.xlrelease.domain.UserProfile profile)
-