Uses of Class
com.skava.model.datatransferobjects.Collection
Packages that use Collection
Package
Description
This package contains the user domain factory definition classes.
This package contains the user domain factory implementation classes.
This package contains the user response model classes.
This package contains the user service implementation classes.
This package holds the user util method classes.
This package contains the controller classes.
-
Uses of Collection in com.skava.business.factory
Methods in com.skava.business.factory with parameters of type CollectionModifier and TypeMethodDescriptionCollectionDomainFactory.createCollectionDO
(Collection collection) This method converts theCollection
object toCollectionDomain
object. -
Uses of Collection in com.skava.business.factoryimpl
Methods in com.skava.business.factoryimpl with parameters of type CollectionModifier and TypeMethodDescriptionCollectionDomainFactoryImpl.createCollectionDO
(Collection collection) This method converts theCollection
object toCollectionDomain
object. -
Uses of Collection in com.skava.model.responses
Constructors in com.skava.model.responses with parameters of type CollectionModifierConstructorDescriptionCommonCollectionResponse
(Collection collection) Instantiates a new CommonCollectionResponse object. -
Uses of Collection in com.skava.service.impl
Methods in com.skava.service.impl that return CollectionModifier and TypeMethodDescriptionGetCollectionServiceImpl.getCollectionResponse
(CollectionRequest request) getCollectionResponseMethods in com.skava.service.impl with parameters of type CollectionModifier and TypeMethodDescriptionUserLoginMergeServiceImpl.checkMFAEnabledAndMergeUserEnabled
(UserAuthRequest request, Collection collection, UsersEntity userEntity, AuthenticatedUser authenticatedUser, com.skava.core.event.EventClientComponent eventClientComponent, com.skava.core.auth.AuthTokenHandler authTokenHandler) This method is used to check whether MFA and merge enabled or not and send response based on the given request.UserLoginMergeServiceImpl.checkMFAEnabledAndMergeUserEnabled
(UserAuthRequest request, Collection collection, UsersEntity userEntity, String authorizationData, boolean resetParam, com.skava.core.event.EventClientComponent eventClientComponent, com.skava.core.auth.AuthTokenHandler authTokenHandler) This method is used to check whether MFA and merge enabled or not and send response based on the given request.UserLoginMergeServiceImpl.checkMFAEnabledAndMergeUserEnabled
(UserAuthRequest request, Collection collection, UsersEntity userEntity, String authorizationData, com.skava.core.event.EventClientComponent eventClientComponent, com.skava.core.auth.AuthTokenHandler authTokenHandler) This method is used to check whether MFA and merge enabled or not and send response based on the given request.CreateUserServiceImpl.checkMFAEnabledForUserCreate
(UserRequest request, Collection collection, Users user, com.skava.core.event.EventClientComponent eventClientComponent, com.skava.core.auth.AuthTokenHandler authTokenHandler) This method is used to check whether MFA and merge enabled or not and send response based on the given request.UpdateUserServiceImpl.checkMFAEnabledForUserUpdate
(UserRequest request, Collection collection, Users user, com.skava.core.event.EventClientComponent eventClientComponent, com.skava.core.auth.AuthTokenHandler authTokenHandler) This method is used to check whether MFA and merge enabled or not and send response based on the given request.UserCheckAuthServiceImpl.checkPasswordExpiryMFA
(UserAuthRequest request, UserAuthResponse userAuthResponse, Collection collection) CreateUserServiceImplHelper.createRegisteredUser
(List<Users> usersVO, boolean inviteUserFlag, Collection collection, UserRequest request, List<CollectionAttributeEntity> collectionAttributes, String enableUserMerge) This method is used to create an user in active state or not activated state based on inviteUserFlag.CreateUserOTPActivationServiceImpl.generatOTPForSignUpMFAAndCheckRecentOTPs
(UserCommonServices userCommonServices, Collection collection, UsersEntity userEntity, CollectionCommonServices collectionCommonServices, boolean isResendOTP, boolean isResetOTP, int resendCount) This method is used to generate OTP andactivationParamCollectionCommonServices.loadProperty
(Collection collection, String name) load collection properties from cacheCollectionCommonServices.loadProperty
(Collection collection, List<CollectionAttributeEntity> collectionAttributes, String name) load collection properties from cacheCreateCollectionServiceImpl.process
(Collection request) This method process the create collection service request.UpdateCollectionServiceImpl.process
(Collection input) This service is used to update a collection which already exists.ResendLoginMFAServiceImpl.resendMFALoginOTPAndToken
(UserAuthRequest request, Collection collection, long userId) This method used to resend login otp and for users.ResendMFAServiceImpl.resendMfaOtpAndToken
(UserRequest request, Collection collection, long userId) This method used to resend otp and for users.ResendMFAServiceImpl.resendMfaOtpAndToken
(UserRequest request, Collection collection, long userId, String routingKey) This method used to resend otp and for users.CreateUserOTPActivationServiceImpl.resendMFASignUpOTPAndToken
(UsersEntity user, Collection collection, String locale, boolean isResendOTP, boolean isResetOTP) This method used to send SignUp OTP for users.ValidateLoginTokenMFAServiceImpl.validateLoginToken
(UserAuthRequest request, Collection collection) This method is used to validate login token and choose whether resend or validate login otp based on the presence of the login otp from request.ValidateLoginMFAServiceImpl.validateMFAAuthenticatorOTP
(UserAuthRequest request, Collection collection, long userId) This method used to validate login token and OTPValidateLoginMFAServiceImpl.validateMFALoginOTPAndToken
(UserAuthRequest request, Collection collection, long userId) This method used to validate login token and OTPvoid
ValidateMFAServiceImpl.validateMfaOtpAndToken
(UserRequest request, Collection collection, long userId) This method used to validate login token and OTPvoid
ValidateActivationServiceImpl.validateMFASignUpOTPAndToken
(String userEnteredOTP, Collection collection, long userId, String locale, boolean isResetOTP, String userOtp) This method used to validate login token and OTPValidateTokenMFAServiceImpl.validateToken
(UserRequest request, Collection collection) This method is used to validate token and choose whether resends or validate otp based on the presence of the Otp from request.ValidateTokenMFAServiceImpl.validateToken
(UserRequest request, Collection collection, String routingKey) This method is used to validate token and choose whether resends or validate otp based on the presence of the Otp from request.void
CreateUserServiceImplHelper.validationUserList
(List<Users> users, List<Users> createdUsers, List<Users> existUsers, List<Users> guestUsers, String locale, Collection collection, boolean validate) This method is used to get existing user list and creating user list by checking the user email and phone number in database and check needs to create whether guest or register user. -
Uses of Collection in com.skava.util
Methods in com.skava.util that return CollectionModifier and TypeMethodDescriptionstatic Collection
CacheUtil.getCollectionValueFromCacheOrDB
(UserCommonServices userCommonServices, Long collectionId, Long businessId, String locale, boolean isloadProperties) This method is used to get collection value from cache or DB.Methods in com.skava.util with parameters of type CollectionModifier and TypeMethodDescriptionstatic void
CollectionValidatorUtil.checkCollectionNameExists
(CollectionRepository collectionRepository, Collection collection, org.springframework.context.MessageSource messageSource, String locale) This method is used to check if a collection already exists for the given name.static void
CollectionValidatorUtil.filterCollectionProperties
(Collection collection, String collectionAllowedProperties) filterCollectionProperties - This method is used to filter the collection properties based on the allowed properties.static List<UsersEntity>
CreateUserUtil.generateActivationParam
(List<UsersEntity> usersEntity, Collection collection, UserRequest request, String userVerifyMethod, CreateUserOTPActivationServiceImpl createUserOTPActivationService, UserCommonServices userCommonServices) This method is used to generate activation param for the list of users.static String
UserLoginMFAUtil.generateLoginTokenAndOTPForLoginMFAAndCheckRecentOTPs
(UserCommonServices userCommonServices, UserAuthRequest request, Collection collection, UsersEntity userEntity, com.skava.core.event.EventClientComponent eventClientComponent, CollectionCommonServices collectionCommonServices) This method is used to generate login OTP and login Token which is used for MFA login.static String
UserUpdateMFAUtil.generateTokenAndOTPForMFAAndCheckRecentOTPs
(UserCommonServices userCommonServices, UserRequest request, Collection collection, Users user, com.skava.core.event.EventClientComponent eventClientComponent, CollectionCommonServices collectionCommonServices) This method is used to generate OTP and Token which is used for MFA .static String
UserUpdateMFAUtil.generateTokenAndOTPForMFAAndCheckRecentOTPs
(UserCommonServices userCommonServices, UserRequest request, Collection collection, Users user, com.skava.core.event.EventClientComponent eventClientComponent, CollectionCommonServices collectionCommonServices, String routingKey) This method is used to generate OTP and Token which is used for MFA .static CollectionStatus
UserCollectionUtil.getCollectionStatus
(Collection request) This method is used to get the Collection status for a collection.static UsersEventPayLoad
UserNotificationUtil.getRequiredParamsForEvent
(boolean inviteUserFlag, List<CollectionAttributeEntity> collectionAttributes, Collection collection, CollectionCommonServices collectionCommonServices, boolean isLoadCollectionProperties) This method is used to get required params for event.static String
CreateUserUtil.getUserActivationMethodFromCollection
(Collection collection, CollectionCommonServices collectionCommonServices) This method is used to get user activation method from collection.static boolean
UserUtil.isMFAEnabledFor
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices, String name) isMFAEnabledFor method will fetch the list of process that allows MFA , i.e. login/signup/updatestatic String
UserAuthUtil.loadEnableUserMergeValueFromDB
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method is used to load collection property value from DBstatic String
UserUtil.loadEnableUserMergeValueFromDB
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method is used to load collection property value from DBstatic int
UserAuthUtil.loadFailMaxLimitFromCollectionProperties
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method used to load collection property of resend limit for MFAstatic int
UserUtil.loadFailMaxLimitFromCollectionProperties
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method used to load collection property of resend limit for MFAstatic String
UserAuthUtil.loadMFAValueFromDB
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices, String name) This method is used to load collection property value from DBstatic String
UserUtil.loadMFAValueFromDB
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices, String name) This method is used to load collection property value from DBstatic int
UserLoginMFAUtil.loadRecentOTPFromCollectionProperties
(Collection collection, CollectionCommonServices collectionCommonServices, UserCommonServices userCommonServices) This method is used to load Recent OTP value count from database for the given collection.static int
UserAuthUtil.loadResendMaxLimitFromCollectionProperties
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method used to load collection property of resend limit for MFAstatic int
UserUtil.loadResendMaxLimitFromCollectionProperties
(Collection collection, UserCommonServices userCommonServices, CollectionCommonServices collectionCommonServices) This method used to load collection property of resend limit for MFAstatic UsersEntity
UserMergeUtil.mergeUsers
(UsersEntity winner, UsersEntity fakeUser, com.skava.core.event.EventClientComponent eventClientComponent, Collection collection, UserCommonServices userCommonServices, UserEventCommonPayLoad userEventCommonPayLoad) This method is used to merge fake user and winner user and trigger an usr event for this user merge.static void
UserNotificationUtil.sendingNotificationForUser
(com.skava.core.event.EventClientComponent eventClientComponent, UsersEventPayLoad userEventPayLoad, String routingKey, List<Users> usersList, Collection collection, long storeId, String authToken) This method is used to send Notification in invite user.static void
UserAuthEventTriggerUtil.triggeringEventForMFA
(com.skava.core.event.EventClientComponent eventClientComponent, LoginMFAPayload loginMFAPayload, String routingKey, Collection collection, UserEventCommonPayLoad userEventCommonPayLoad) This method used to trigger message event to rabbit MQ serverstatic void
UserEventTriggerUtil.triggeringEventForMFA
(com.skava.core.event.EventClientComponent eventClientComponent, MfaPayload mfaPayload, String routingKey, Collection collection, UserEventCommonPayLoad userEventCommonPayLoad) This method used to trigger message event to rabbit MQ serverstatic void
UserMergeUtil.triggerUserMergeEvent
(com.skava.core.event.EventClientComponent eventClientComponent, UsersMergePayLoad userMergePayload, String routingKey, Collection collection, UserEventCommonPayLoad userEventCommonPayLoad) This method is used to trigger an user merge event.static void
CollectionValidatorUtil.validateDescription
(Collection request, org.springframework.context.MessageSource messageSource) This method is used to check if the description exceeds a particular length. -
Uses of Collection in com.skava.web
Methods in com.skava.web that return types with arguments of type CollectionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Collection>
CollectionController.createCollection
(Long businessId, String authToken, @Valid Collection request, String locale, String version, long storeId) This service is used to create collection and returns the created resource as response when the request is valid other wise validation error response will be return as a response with respective http status code using service implementation.org.springframework.http.ResponseEntity<Collection>
CollectionController.getCollectionById
(Long collectionId, Long businessId, String authToken, String locale, String version, long storeId) This service is used to retrieve collection details by collection identifier and business identifier.org.springframework.http.ResponseEntity<Collection>
CollectionController.updateCollection
(Long businessId, String authToken, Long collectionId, Collection request, String locale, String version, long storeId) This service is used to update collection and returns the updated resource as response when the request is valid other wise validation error response will be return as a response with respective http status code using service implementation.Methods in com.skava.web with parameters of type CollectionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Collection>
CollectionController.createCollection
(Long businessId, String authToken, @Valid Collection request, String locale, String version, long storeId) This service is used to create collection and returns the created resource as response when the request is valid other wise validation error response will be return as a response with respective http status code using service implementation.org.springframework.http.ResponseEntity<Collection>
CollectionController.updateCollection
(Long businessId, String authToken, Long collectionId, Collection request, String locale, String version, long storeId) This service is used to update collection and returns the updated resource as response when the request is valid other wise validation error response will be return as a response with respective http status code using service implementation.