This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.hydrafacial.nani.repository; | |
import com.hydrafacial.nani.models.User; | |
import com.hydrafacial.nani.services.UserService.LookupUserDTO; | |
import lombok.Data; | |
import lombok.experimental.Accessors; | |
public interface UserRepositoryRestDAO { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.hydrafacial.nani.controllers; | |
import com.fasterxml.jackson.annotation.JsonUnwrapped; | |
import com.fasterxml.jackson.databind.annotation.JsonDeserialize; | |
import com.hydrafacial.nani.models.CountryCode; | |
import com.hydrafacial.nani.models.CumulusUser.UserReauthentication; | |
import com.hydrafacial.nani.models.CumulusUser.UserRegistration; | |
import com.hydrafacial.nani.models.CumulusUser.UserVerification; | |
import com.hydrafacial.nani.models.User; | |
import com.hydrafacial.nani.services.UserService; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commandsList.add(new OperateCommand(CLIENT_LIST_KEY, uuidStr, OperateCommand.DATABASE_COMMAND | |
.REMOVE_FROM_SET, null)); | |
commandsList.add(new OperateCommand(client.getName(), null, OperateCommand.DATABASE_COMMAND | |
.REMOVE_FROM_HSET, CLIENT_UUID_MAP_CATEGORY)); | |
commandsList.add(new OperateCommand(getFullClientId(uuidStr), null, OperateCommand.DATABASE_COMMAND | |
.DELETE, null)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commandsList.add(OperateCommand.removeFromSetCommand(uuidStr)); | |
commandsList.add(OperateCommand.removeFromHSetCommand(client.getName())); | |
commandsList.add(OperateCommand.deleteCommand(getFullClientId(uuidStr))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mgage.kronos.shared; | |
import org.springframework.util.StringUtils; | |
public class OperateCommand<V> { | |
private String hsetCategory; | |
private String keyword; | |
private V value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mgage.kronos.shared; | |
import com.mgage.kronos.model.Client; | |
import com.mgage.kronos.service.ClientService; | |
import static com.mgage.kronos.shared.OperateCommand.DatabaseCommand.ADD_TO_HSET; | |
import static com.mgage.kronos.shared.OperateCommand.DatabaseCommand.ADD_TO_SET; | |
import static com.mgage.kronos.shared.OperateCommand.DatabaseCommand.DELETE; | |
import static com.mgage.kronos.shared.OperateCommand.DatabaseCommand.INSERT_UPDATE; |