this.userId = userId;
this.key = key;
}
public String execute(CommandContext commandContext) {
IdentityInfoEntity identityInfo = commandContext
.getIdentityInfoEntityManager()
.findUserInfoByUserIdAndKey(userId, key);
return (identityInfo!=null ? identityInfo.getValue() : null);
}