├── .gitignore
├── .idea
├── .gitignore
├── javaCamp.iml
├── modules.xml
├── vcs.xml
└── workspace.xml
├── .metadata
├── .lock
├── .log
├── .plugins
│ ├── org.eclipse.core.resources
│ │ ├── .root
│ │ │ └── .indexes
│ │ │ │ ├── history.version
│ │ │ │ ├── properties.index
│ │ │ │ └── properties.version
│ │ └── .safetable
│ │ │ └── org.eclipse.core.resources
│ ├── org.eclipse.core.runtime
│ │ └── .settings
│ │ │ ├── org.eclipse.core.resources.prefs
│ │ │ ├── org.eclipse.jdt.ui.prefs
│ │ │ ├── org.eclipse.jsch.core.prefs
│ │ │ ├── org.eclipse.m2e.discovery.prefs
│ │ │ ├── org.eclipse.ui.ide.prefs
│ │ │ ├── org.eclipse.ui.prefs
│ │ │ ├── org.eclipse.ui.workbench.prefs
│ │ │ └── org.eclipse.urischeme.prefs
│ ├── org.eclipse.e4.workbench
│ │ └── workbench.xmi
│ ├── org.eclipse.jdt.core
│ │ ├── assumedExternalFilesCache
│ │ ├── externalFilesCache
│ │ ├── nonChainingJarsCache
│ │ └── variablesAndContainers.dat
│ ├── org.eclipse.jdt.ui
│ │ ├── OpenTypeHistory.xml
│ │ ├── QualifiedTypeNameHistory.xml
│ │ └── dialog_settings.xml
│ ├── org.eclipse.m2e.logback.configuration
│ │ ├── 0.log
│ │ └── logback.1.16.0.20200318-1040.xml
│ ├── org.eclipse.oomph.setup
│ │ └── workspace.setup
│ ├── org.eclipse.tips.ide
│ │ └── dialog_settings.xml
│ ├── org.eclipse.tm.terminal.view.ui
│ │ └── .executables
│ │ │ └── data.properties
│ ├── org.eclipse.ui.intro
│ │ └── introstate
│ └── org.eclipse.ui.workbench
│ │ └── workingsets.xml
└── version.ini
├── IntroJavaAndReact
├── .classpath
├── .gitignore
├── .idea
│ ├── .gitignore
│ ├── misc.xml
│ ├── modules.xml
│ └── vcs.xml
├── .project
├── .settings
│ └── org.eclipse.jdt.core.prefs
├── IntroJavaAndReact.iml
├── bin
│ └── IntroJavaAndReact1.class
└── src
│ └── IntroJavaAndReact1.java
├── advancedJavaScript-master
└── advancedJavaScript-master
│ ├── .gitignore
│ ├── .vscode
│ ├── launch.json
│ └── settings.json
│ ├── README.md
│ ├── index.html
│ ├── package-lock.json
│ ├── package.json
│ └── src
│ ├── app.js
│ └── oop
│ └── index.js
├── inheritance
├── .gitignore
├── .idea
│ ├── .gitignore
│ ├── description.html
│ ├── encodings.xml
│ ├── misc.xml
│ ├── modules.xml
│ ├── project-template.xml
│ ├── uiDesigner.xml
│ └── vcs.xml
├── inheritance.iml
├── out
│ └── production
│ │ └── inheritance
│ │ └── com
│ │ └── inheritance
│ │ ├── CorporateCustomer.class
│ │ ├── Customer.class
│ │ ├── CustomerManager.class
│ │ ├── IndividualCustomer.class
│ │ ├── Main.class
│ │ └── SyndicateCustomer.class
└── src
│ └── com
│ └── inheritance
│ ├── CorporateCustomer.java
│ ├── Customer.java
│ ├── CustomerManager.java
│ ├── IndividualCustomer.java
│ ├── Main.java
│ └── SyndicateCustomer.java
├── inheritance2
├── .gitignore
├── .idea
│ └── encodings.xml
├── inheritance2.iml
├── out
│ └── production
│ │ └── inheritance2
│ │ └── com
│ │ └── inheritance2
│ │ ├── CustomerManager.class
│ │ ├── DatabaseLogger.class
│ │ ├── EmailLogger.class
│ │ ├── FileLogger.class
│ │ ├── LogManager.class
│ │ ├── Main.class
│ │ └── Mlogger.class
└── src
│ └── com
│ └── inheritance2
│ ├── CustomerManager.java
│ ├── DatabaseLogger.java
│ ├── EmailLogger.java
│ ├── FileLogger.java
│ ├── LogManager.java
│ ├── Main.java
│ └── Mlogger.java
├── interfaces
├── .idea
│ ├── .gitignore
│ ├── description.html
│ ├── encodings.xml
│ ├── misc.xml
│ ├── modules.xml
│ ├── project-template.xml
│ └── vcs.xml
├── interfaces.iml
├── out
│ └── production
│ │ └── interfaces
│ │ └── com
│ │ └── interfaces
│ │ ├── Customer.class
│ │ ├── CustomerManager.class
│ │ ├── DatabaseLogger.class
│ │ ├── EmailLogger.class
│ │ ├── FileLogger.class
│ │ ├── Logger.class
│ │ ├── Main.class
│ │ ├── SmsLogger.class
│ │ └── Utils.class
└── src
│ └── com
│ └── interfaces
│ ├── Customer.java
│ ├── CustomerManager.java
│ ├── DatabaseLogger.java
│ ├── EmailLogger.java
│ ├── FileLogger.java
│ ├── Logger.java
│ ├── Main.java
│ ├── SmsLogger.java
│ └── Utils.java
├── kodlamaIoHw
├── camesaGame
│ ├── .idea
│ │ ├── .gitignore
│ │ ├── description.html
│ │ ├── encodings.xml
│ │ ├── misc.xml
│ │ ├── modules.xml
│ │ ├── project-template.xml
│ │ ├── uiDesigner.xml
│ │ └── vcs.xml
│ ├── camesaGame.iml
│ ├── out
│ │ └── production
│ │ │ └── camesaGame
│ │ │ └── com
│ │ │ └── camesaGame
│ │ │ ├── Main.class
│ │ │ ├── account
│ │ │ ├── Player.class
│ │ │ ├── PlayerAccountManager.class
│ │ │ └── PlayerCheckManager.class
│ │ │ ├── campaign
│ │ │ ├── Campaign.class
│ │ │ └── GameCampaignManager.class
│ │ │ ├── interfaces
│ │ │ ├── BaseService.class
│ │ │ ├── GameSalesService.class
│ │ │ └── PlayerCheckService.class
│ │ │ └── sales
│ │ │ ├── GameSalesManager.class
│ │ │ └── Sales.class
│ └── src
│ │ └── com
│ │ └── camesaGame
│ │ ├── Main.java
│ │ ├── account
│ │ ├── Player.java
│ │ ├── PlayerAccountManager.java
│ │ └── PlayerCheckManager.java
│ │ ├── campaign
│ │ ├── Campaign.java
│ │ └── GameCampaignManager.java
│ │ ├── interfaces
│ │ ├── BaseService.java
│ │ ├── GameSalesService.java
│ │ └── PlayerCheckService.java
│ │ └── sales
│ │ ├── GameSalesManager.java
│ │ └── Sales.java
├── coffeeApp
│ ├── .idea
│ │ ├── .gitignore
│ │ ├── description.html
│ │ ├── encodings.xml
│ │ ├── libraries
│ │ │ └── EasyWSDLLib.xml
│ │ ├── misc.xml
│ │ ├── modules.xml
│ │ ├── project-template.xml
│ │ └── vcs.xml
│ ├── coffeeApp.iml
│ ├── easywsdl
│ │ ├── ExKsoap2-1.0.3.1.jar
│ │ └── ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar
│ ├── out
│ │ └── production
│ │ │ └── coffeeApp
│ │ │ └── com
│ │ │ └── coffeeApp
│ │ │ ├── Main.class
│ │ │ ├── abstracts
│ │ │ └── BaseCustomerManager.class
│ │ │ ├── adapters
│ │ │ └── MernisServiceAdapter.class
│ │ │ ├── concreate
│ │ │ ├── CustomerCheckManager.class
│ │ │ ├── NeroCustomerManager.class
│ │ │ └── StarbucksCustomerManager.class
│ │ │ ├── entities
│ │ │ └── Customer.class
│ │ │ ├── interfaces
│ │ │ ├── CustomerCheckService.class
│ │ │ ├── CustomerService.class
│ │ │ └── Entity.class
│ │ │ └── mernisService
│ │ │ ├── IRIDateTimeConverter.class
│ │ │ ├── IRIExtendedSoapSerializationEnvelope.class
│ │ │ ├── IRIHelper.class
│ │ │ ├── IRIKPSPublicSoap$1.class
│ │ │ ├── IRIKPSPublicSoap$IRIIWcfMethod.class
│ │ │ ├── IRIKPSPublicSoap.class
│ │ │ ├── IRIKPSPublicSoap12$1.class
│ │ │ ├── IRIKPSPublicSoap12$IRIIWcfMethod.class
│ │ │ ├── IRIKPSPublicSoap12.class
│ │ │ ├── IRIMarshalGuid.class
│ │ │ ├── IRIStandardDateTimeConverter.class
│ │ │ └── Metadata.info
│ └── src
│ │ └── com
│ │ └── coffeeApp
│ │ ├── Main.java
│ │ ├── abstracts
│ │ └── BaseCustomerManager.java
│ │ ├── adapters
│ │ └── MernisServiceAdapter.java
│ │ ├── concreate
│ │ ├── CustomerCheckManager.java
│ │ ├── NeroCustomerManager.java
│ │ └── StarbucksCustomerManager.java
│ │ ├── entities
│ │ └── Customer.java
│ │ ├── interfaces
│ │ ├── CustomerCheckService.java
│ │ ├── CustomerService.java
│ │ └── Entity.java
│ │ └── mernisService
│ │ ├── IRIDateTimeConverter.java
│ │ ├── IRIExtendedSoapSerializationEnvelope.java
│ │ ├── IRIHelper.java
│ │ ├── IRIKPSPublicSoap.java
│ │ ├── IRIKPSPublicSoap12.java
│ │ ├── IRIMarshalGuid.java
│ │ ├── IRIStandardDateTimeConverter.java
│ │ └── Metadata.info
├── eCommerceAuthentication
│ ├── .idea
│ │ ├── .gitignore
│ │ ├── description.html
│ │ ├── encodings.xml
│ │ ├── misc.xml
│ │ ├── modules.xml
│ │ ├── project-template.xml
│ │ ├── uiDesigner.xml
│ │ └── vcs.xml
│ ├── eCommerceAuthentication.iml
│ ├── out
│ │ └── production
│ │ │ └── eCommerceAuthentication
│ │ │ └── com
│ │ │ └── eCommerceAuthentication
│ │ │ ├── Main.class
│ │ │ ├── business
│ │ │ ├── abstracts
│ │ │ │ └── UserLoginService.class
│ │ │ └── concretes
│ │ │ │ └── UserLoginManager.class
│ │ │ ├── core
│ │ │ ├── GoogleAuthManagerAdapter.class
│ │ │ ├── NotifyManager.class
│ │ │ └── NotifyService.class
│ │ │ ├── dataAccess
│ │ │ ├── abstracts
│ │ │ │ └── UserDao.class
│ │ │ └── concretes
│ │ │ │ └── RepositoryUserDao.class
│ │ │ ├── entities
│ │ │ ├── abstracts
│ │ │ │ └── Entity.class
│ │ │ └── concretes
│ │ │ │ └── User.class
│ │ │ └── googleAuthentication
│ │ │ └── GoogleAuthManager.class
│ └── src
│ │ └── com
│ │ └── eCommerceAuthentication
│ │ ├── Main.java
│ │ ├── business
│ │ ├── abstracts
│ │ │ └── UserLoginService.java
│ │ └── concretes
│ │ │ └── UserLoginManager.java
│ │ ├── core
│ │ ├── GoogleAuthManagerAdapter.java
│ │ ├── NotifyManager.java
│ │ └── NotifyService.java
│ │ ├── dataAccess
│ │ ├── abstracts
│ │ │ └── UserDao.java
│ │ └── concretes
│ │ │ └── RepositoryUserDao.java
│ │ ├── entities
│ │ ├── abstracts
│ │ │ └── Entity.java
│ │ └── concretes
│ │ │ └── User.java
│ │ └── googleAuthentication
│ │ └── GoogleAuthManager.java
├── hrms-project-with-react
│ ├── .gitignore
│ ├── .vscode
│ │ └── launch.json
│ ├── README.md
│ ├── assets
│ │ └── diagram.png
│ ├── package-lock.json
│ ├── package.json
│ ├── public
│ │ ├── favicon.ico
│ │ ├── index.html
│ │ ├── logo192.png
│ │ ├── logo512.png
│ │ ├── manifest.json
│ │ └── robots.txt
│ ├── src
│ │ ├── App.css
│ │ ├── App.js
│ │ ├── App.test.js
│ │ ├── images
│ │ │ └── me.jpg
│ │ ├── index.css
│ │ ├── index.js
│ │ ├── layout
│ │ │ ├── Categories.js
│ │ │ ├── Dashboard.js
│ │ │ ├── Employer.js
│ │ │ ├── Navi.js
│ │ │ ├── Settings.js
│ │ │ ├── SignIn.js
│ │ │ └── SignOut.js
│ │ ├── logo.svg
│ │ ├── pages
│ │ │ ├── AddAdvertisement.js
│ │ │ ├── Authentications
│ │ │ │ ├── EmployeeRegister.js
│ │ │ │ ├── EmployerRegister.js
│ │ │ │ ├── JobSeekerRegister.js
│ │ │ │ └── LoginPage.js
│ │ │ ├── Cvs
│ │ │ │ ├── AddCv.js
│ │ │ │ └── CvDetails.js
│ │ │ ├── Details
│ │ │ │ ├── AdvertisementDetails.js
│ │ │ │ └── SystemEmployeeDetails.js
│ │ │ ├── Lists
│ │ │ │ ├── CvList.js
│ │ │ │ ├── EmployerList.js
│ │ │ │ ├── JobAdvertisementList.js
│ │ │ │ ├── JobPositionList.js
│ │ │ │ ├── JobSeekerList.js
│ │ │ │ ├── OpenAndApprovedAdvertisementList.js
│ │ │ │ └── SystemEmployeeList.js
│ │ │ └── cvs
│ │ │ │ ├── Crud
│ │ │ │ ├── Add
│ │ │ │ │ ├── AddEducationForCv.js
│ │ │ │ │ ├── AddLanguageForCv.js
│ │ │ │ │ ├── AddProgrammingSkillForCv.js
│ │ │ │ │ ├── AddSocialMediaForCv.js
│ │ │ │ │ └── AddWorkExperienceForCv.js
│ │ │ │ └── Update
│ │ │ │ │ ├── UpdateEducationForCv.js
│ │ │ │ │ ├── UpdateLanguageForCv.js
│ │ │ │ │ ├── UpdateProgrammingSkillForCv.js
│ │ │ │ │ ├── UpdateSocialMediaForCv.js
│ │ │ │ │ ├── UpdateSystemEmployee.js
│ │ │ │ │ └── UpdateWorkExperienceForCv.js
│ │ │ │ ├── GetEducationInfo.js
│ │ │ │ ├── GetExperienceInfo.js
│ │ │ │ ├── GetLanguageInfo.js
│ │ │ │ ├── GetSkillInfo.js
│ │ │ │ ├── GetSocialMediaInfo.js
│ │ │ │ └── JobSeekerInfo.js
│ │ ├── reportWebVitals.js
│ │ ├── services
│ │ │ ├── advertisementService.js
│ │ │ ├── cityService.js
│ │ │ ├── cvService.js
│ │ │ ├── educationService.js
│ │ │ ├── employerService.js
│ │ │ ├── jobPositionService.js
│ │ │ ├── jobSeekerService.js
│ │ │ ├── languageService.js
│ │ │ ├── photoInfoService.js
│ │ │ ├── programmingSkillService.js
│ │ │ ├── socialMediaService.js
│ │ │ ├── systemEmployeeService.js
│ │ │ ├── workExperienceService.js
│ │ │ ├── workTimeService.js
│ │ │ └── workTypeService.js
│ │ ├── setupTests.js
│ │ └── utilities
│ │ │ ├── customFormControls
│ │ │ └── HrmsTextInput.js
│ │ │ └── cvs
│ │ │ ├── components
│ │ │ └── dialog.js
│ │ │ ├── getBulletIcon.js
│ │ │ ├── getLink.js
│ │ │ └── getRating.js
│ └── {
├── hrms
│ ├── .gitignore
│ ├── .idea
│ │ ├── misc.xml
│ │ └── vcs.xml
│ ├── .mvn
│ │ └── wrapper
│ │ │ ├── MavenWrapperDownloader.java
│ │ │ ├── maven-wrapper.jar
│ │ │ └── maven-wrapper.properties
│ ├── README.md
│ ├── assets
│ │ ├── generate.png
│ │ ├── layers.png
│ │ ├── mavenpic.png
│ │ ├── postgre.png
│ │ ├── spring1.png
│ │ └── spring2.png
│ ├── easywsdl
│ │ ├── ExKsoap2-1.0.3.1.jar
│ │ └── ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar
│ ├── mvnw
│ ├── mvnw.cmd
│ ├── pom.xml
│ └── src
│ │ ├── main
│ │ ├── java
│ │ │ └── kodlamaio
│ │ │ │ └── hrms
│ │ │ │ ├── HrmsApplication.java
│ │ │ │ ├── api
│ │ │ │ └── controllers
│ │ │ │ │ ├── AdvertisementsController.java
│ │ │ │ │ ├── CVsController.java
│ │ │ │ │ ├── CitiesController.java
│ │ │ │ │ ├── EducationsController.java
│ │ │ │ │ ├── EmailVerificationsController.java
│ │ │ │ │ ├── EmployersController.java
│ │ │ │ │ ├── JobSeekersController.java
│ │ │ │ │ ├── LanguagesController.java
│ │ │ │ │ ├── PhotosController.java
│ │ │ │ │ ├── PositionsController.java
│ │ │ │ │ ├── ProgrammingSkillsController.java
│ │ │ │ │ ├── SocialMediasController.java
│ │ │ │ │ ├── SystemEmployeesController.java
│ │ │ │ │ ├── TypeOfWorkFeatureController.java
│ │ │ │ │ ├── UsersController.java
│ │ │ │ │ ├── WorkExperiencesController.java
│ │ │ │ │ └── WorkTimeFeatureController.java
│ │ │ │ ├── business
│ │ │ │ ├── abstracts
│ │ │ │ │ ├── AdvertisementService.java
│ │ │ │ │ ├── CVService.java
│ │ │ │ │ ├── CityService.java
│ │ │ │ │ ├── EducationInformationService.java
│ │ │ │ │ ├── EmailVerificationService.java
│ │ │ │ │ ├── EmployerService.java
│ │ │ │ │ ├── JobSeekerService.java
│ │ │ │ │ ├── LanguageService.java
│ │ │ │ │ ├── PhotoService.java
│ │ │ │ │ ├── PositionService.java
│ │ │ │ │ ├── ProgrammingSkillService.java
│ │ │ │ │ ├── SocialMediaService.java
│ │ │ │ │ ├── SystemEmployeeService.java
│ │ │ │ │ ├── UserService.java
│ │ │ │ │ ├── WorkExperienceService.java
│ │ │ │ │ ├── WorkFeatureService.java
│ │ │ │ │ └── WorkTimeService.java
│ │ │ │ └── concretes
│ │ │ │ │ ├── AdvertisementManager.java
│ │ │ │ │ ├── CVManager.java
│ │ │ │ │ ├── CityManager.java
│ │ │ │ │ ├── EducationInformationManager.java
│ │ │ │ │ ├── EmailVerificationManager.java
│ │ │ │ │ ├── EmployerManager.java
│ │ │ │ │ ├── JobSeekerManager.java
│ │ │ │ │ ├── LanguageManager.java
│ │ │ │ │ ├── PhotoManager.java
│ │ │ │ │ ├── PositionManager.java
│ │ │ │ │ ├── ProgrammingSkillManager.java
│ │ │ │ │ ├── SocialMediaManager.java
│ │ │ │ │ ├── SystemEmployeeManager.java
│ │ │ │ │ ├── UserManager.java
│ │ │ │ │ ├── WorkExperienceManager.java
│ │ │ │ │ ├── WorkFeatureManager.java
│ │ │ │ │ └── WorkTimeManager.java
│ │ │ │ ├── core
│ │ │ │ ├── adapters
│ │ │ │ │ ├── abstracts
│ │ │ │ │ │ ├── MernisCheckService.java
│ │ │ │ │ │ └── ValidateCheckEmailService.java
│ │ │ │ │ └── concretes
│ │ │ │ │ │ ├── MernisServiceAdapter.java
│ │ │ │ │ │ └── ValidateCheckEmailManager.java
│ │ │ │ └── utilities
│ │ │ │ │ └── results
│ │ │ │ │ ├── DataResult.java
│ │ │ │ │ ├── ErrorDataResult.java
│ │ │ │ │ ├── ErrorsResult.java
│ │ │ │ │ ├── Result.java
│ │ │ │ │ ├── SuccessDataResult.java
│ │ │ │ │ └── SuccessResult.java
│ │ │ │ ├── dataAccess
│ │ │ │ └── abstracts
│ │ │ │ │ ├── AdvertisementRepository.java
│ │ │ │ │ ├── CVRepository.java
│ │ │ │ │ ├── CityRepository.java
│ │ │ │ │ ├── EducationInformationForCVRepository.java
│ │ │ │ │ ├── EmailVerificationRepository.java
│ │ │ │ │ ├── EmployerRepository.java
│ │ │ │ │ ├── JobSeekerRepository.java
│ │ │ │ │ ├── LanguagesRepository.java
│ │ │ │ │ ├── PhotoRepository.java
│ │ │ │ │ ├── PositionRepository.java
│ │ │ │ │ ├── ProgrammingSkillForCvRepository.java
│ │ │ │ │ ├── SocialMediaForCvRepository.java
│ │ │ │ │ ├── SystemEmployeeRepository.java
│ │ │ │ │ ├── UserRepository.java
│ │ │ │ │ ├── WorkExperienceForCvRepository.java
│ │ │ │ │ ├── WorkFeatureRepository.java
│ │ │ │ │ └── WorkTimeRepository.java
│ │ │ │ ├── database
│ │ │ │ ├── ERD.png
│ │ │ │ └── hrmsDb.sql
│ │ │ │ ├── entities
│ │ │ │ ├── concretes
│ │ │ │ │ ├── Advertisement.java
│ │ │ │ │ ├── City.java
│ │ │ │ │ ├── Cv.java
│ │ │ │ │ ├── EducationInformationForCv.java
│ │ │ │ │ ├── EmailVerification.java
│ │ │ │ │ ├── Employer.java
│ │ │ │ │ ├── JobSeeker.java
│ │ │ │ │ ├── LanguagesForCv.java
│ │ │ │ │ ├── MernisVerification.java
│ │ │ │ │ ├── PhotoInfo.java
│ │ │ │ │ ├── Position.java
│ │ │ │ │ ├── ProgrammingSkillForCv.java
│ │ │ │ │ ├── SocialMediaForCv.java
│ │ │ │ │ ├── SystemEmployee.java
│ │ │ │ │ ├── TypeOfWorkFeature.java
│ │ │ │ │ ├── User.java
│ │ │ │ │ ├── WorkExperienceForCv.java
│ │ │ │ │ └── WorkTimeFeature.java
│ │ │ │ └── dtos
│ │ │ │ │ ├── AdvertisementRequest.java
│ │ │ │ │ ├── CvDetailForJobSeekerDto.java
│ │ │ │ │ ├── CvDto.java
│ │ │ │ │ ├── EducationDto.java
│ │ │ │ │ ├── LanguageDto.java
│ │ │ │ │ ├── LoginForEmailVerificationDto.java
│ │ │ │ │ ├── LoginForEmployeeDto.java
│ │ │ │ │ ├── LoginForEmployerDto.java
│ │ │ │ │ ├── LoginForJobSeekerDto.java
│ │ │ │ │ ├── ProgrammingSkillDto.java
│ │ │ │ │ ├── SocialMediaDto.java
│ │ │ │ │ └── WorkExperienceDto.java
│ │ │ │ └── services
│ │ │ │ ├── ImageService
│ │ │ │ ├── CloudinaryPhotoService.java
│ │ │ │ └── CloudinaryPhotoUploadAdapter.java
│ │ │ │ └── mernisService
│ │ │ │ ├── GSPDateTimeConverter.java
│ │ │ │ ├── GSPExtendedSoapSerializationEnvelope.java
│ │ │ │ ├── GSPHelper.java
│ │ │ │ ├── GSPKPSPublicSoap.java
│ │ │ │ ├── GSPKPSPublicSoap12.java
│ │ │ │ ├── GSPMarshalGuid.java
│ │ │ │ ├── GSPStandardDateTimeConverter.java
│ │ │ │ └── Metadata.info
│ │ └── resources
│ │ │ └── application.properties
│ │ └── test
│ │ └── java
│ │ └── kodlamaio
│ │ └── hrms
│ │ └── HrmsApplicationTests.java
├── hrmsDatabase
│ ├── .idea
│ │ ├── .gitignore
│ │ ├── hrmsDatabase.iml
│ │ ├── misc.xml
│ │ ├── modules.xml
│ │ ├── sqldialects.xml
│ │ └── vcs.xml
│ ├── README.md
│ ├── SQL
│ │ ├── HRMS_Db.sql
│ │ └── HRMS_ER_diagram.png
│ └── assets
│ │ ├── HRMS_ER_diagram.png
│ │ ├── picture1.png
│ │ ├── picture2.png
│ │ └── picture3.png
├── kodlamaIoHw1
│ ├── .gitignore
│ ├── out
│ │ └── production
│ │ │ └── kodlamaIoHw1
│ │ │ └── com
│ │ │ └── kodlamaIoHw1
│ │ │ ├── Category.class
│ │ │ ├── CourseDetails.class
│ │ │ ├── Instructor.class
│ │ │ ├── KodlamaIoManager.class
│ │ │ └── Main.class
│ └── src
│ │ └── com
│ │ └── kodlamaIoHw1
│ │ ├── Category.java
│ │ ├── CourseDetails.java
│ │ ├── Instructor.java
│ │ ├── KodlamaIoManager.java
│ │ └── Main.java
└── kodlamaIoHw2
│ ├── .gitignore
│ ├── out
│ └── production
│ │ └── kodlamaIoHw2
│ │ └── com
│ │ └── homeworktwo
│ │ ├── Main.class
│ │ ├── dataTypes
│ │ ├── Course.class
│ │ ├── Instructor.class
│ │ ├── Student.class
│ │ └── User.class
│ │ └── managements
│ │ ├── InstructorManager.class
│ │ ├── StudentManager.class
│ │ └── UserManager.class
│ └── src
│ └── com
│ └── homeworktwo
│ ├── Main.java
│ ├── dataTypes
│ ├── Course.java
│ ├── Instructor.java
│ ├── Student.java
│ └── User.java
│ └── managements
│ ├── InstructorManager.java
│ ├── StudentManager.java
│ └── UserManager.java
├── nLayeredDemo
├── .idea
│ ├── .gitignore
│ ├── description.html
│ ├── encodings.xml
│ ├── misc.xml
│ ├── modules.xml
│ ├── project-template.xml
│ ├── uiDesigner.xml
│ └── vcs.xml
├── nLayeredDemo.iml
├── out
│ └── production
│ │ └── nLayeredDemo
│ │ └── com
│ │ └── nLayeredDemo
│ │ ├── Main.class
│ │ ├── business
│ │ ├── abstracts
│ │ │ └── ProductService.class
│ │ └── concretes
│ │ │ └── ProductManager.class
│ │ ├── core
│ │ ├── JLoggerManagerAdapter.class
│ │ └── LoggerService.class
│ │ ├── dataAccess
│ │ ├── abstracts
│ │ │ └── ProductDao.class
│ │ └── concretes
│ │ │ ├── HeroProductDao.class
│ │ │ └── HibernateProductDao.class
│ │ ├── entities
│ │ ├── abstracts
│ │ │ └── Entity.class
│ │ └── concretes
│ │ │ └── Product.class
│ │ └── jLogger
│ │ └── JLoggerManager.class
└── src
│ └── com
│ └── nLayeredDemo
│ ├── Main.java
│ ├── business
│ ├── abstracts
│ │ └── ProductService.java
│ └── concretes
│ │ └── ProductManager.java
│ ├── core
│ ├── JLoggerManagerAdapter.java
│ └── LoggerService.java
│ ├── dataAccess
│ ├── abstracts
│ │ └── ProductDao.java
│ └── concretes
│ │ ├── HeroProductDao.java
│ │ └── HibernateProductDao.java
│ ├── entities
│ ├── abstracts
│ │ └── Entity.java
│ └── concretes
│ │ └── Product.java
│ └── jLogger
│ └── JLoggerManager.java
├── northwind
├── .gitignore
├── .mvn
│ └── wrapper
│ │ ├── MavenWrapperDownloader.java
│ │ ├── maven-wrapper.jar
│ │ └── maven-wrapper.properties
├── mvnw
├── mvnw.cmd
├── pom.xml
└── src
│ ├── main
│ ├── java
│ │ └── com
│ │ │ └── kodlamaio
│ │ │ └── northwind
│ │ │ ├── NorthwindApplication.java
│ │ │ ├── api
│ │ │ └── controllers
│ │ │ │ ├── ProductsController.java
│ │ │ │ └── UsersController.java
│ │ │ ├── business
│ │ │ ├── abstracts
│ │ │ │ ├── ProductService.java
│ │ │ │ └── UserService.java
│ │ │ └── concretes
│ │ │ │ ├── ProductManager.java
│ │ │ │ └── UserManager.java
│ │ │ ├── core
│ │ │ ├── dataAccess
│ │ │ │ └── UserDao.java
│ │ │ ├── entities
│ │ │ │ └── User.java
│ │ │ └── utilities
│ │ │ │ └── results
│ │ │ │ ├── DataResult.java
│ │ │ │ ├── ErrorDataResult.java
│ │ │ │ ├── ErrorsResult.java
│ │ │ │ ├── Result.java
│ │ │ │ ├── SuccessDataResult.java
│ │ │ │ └── SuccessResult.java
│ │ │ ├── dataAccess
│ │ │ └── abstracts
│ │ │ │ └── ProductDao.java
│ │ │ └── entities
│ │ │ ├── concretes
│ │ │ ├── Category.java
│ │ │ └── Product.java
│ │ │ └── dtos
│ │ │ └── ProductWithCategoryDto.java
│ └── resources
│ │ └── application.properties
│ └── test
│ └── java
│ └── com
│ └── kodlamaio
│ └── northwind
│ └── NorthwindApplicationTests.java
├── oopIntro
├── .gitignore
├── .idea
│ ├── .gitignore
│ ├── description.html
│ ├── encodings.xml
│ ├── misc.xml
│ ├── modules.xml
│ ├── project-template.xml
│ ├── uiDesigner.xml
│ └── vcs.xml
├── oopIntro.iml
├── out
│ └── production
│ │ └── oopIntro
│ │ └── com
│ │ └── oopIntro
│ │ ├── Category.class
│ │ ├── Main.class
│ │ ├── Product.class
│ │ └── ProductManager.class
└── src
│ └── com
│ └── oopIntro
│ ├── Category.java
│ ├── Main.java
│ ├── Product.java
│ └── ProductManager.java
└── reactCamp
└── camp-project
├── .gitignore
├── README.md
├── package-lock.json
├── package.json
├── public
├── favicon.ico
├── index.html
├── logo192.png
├── logo512.png
├── manifest.json
└── robots.txt
└── src
├── App.css
├── App.js
├── App.test.js
├── index.css
├── index.js
├── layouts
├── CartSummary.js
├── Categories.js
├── Dashboard.js
├── Navi.js
├── SignedIn..js
└── SignedOut.js
├── logo.svg
├── pages
├── CartDetail.js
├── ProductAdd.js
├── ProductDetail.js
└── ProductList.js
├── reportWebVitals.js
├── services
└── productService.js
├── setupTests.js
├── store
├── actions
│ ├── cartActions.js
│ └── userActions.js
├── configureStore.js
├── initialValues
│ └── cartItems.js
├── reducers
│ ├── cartReducer.js
│ └── userReducer.js
└── rootReducer.js
└── utilities
└── customFormControls
└── KodlamaIoTextInput.js
/.gitignore:
--------------------------------------------------------------------------------
1 | /.metadata/
2 |
--------------------------------------------------------------------------------
/.idea/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/.idea/.gitignore
--------------------------------------------------------------------------------
/.idea/javaCamp.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.metadata/.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/.metadata/.lock
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index:
--------------------------------------------------------------------------------
1 | / org.eclipse.core.resources contentCacheState 2 contentCacheTimestamp
1620086324417 org.eclipse.jdt.core stateVersionNumber 36
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | version=1
3 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs:
--------------------------------------------------------------------------------
1 | content_assist_number_of_computers=20
2 | content_assist_proposals_background=255,255,255
3 | content_assist_proposals_foreground=0,0,0
4 | eclipse.preferences.version=1
5 | org.eclipse.jdt.ui.formatterprofiles.version=21
6 | spelling_locale_initialized=true
7 | useAnnotationsPrefPage=true
8 | useQuickDiffPrefPage=true
9 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jsch.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jsch.core.hasChangedDefaultWin32SshHome=true
3 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.m2e.discovery.pref.projects=
3 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | platformState=1620086324417
3 | quickStart=false
4 | tipsAndTricks=true
5 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | showIntro=false
3 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs:
--------------------------------------------------------------------------------
1 | //org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
2 | //org.eclipse.ui.commands/state/org.eclipse.wst.xml.views.XPathView.processor.xpathprocessor/org.eclipse.ui.commands.radioState=xpath10
3 | PLUGINS_NOT_ACTIVATED_ON_STARTUP=;org.eclipse.m2e.discovery;
4 | eclipse.preferences.version=1
5 | org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END=255,255,255
6 | org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START=255,255,255
7 | org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_TEXT_COLOR=16,16,16
8 | org.eclipse.ui.workbench.ACTIVE_TAB_BG_END=255,255,255
9 | org.eclipse.ui.workbench.ACTIVE_TAB_BG_START=255,255,255
10 | org.eclipse.ui.workbench.INACTIVE_TAB_BG_START=242,242,242
11 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.urischeme.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | processedSchemes=,eclipse+mpc,eclipse+command
3 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log:
--------------------------------------------------------------------------------
1 | 2021-04-28 21:37:58,226 [Worker-3: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
2 | 2021-05-04 02:59:32,680 [Worker-3: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is out-of-date. Trying to update.
3 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.tips.ide/dialog_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.tm.terminal.view.ui/.executables/data.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 28 21:37:38 TRT 2021
2 | 0.Icon=D\:\\Programs\\Git\\mingw64\\share\\git\\git-for-windows.ico
3 | 0.Path=D\:\\Programs\\Git\\bin\\sh.exe
4 | 0.Translate=true
5 | 0.Args=--login -i
6 | 0.Name=Git Bash
7 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.ui.intro/introstate:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.metadata/version.ini:
--------------------------------------------------------------------------------
1 | #Tue May 04 02:59:24 TRT 2021
2 | org.eclipse.core.runtime=2
3 | org.eclipse.platform=4.19.0.v20210303-1800
4 |
--------------------------------------------------------------------------------
/IntroJavaAndReact/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/IntroJavaAndReact/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .settings/
3 | .project
4 | .classpath
5 | *.iml
6 |
7 |
8 |
--------------------------------------------------------------------------------
/IntroJavaAndReact/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 |
--------------------------------------------------------------------------------
/IntroJavaAndReact/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/IntroJavaAndReact/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/IntroJavaAndReact/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/IntroJavaAndReact/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | IntroJavaAndReact
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 |
15 | org.eclipse.jdt.core.javanature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/IntroJavaAndReact/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=15
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5 | org.eclipse.jdt.core.compiler.compliance=15
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
12 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
13 | org.eclipse.jdt.core.compiler.release=enabled
14 | org.eclipse.jdt.core.compiler.source=15
15 |
--------------------------------------------------------------------------------
/IntroJavaAndReact/IntroJavaAndReact.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/IntroJavaAndReact/bin/IntroJavaAndReact1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/IntroJavaAndReact/bin/IntroJavaAndReact1.class
--------------------------------------------------------------------------------
/advancedJavaScript-master/advancedJavaScript-master/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/advancedJavaScript-master/advancedJavaScript-master/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "type": "pwa-chrome",
9 | "request": "launch",
10 | "name": "Launch Chrome against localhost",
11 | "url": "http://localhost:8080",
12 | "webRoot": "${workspaceFolder}"
13 | }
14 | ]
15 | }
--------------------------------------------------------------------------------
/advancedJavaScript-master/advancedJavaScript-master/.vscode/settings.json:
--------------------------------------------------------------------------------
1 |
2 | {
3 | "editor.fontSize": 14
4 | }
--------------------------------------------------------------------------------
/advancedJavaScript-master/advancedJavaScript-master/README.md:
--------------------------------------------------------------------------------
1 | # advancedJavaScript
2 | Base repository for Siemens Advanced JS Course
3 |
--------------------------------------------------------------------------------
/advancedJavaScript-master/advancedJavaScript-master/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | JavaScript
4 |
5 |
6 |
7 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/advancedJavaScript-master/advancedJavaScript-master/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jscourse",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1",
8 | "dev": "lite-server"
9 | },
10 | "author": "",
11 | "license": "ISC",
12 | "dependencies": {
13 | "es6-module-loader": "^0.17.11",
14 | "traceur": "0.0.108"
15 | },
16 | "devDependencies": {
17 | "lite-server": "^2.2.0"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/inheritance/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .settings/
3 | .project
4 | .classpath
5 | *.iml
6 |
7 |
8 |
--------------------------------------------------------------------------------
/inheritance/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 |
--------------------------------------------------------------------------------
/inheritance/.idea/description.html:
--------------------------------------------------------------------------------
1 | Simple Java application that includes a class with main()
method
--------------------------------------------------------------------------------
/inheritance/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/inheritance/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/inheritance/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/inheritance/.idea/project-template.xml:
--------------------------------------------------------------------------------
1 |
2 | IJ_BASE_PACKAGE
3 |
--------------------------------------------------------------------------------
/inheritance/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/inheritance/inheritance.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/inheritance/out/production/inheritance/com/inheritance/CorporateCustomer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance/out/production/inheritance/com/inheritance/CorporateCustomer.class
--------------------------------------------------------------------------------
/inheritance/out/production/inheritance/com/inheritance/Customer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance/out/production/inheritance/com/inheritance/Customer.class
--------------------------------------------------------------------------------
/inheritance/out/production/inheritance/com/inheritance/CustomerManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance/out/production/inheritance/com/inheritance/CustomerManager.class
--------------------------------------------------------------------------------
/inheritance/out/production/inheritance/com/inheritance/IndividualCustomer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance/out/production/inheritance/com/inheritance/IndividualCustomer.class
--------------------------------------------------------------------------------
/inheritance/out/production/inheritance/com/inheritance/Main.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance/out/production/inheritance/com/inheritance/Main.class
--------------------------------------------------------------------------------
/inheritance/out/production/inheritance/com/inheritance/SyndicateCustomer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance/out/production/inheritance/com/inheritance/SyndicateCustomer.class
--------------------------------------------------------------------------------
/inheritance/src/com/inheritance/CorporateCustomer.java:
--------------------------------------------------------------------------------
1 | package com.inheritance;
2 |
3 | public class CorporateCustomer extends Customer{
4 | String companyName;
5 | String taxNumber;
6 | }
7 |
--------------------------------------------------------------------------------
/inheritance/src/com/inheritance/Customer.java:
--------------------------------------------------------------------------------
1 | package com.inheritance;
2 |
3 | // base/super class
4 | public class Customer {
5 | int id;
6 | String customerNumber;
7 | }
8 |
--------------------------------------------------------------------------------
/inheritance/src/com/inheritance/CustomerManager.java:
--------------------------------------------------------------------------------
1 | package com.inheritance;
2 |
3 | public class CustomerManager {
4 | public void add(Customer customer) {
5 | System.out.println(customer.customerNumber + " saved.");
6 | }
7 |
8 | public void addMultiple(Customer[] customers) {
9 | for (Customer customer : customers) {
10 | add(customer);
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/inheritance/src/com/inheritance/IndividualCustomer.java:
--------------------------------------------------------------------------------
1 | package com.inheritance;
2 |
3 | public class IndividualCustomer extends Customer {
4 | String firstName;
5 | String lastName;
6 | String nationalIdentity;
7 | }
8 |
--------------------------------------------------------------------------------
/inheritance/src/com/inheritance/Main.java:
--------------------------------------------------------------------------------
1 | package com.inheritance;
2 |
3 | public class Main {
4 |
5 | public static void main(String[] args) {
6 | IndividualCustomer individualCustomer = new IndividualCustomer();
7 | individualCustomer.customerNumber = "12345";
8 |
9 |
10 | CorporateCustomer corporateCustomer = new CorporateCustomer();
11 | corporateCustomer.customerNumber = "67891";
12 |
13 | SyndicateCustomer syndicateCustomer = new SyndicateCustomer();
14 | syndicateCustomer.customerNumber = "99999";
15 |
16 | CustomerManager customerManager = new CustomerManager();
17 |
18 | Customer[] customers = {individualCustomer, corporateCustomer, syndicateCustomer};
19 | customerManager.addMultiple(customers);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/inheritance/src/com/inheritance/SyndicateCustomer.java:
--------------------------------------------------------------------------------
1 | package com.inheritance;
2 |
3 | public class SyndicateCustomer extends Customer{
4 | String unknownFeatures;
5 | }
6 |
--------------------------------------------------------------------------------
/inheritance2/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .settings/
3 | .project
4 | .classpath
5 | *.iml
6 |
7 |
8 |
--------------------------------------------------------------------------------
/inheritance2/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/inheritance2/inheritance2.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/inheritance2/out/production/inheritance2/com/inheritance2/CustomerManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance2/out/production/inheritance2/com/inheritance2/CustomerManager.class
--------------------------------------------------------------------------------
/inheritance2/out/production/inheritance2/com/inheritance2/DatabaseLogger.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance2/out/production/inheritance2/com/inheritance2/DatabaseLogger.class
--------------------------------------------------------------------------------
/inheritance2/out/production/inheritance2/com/inheritance2/EmailLogger.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance2/out/production/inheritance2/com/inheritance2/EmailLogger.class
--------------------------------------------------------------------------------
/inheritance2/out/production/inheritance2/com/inheritance2/FileLogger.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance2/out/production/inheritance2/com/inheritance2/FileLogger.class
--------------------------------------------------------------------------------
/inheritance2/out/production/inheritance2/com/inheritance2/LogManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance2/out/production/inheritance2/com/inheritance2/LogManager.class
--------------------------------------------------------------------------------
/inheritance2/out/production/inheritance2/com/inheritance2/Main.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance2/out/production/inheritance2/com/inheritance2/Main.class
--------------------------------------------------------------------------------
/inheritance2/out/production/inheritance2/com/inheritance2/Mlogger.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/inheritance2/out/production/inheritance2/com/inheritance2/Mlogger.class
--------------------------------------------------------------------------------
/inheritance2/src/com/inheritance2/CustomerManager.java:
--------------------------------------------------------------------------------
1 | package com.inheritance2;
2 |
3 | public class CustomerManager {
4 | public void add(Mlogger logger){
5 | //customer addition codes
6 | System.out.println("customer added");
7 |
8 | logger.log();
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/inheritance2/src/com/inheritance2/DatabaseLogger.java:
--------------------------------------------------------------------------------
1 | package com.inheritance2;
2 |
3 | public class DatabaseLogger extends Mlogger{
4 | //Method overriding
5 | @Override
6 | public void log(){
7 | System.out.println("Logged to database");
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/inheritance2/src/com/inheritance2/EmailLogger.java:
--------------------------------------------------------------------------------
1 | package com.inheritance2;
2 |
3 | public class EmailLogger extends Mlogger{
4 | //Method overriding
5 | @Override
6 | public void log(){
7 | System.out.println("Email Sent");
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/inheritance2/src/com/inheritance2/FileLogger.java:
--------------------------------------------------------------------------------
1 | package com.inheritance2;
2 |
3 | public class FileLogger extends Mlogger{
4 | //Method overriding
5 | @Override
6 | public void log(){
7 | System.out.println("Logged to File");
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/inheritance2/src/com/inheritance2/LogManager.java:
--------------------------------------------------------------------------------
1 | package com.inheritance2;
2 |
3 | public class LogManager {
4 | // Bad code example
5 | /*
6 | * 1 => Database
7 | * 2 => File
8 | * 3 => Email
9 | */
10 | public void log(int logType) {
11 | //Birbirinin alternatifi olan kodlar if ile yönetilemez.
12 | if (logType == 1) {
13 | System.out.println("Logged to database");
14 | }else if (logType == 2) {
15 | System.out.println("Logged to File");
16 | }else {
17 | System.out.println("Email Sent");
18 | }
19 |
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/inheritance2/src/com/inheritance2/Main.java:
--------------------------------------------------------------------------------
1 | package com.inheritance2;
2 |
3 | public class Main {
4 |
5 | public static void main(String[] args) {
6 | /*
7 | * Bad code example
8 | * LogManager logManager = new LogManager();
9 | * logManager.log(1);
10 | * logManager.log(2);
11 | * logManager.log(3);
12 | */
13 |
14 | CustomerManager customerManager = new CustomerManager();
15 | customerManager.add(new DatabaseLogger());
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/inheritance2/src/com/inheritance2/Mlogger.java:
--------------------------------------------------------------------------------
1 | package com.inheritance2;
2 |
3 | public class Mlogger {
4 | // Clean code example
5 | public void log(){
6 | System.out.println("Custom configuration");
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/interfaces/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 |
--------------------------------------------------------------------------------
/interfaces/.idea/description.html:
--------------------------------------------------------------------------------
1 | Simple Java application that includes a class with main()
method
--------------------------------------------------------------------------------
/interfaces/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/interfaces/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/interfaces/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/interfaces/.idea/project-template.xml:
--------------------------------------------------------------------------------
1 |
2 | IJ_BASE_PACKAGE
3 |
--------------------------------------------------------------------------------
/interfaces/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/interfaces/interfaces.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/interfaces/out/production/interfaces/com/interfaces/Customer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/interfaces/out/production/interfaces/com/interfaces/Customer.class
--------------------------------------------------------------------------------
/interfaces/out/production/interfaces/com/interfaces/CustomerManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/interfaces/out/production/interfaces/com/interfaces/CustomerManager.class
--------------------------------------------------------------------------------
/interfaces/out/production/interfaces/com/interfaces/DatabaseLogger.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/interfaces/out/production/interfaces/com/interfaces/DatabaseLogger.class
--------------------------------------------------------------------------------
/interfaces/out/production/interfaces/com/interfaces/EmailLogger.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/interfaces/out/production/interfaces/com/interfaces/EmailLogger.class
--------------------------------------------------------------------------------
/interfaces/out/production/interfaces/com/interfaces/FileLogger.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/interfaces/out/production/interfaces/com/interfaces/FileLogger.class
--------------------------------------------------------------------------------
/interfaces/out/production/interfaces/com/interfaces/Logger.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/interfaces/out/production/interfaces/com/interfaces/Logger.class
--------------------------------------------------------------------------------
/interfaces/out/production/interfaces/com/interfaces/Main.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/interfaces/out/production/interfaces/com/interfaces/Main.class
--------------------------------------------------------------------------------
/interfaces/out/production/interfaces/com/interfaces/SmsLogger.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/interfaces/out/production/interfaces/com/interfaces/SmsLogger.class
--------------------------------------------------------------------------------
/interfaces/out/production/interfaces/com/interfaces/Utils.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/interfaces/out/production/interfaces/com/interfaces/Utils.class
--------------------------------------------------------------------------------
/interfaces/src/com/interfaces/Customer.java:
--------------------------------------------------------------------------------
1 | package com.interfaces;
2 |
3 | public class Customer {
4 | private int id;
5 | private String firstName;
6 | private String lastName;
7 |
8 | public Customer() {
9 | }
10 |
11 | public Customer(int id, String firstName, String lastName) {
12 | this.id = id;
13 | this.firstName = firstName;
14 | this.lastName = lastName;
15 | }
16 |
17 | public int getId() {
18 | return id;
19 | }
20 |
21 | public void setId(int id) {
22 | this.id = id;
23 | }
24 |
25 | public String getFirstName() {
26 | return firstName;
27 | }
28 |
29 | public void setFirstName(String firstName) {
30 | this.firstName = firstName;
31 | }
32 |
33 | public String getLastName() {
34 | return lastName;
35 | }
36 |
37 | public void setLastName(String lastName) {
38 | this.lastName = lastName;
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/interfaces/src/com/interfaces/CustomerManager.java:
--------------------------------------------------------------------------------
1 | package com.interfaces;
2 |
3 | public class CustomerManager {
4 | private Logger[] loggers;
5 |
6 | public CustomerManager(Logger[] loggers) {
7 | this.loggers = loggers;
8 | }
9 |
10 | public void add(Customer customer) {
11 | Utils.runLoggers(loggers, customer.getFirstName());
12 | }
13 |
14 | public void delete(Customer customer) {
15 | Utils.runLoggers(loggers, customer.getFirstName());
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/interfaces/src/com/interfaces/DatabaseLogger.java:
--------------------------------------------------------------------------------
1 | package com.interfaces;
2 |
3 | public class DatabaseLogger implements Logger{
4 | @Override
5 | public void log(String message) {
6 | System.out.println("Database logged : " + message);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/interfaces/src/com/interfaces/EmailLogger.java:
--------------------------------------------------------------------------------
1 | package com.interfaces;
2 |
3 | public class EmailLogger implements Logger{
4 | @Override
5 | public void log(String message) {
6 | System.out.println("Email sent : " + message);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/interfaces/src/com/interfaces/FileLogger.java:
--------------------------------------------------------------------------------
1 | package com.interfaces;
2 |
3 | public class FileLogger implements Logger {
4 | @Override
5 | public void log(String message) {
6 | System.out.println("File is logged : " + message);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/interfaces/src/com/interfaces/Logger.java:
--------------------------------------------------------------------------------
1 | package com.interfaces;
2 |
3 | public interface Logger {
4 | void log(String message);
5 | }
6 |
--------------------------------------------------------------------------------
/interfaces/src/com/interfaces/Main.java:
--------------------------------------------------------------------------------
1 | package com.interfaces;
2 |
3 | public class Main {
4 |
5 | public static void main(String[] args) {
6 | Logger[] loggers = {new FileLogger(), new DatabaseLogger(), new SmsLogger(), new EmailLogger()};
7 |
8 | CustomerManager customerManager = new CustomerManager(loggers);
9 |
10 | Customer customer = new Customer(1,"somebody's name","somebody's surname");
11 |
12 | customerManager.add(customer);
13 |
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/interfaces/src/com/interfaces/SmsLogger.java:
--------------------------------------------------------------------------------
1 | package com.interfaces;
2 |
3 | public class SmsLogger implements Logger{
4 |
5 | @Override
6 | public void log(String message) {
7 | System.out.println("Sms sent : " + message);
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/interfaces/src/com/interfaces/Utils.java:
--------------------------------------------------------------------------------
1 | package com.interfaces;
2 |
3 | public class Utils {
4 |
5 | public static void runLoggers(Logger[] loggers, String message){
6 | for (Logger logger : loggers) {
7 | logger.log(message);
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Datasource local storage ignored files
5 | /../../../../../../:\Projects\javaCamp\kodlamaIoHw\camesaGame\.idea/dataSources/
6 | /dataSources.local.xml
7 | # Editor-based HTTP Client requests
8 | /httpRequests/
9 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/.idea/description.html:
--------------------------------------------------------------------------------
1 | Simple Java application that includes a class with main()
method
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/.idea/project-template.xml:
--------------------------------------------------------------------------------
1 |
2 | IJ_BASE_PACKAGE
3 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/camesaGame.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/Main.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/Main.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/account/Player.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/account/Player.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/account/PlayerAccountManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/account/PlayerAccountManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/account/PlayerCheckManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/account/PlayerCheckManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/campaign/Campaign.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/campaign/Campaign.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/campaign/GameCampaignManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/campaign/GameCampaignManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/interfaces/BaseService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/interfaces/BaseService.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/interfaces/GameSalesService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/interfaces/GameSalesService.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/interfaces/PlayerCheckService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/interfaces/PlayerCheckService.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/sales/GameSalesManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/sales/GameSalesManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/sales/Sales.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/camesaGame/out/production/camesaGame/com/camesaGame/sales/Sales.class
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/src/com/camesaGame/account/PlayerCheckManager.java:
--------------------------------------------------------------------------------
1 | package com.camesaGame.account;
2 |
3 | import com.camesaGame.interfaces.PlayerCheckService;
4 |
5 | public class PlayerCheckManager implements PlayerCheckService {
6 | @Override
7 | public boolean isRealAccount(Player player) {
8 | return true;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/src/com/camesaGame/interfaces/BaseService.java:
--------------------------------------------------------------------------------
1 | package com.camesaGame.interfaces;
2 |
3 | public interface BaseService {
4 | boolean addValue(T value);
5 | boolean updateValue(T value);
6 | boolean deleteValue(T value);
7 | }
8 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/src/com/camesaGame/interfaces/GameSalesService.java:
--------------------------------------------------------------------------------
1 | package com.camesaGame.interfaces;
2 |
3 | import com.camesaGame.account.Player;
4 | import com.camesaGame.sales.Sales;
5 |
6 | public interface GameSalesService {
7 |
8 | boolean addValue(Player value, Sales sales);
9 |
10 | boolean updateValue(Player value, Sales sales);
11 |
12 | boolean deleteValue(Player value, Sales sales);
13 | }
14 |
--------------------------------------------------------------------------------
/kodlamaIoHw/camesaGame/src/com/camesaGame/interfaces/PlayerCheckService.java:
--------------------------------------------------------------------------------
1 | package com.camesaGame.interfaces;
2 |
3 | import com.camesaGame.account.Player;
4 |
5 | public interface PlayerCheckService {
6 | boolean isRealAccount(Player player);
7 | }
8 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Datasource local storage ignored files
5 | /../../../../../../:\Projects\javaCamp\kodlamaIoHw\coffeeApp\.idea/dataSources/
6 | /dataSources.local.xml
7 | # Editor-based HTTP Client requests
8 | /httpRequests/
9 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/.idea/description.html:
--------------------------------------------------------------------------------
1 | Simple Java application that includes a class with main()
method
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/.idea/libraries/EasyWSDLLib.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/.idea/project-template.xml:
--------------------------------------------------------------------------------
1 |
2 | IJ_BASE_PACKAGE
3 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/coffeeApp.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/easywsdl/ExKsoap2-1.0.3.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/easywsdl/ExKsoap2-1.0.3.1.jar
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/easywsdl/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/easywsdl/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/Main.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/Main.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/abstracts/BaseCustomerManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/abstracts/BaseCustomerManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/adapters/MernisServiceAdapter.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/adapters/MernisServiceAdapter.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/concreate/CustomerCheckManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/concreate/CustomerCheckManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/concreate/NeroCustomerManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/concreate/NeroCustomerManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/concreate/StarbucksCustomerManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/concreate/StarbucksCustomerManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/entities/Customer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/entities/Customer.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/interfaces/CustomerCheckService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/interfaces/CustomerCheckService.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/interfaces/CustomerService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/interfaces/CustomerService.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/interfaces/Entity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/interfaces/Entity.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIDateTimeConverter.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIDateTimeConverter.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIExtendedSoapSerializationEnvelope.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIExtendedSoapSerializationEnvelope.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIHelper.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIHelper.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap$1.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap$IRIIWcfMethod.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap$IRIIWcfMethod.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap12$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap12$1.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap12$IRIIWcfMethod.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap12$IRIIWcfMethod.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap12.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIKPSPublicSoap12.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIMarshalGuid.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIMarshalGuid.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIStandardDateTimeConverter.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/coffeeApp/out/production/coffeeApp/com/coffeeApp/mernisService/IRIStandardDateTimeConverter.class
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/src/com/coffeeApp/Main.java:
--------------------------------------------------------------------------------
1 | package com.coffeeApp;
2 |
3 | import com.coffeeApp.abstracts.BaseCustomerManager;
4 | import com.coffeeApp.adapters.MernisServiceAdapter;
5 | import com.coffeeApp.concreate.StarbucksCustomerManager;
6 | import com.coffeeApp.entities.Customer;
7 |
8 | import java.time.LocalDate;
9 |
10 | public class Main {
11 |
12 | public static void main(String[] args) {
13 | LocalDate birthdate = LocalDate.of(1955, 5, 5);
14 |
15 | Customer customer = new Customer("EZGİ", "FISTIKÇIOĞLU", birthdate, "17123465479");
16 |
17 | BaseCustomerManager baseCustomerManager = new StarbucksCustomerManager(new MernisServiceAdapter());
18 | try {
19 | baseCustomerManager.savedCustomer(customer);
20 | } catch (Exception e) {
21 | System.out.println(e.getMessage());
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/src/com/coffeeApp/abstracts/BaseCustomerManager.java:
--------------------------------------------------------------------------------
1 | package com.coffeeApp.abstracts;
2 |
3 | import com.coffeeApp.entities.Customer;
4 | import com.coffeeApp.interfaces.CustomerService;
5 |
6 | public abstract class BaseCustomerManager implements CustomerService {
7 | @Override
8 | public void savedCustomer(Customer customer) throws Exception {
9 | System.out.println("Saved to database : " + customer.getFirstName());
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/src/com/coffeeApp/adapters/MernisServiceAdapter.java:
--------------------------------------------------------------------------------
1 | package com.coffeeApp.adapters;
2 |
3 | import com.coffeeApp.entities.Customer;
4 | import com.coffeeApp.interfaces.CustomerCheckService;
5 | import com.coffeeApp.mernisService.IRIKPSPublicSoap;
6 |
7 | public class MernisServiceAdapter implements CustomerCheckService {
8 | @Override
9 | public boolean checkIfRealPerson(Customer customer) {
10 | IRIKPSPublicSoap soap = new IRIKPSPublicSoap();
11 |
12 | try {
13 | return soap.TCKimlikNoDogrula(
14 | Long.parseLong(customer.nationalityId),
15 | customer.firstName.toUpperCase(),
16 | customer.lastName.toUpperCase(),
17 | customer.dateOfBirth.getYear());
18 | } catch (Exception e) {
19 | System.out.println(e.getMessage());
20 | }
21 | return false;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/src/com/coffeeApp/concreate/CustomerCheckManager.java:
--------------------------------------------------------------------------------
1 | package com.coffeeApp.concreate;
2 |
3 | import com.coffeeApp.entities.Customer;
4 | import com.coffeeApp.interfaces.CustomerCheckService;
5 |
6 | public class CustomerCheckManager implements CustomerCheckService {
7 |
8 | @Override
9 | public boolean checkIfRealPerson(Customer customer) {
10 | return true;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/src/com/coffeeApp/concreate/NeroCustomerManager.java:
--------------------------------------------------------------------------------
1 | package com.coffeeApp.concreate;
2 |
3 | import com.coffeeApp.abstracts.BaseCustomerManager;
4 |
5 | public class NeroCustomerManager extends BaseCustomerManager {
6 | }
7 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/src/com/coffeeApp/concreate/StarbucksCustomerManager.java:
--------------------------------------------------------------------------------
1 | package com.coffeeApp.concreate;
2 |
3 | import com.coffeeApp.abstracts.BaseCustomerManager;
4 | import com.coffeeApp.entities.Customer;
5 | import com.coffeeApp.interfaces.CustomerCheckService;
6 |
7 | public class StarbucksCustomerManager extends BaseCustomerManager {
8 | private final CustomerCheckService customerCheckService;
9 |
10 | public StarbucksCustomerManager(CustomerCheckService customerCheckService) {
11 | this.customerCheckService = customerCheckService;
12 | }
13 |
14 | @Override
15 | public void savedCustomer(Customer customer) throws Exception {
16 | if (customerCheckService.checkIfRealPerson(customer)){
17 | super.savedCustomer(customer);
18 | }else {
19 | System.out.println(customer.firstName + " " + customer.lastName + " - " + customer.dateOfBirth + " - " + "TC: "+ customer.nationalityId + " => !!Not Saved to database" );
20 | throw new Exception("Not a valid person");
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/src/com/coffeeApp/interfaces/CustomerCheckService.java:
--------------------------------------------------------------------------------
1 | package com.coffeeApp.interfaces;
2 |
3 |
4 | import com.coffeeApp.entities.Customer;
5 |
6 | public interface CustomerCheckService {
7 | boolean checkIfRealPerson(Customer customer);
8 | }
9 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/src/com/coffeeApp/interfaces/CustomerService.java:
--------------------------------------------------------------------------------
1 | package com.coffeeApp.interfaces;
2 |
3 | import com.coffeeApp.entities.Customer;
4 |
5 | public interface CustomerService {
6 | void savedCustomer(Customer customer) throws Exception;
7 | }
8 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/src/com/coffeeApp/interfaces/Entity.java:
--------------------------------------------------------------------------------
1 | package com.coffeeApp.interfaces;
2 |
3 | public interface Entity {
4 | }
5 |
--------------------------------------------------------------------------------
/kodlamaIoHw/coffeeApp/src/com/coffeeApp/mernisService/IRIDateTimeConverter.java:
--------------------------------------------------------------------------------
1 | package com.coffeeApp.mernisService;
2 |
3 | //----------------------------------------------------
4 | //
5 | // Generated by www.easywsdl.com
6 | // Version: 5.11.5.0
7 | //
8 | // Created by Quasar Development
9 | //
10 | //----------------------------------------------------
11 |
12 | import java.util.Date;
13 |
14 |
15 | public interface IRIDateTimeConverter
16 | {
17 | java.util.Date convertDateTime(String strDate);
18 | java.util.Date convertTime(String strDate);
19 | java.util.Date convertDate(String strDate);
20 | String convertDuration(String value);
21 | String getStringFromDateTime(Date value);
22 | String getStringFromDate(Date value);
23 | String getStringFromTime(Date value);
24 | String getStringFromDuration(String value);
25 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Datasource local storage ignored files
5 | /../../../../../../:\Projects\javaCamp\kodlamaIoHw\eCommerceAuthentication\.idea/dataSources/
6 | /dataSources.local.xml
7 | # Editor-based HTTP Client requests
8 | /httpRequests/
9 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/.idea/description.html:
--------------------------------------------------------------------------------
1 | Simple Java application that includes a class with main()
method
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/.idea/project-template.xml:
--------------------------------------------------------------------------------
1 |
2 | IJ_BASE_PACKAGE
3 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/eCommerceAuthentication.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/Main.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/Main.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/business/abstracts/UserLoginService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/business/abstracts/UserLoginService.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/business/concretes/UserLoginManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/business/concretes/UserLoginManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/core/GoogleAuthManagerAdapter.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/core/GoogleAuthManagerAdapter.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/core/NotifyManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/core/NotifyManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/core/NotifyService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/core/NotifyService.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/dataAccess/abstracts/UserDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/dataAccess/abstracts/UserDao.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/dataAccess/concretes/RepositoryUserDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/dataAccess/concretes/RepositoryUserDao.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/entities/abstracts/Entity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/entities/abstracts/Entity.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/entities/concretes/User.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/entities/concretes/User.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/googleAuthentication/GoogleAuthManager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/eCommerceAuthentication/out/production/eCommerceAuthentication/com/eCommerceAuthentication/googleAuthentication/GoogleAuthManager.class
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/src/com/eCommerceAuthentication/business/abstracts/UserLoginService.java:
--------------------------------------------------------------------------------
1 | package com.eCommerceAuthentication.business.abstracts;
2 |
3 | import com.eCommerceAuthentication.entities.concretes.User;
4 |
5 | public interface UserLoginService {
6 | void register(User user);
7 | void login(String email, String password);
8 | }
9 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/src/com/eCommerceAuthentication/core/NotifyService.java:
--------------------------------------------------------------------------------
1 | package com.eCommerceAuthentication.core;
2 |
3 | import com.eCommerceAuthentication.entities.concretes.User;
4 |
5 | public interface NotifyService {
6 | boolean addNewAccount(User user);
7 | void sendValidationEmail(User user, String content);
8 | void sendValidationLink(User user);
9 | boolean isClickedToValidationLink(User user);
10 | }
11 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/src/com/eCommerceAuthentication/dataAccess/abstracts/UserDao.java:
--------------------------------------------------------------------------------
1 | package com.eCommerceAuthentication.dataAccess.abstracts;
2 |
3 | import com.eCommerceAuthentication.entities.concretes.User;
4 |
5 | import java.util.List;
6 |
7 | public interface UserDao {
8 | void addAccount(User user);
9 | boolean addVerificationEmail(User user);
10 | boolean signUp(String email, String password);
11 |
12 | User getUser(int id);
13 | List getAllUser();
14 | }
15 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/src/com/eCommerceAuthentication/entities/abstracts/Entity.java:
--------------------------------------------------------------------------------
1 | package com.eCommerceAuthentication.entities.abstracts;
2 |
3 | public interface Entity {
4 | }
5 |
--------------------------------------------------------------------------------
/kodlamaIoHw/eCommerceAuthentication/src/com/eCommerceAuthentication/googleAuthentication/GoogleAuthManager.java:
--------------------------------------------------------------------------------
1 | package com.eCommerceAuthentication.googleAuthentication;
2 |
3 | public class GoogleAuthManager {
4 | public boolean loginWithGoogle(String email){
5 | System.out.println("Signed in with Google Authentication. " + email);
6 | return true;
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # production
12 | /build
13 |
14 | # misc
15 | .DS_Store
16 | .env.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 |
21 | npm-debug.log*
22 | yarn-debug.log*
23 | yarn-error.log*
24 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 |
8 | {
9 | "type": "pwa-chrome",
10 | "request": "launch",
11 | "name": "Launch Chrome against localhost",
12 | "url": "http://localhost:8080",
13 | "webRoot": "${workspaceFolder}"
14 | }
15 | ]
16 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/assets/diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms-project-with-react/assets/diagram.png
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms-project-with-react/public/favicon.ico
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/public/logo192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms-project-with-react/public/logo192.png
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/public/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms-project-with-react/public/logo512.png
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/public/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "short_name": "React App",
3 | "name": "Create React App Sample",
4 | "icons": [
5 | {
6 | "src": "favicon.ico",
7 | "sizes": "64x64 32x32 24x24 16x16",
8 | "type": "image/x-icon"
9 | },
10 | {
11 | "src": "logo192.png",
12 | "type": "image/png",
13 | "sizes": "192x192"
14 | },
15 | {
16 | "src": "logo512.png",
17 | "type": "image/png",
18 | "sizes": "512x512"
19 | }
20 | ],
21 | "start_url": ".",
22 | "display": "standalone",
23 | "theme_color": "#000000",
24 | "background_color": "#ffffff"
25 | }
26 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/public/robots.txt:
--------------------------------------------------------------------------------
1 | # https://www.robotstxt.org/robotstxt.html
2 | User-agent: *
3 | Disallow:
4 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/App.css:
--------------------------------------------------------------------------------
1 | .App {
2 | text-align: center;
3 | }
4 |
5 | .ui.main.container{
6 | margin-top: 6em;
7 | }
8 |
9 | body {
10 | background-color: rgb(255, 94, 94);
11 | }
12 |
13 | h1, h2, .title {
14 | color: rgb(255, 94, 94);
15 | }
16 |
17 | h3, h4, .title {
18 | color: rgb(22, 22, 22);
19 | }
20 | .marginTop {
21 | margin-top: 1em;
22 | }
23 |
24 | .italic {
25 | font-style: italic;
26 | }
27 |
28 | p, .black {
29 | color: black;
30 | font-size: 16px;
31 | font-weight: normal;
32 | }
33 |
34 |
35 | .modal {
36 | position: fixed;
37 | z-index: 1;
38 | width: 100%;
39 | height: 100%;
40 | background-color: rgba(0, 0, 0, 0.25);
41 | }
42 |
43 | .modal_content {
44 | background-color: white;
45 | position: absolute;
46 | top: 20%;
47 | left: 30%;
48 | width: 40%;
49 | padding: 20px;
50 | border-radius: 5px;
51 | border: 2px solid black;
52 | }
53 |
54 | .close {
55 | color: Black;
56 | float: right;
57 | }
58 |
59 | .close:hover {
60 | color: cyan;
61 | cursor: pointer;
62 | }
63 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/App.js:
--------------------------------------------------------------------------------
1 | import './App.css';
2 | import Dashboard from './layout/Dashboard';
3 | import 'semantic-ui-css/semantic.min.css';
4 | import { Container } from 'semantic-ui-react';
5 | import Navi from './layout/Navi';
6 |
7 | function App() {
8 | return (
9 |
10 |
11 |
12 |
13 |
14 |
15 | );
16 | }
17 |
18 | export default App;
19 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/App.test.js:
--------------------------------------------------------------------------------
1 | import { render, screen } from '@testing-library/react';
2 | import App from './App';
3 |
4 | test('renders learn react link', () => {
5 | render();
6 | const linkElement = screen.getByText(/learn react/i);
7 | expect(linkElement).toBeInTheDocument();
8 | });
9 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/images/me.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms-project-with-react/src/images/me.jpg
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/index.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
5 | sans-serif;
6 | -webkit-font-smoothing: antialiased;
7 | -moz-osx-font-smoothing: grayscale;
8 | }
9 |
10 | code {
11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
12 | monospace;
13 | }
14 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import ReactDOM from 'react-dom';
3 | import './index.css';
4 | import App from './App';
5 | import reportWebVitals from './reportWebVitals';
6 | import { BrowserRouter } from 'react-router-dom';
7 |
8 | ReactDOM.render(,document.getElementById('root'));
9 |
10 | // If you want to start measuring performance in your app, pass a function
11 | // to log results (for example: reportWebVitals(console.log))
12 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
13 | reportWebVitals();
14 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/layout/Employer.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import { makeStyles } from '@material-ui/core/styles';
3 | import { useHistory } from "react-router-dom";
4 | import Button from '@material-ui/core/Button';
5 |
6 | const useStyles = makeStyles({
7 | root: {
8 | background: 'linear-gradient(45deg, #FE6B8B 30%, #FF8E53 90%)',
9 | borderRadius: 5,
10 | boxShadow: '0 3px 5px 2px rgba(255, 105, 135, .3)',
11 | color: 'white',
12 | height: 42,
13 | padding: '0 30px',
14 | marginTop: "11px"
15 | },
16 | });
17 |
18 | export default function Employer() {
19 | const classes = useStyles();
20 | const history = useHistory();
21 | const handleRoute = () =>{
22 | history.push("/advertisements");
23 | }
24 | return (
25 |
28 | )
29 | }
30 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/layout/Settings.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | export default function Settings() {
4 | return (
5 |
6 |
7 |
8 | )
9 | }
10 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/layout/SignIn.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import { Menu,Image, Dropdown } from 'semantic-ui-react'
3 |
4 | export default function SignIn({signOut}) {
5 | return (
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | )
18 | }
19 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/pages/Authentications/EmployeeRegister.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | export default function EmployeeRegister() {
4 | return (
5 |
6 | EmployeeRegister
7 |
8 | )
9 | }
10 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/pages/Authentications/EmployerRegister.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | export default function EmployerRegister() {
4 | return (
5 |
6 | EmployerRegister
7 |
8 | )
9 | }
10 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/pages/cvs/Crud/Update/UpdateSystemEmployee.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | export default function UpdateSystemEmployee() {
4 | return (
5 |
6 |
7 |
8 | )
9 | }
10 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/reportWebVitals.js:
--------------------------------------------------------------------------------
1 | const reportWebVitals = onPerfEntry => {
2 | if (onPerfEntry && onPerfEntry instanceof Function) {
3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
4 | getCLS(onPerfEntry);
5 | getFID(onPerfEntry);
6 | getFCP(onPerfEntry);
7 | getLCP(onPerfEntry);
8 | getTTFB(onPerfEntry);
9 | });
10 | }
11 | };
12 |
13 | export default reportWebVitals;
14 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/advertisementService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class AdvertisementService{
4 | getAdvertisements(){
5 | return axios.get("http://localhost:8080/api/advertisements/getAllAdvertisementList")
6 | }
7 | addAdvertisements(values){
8 | return axios.post("http://localhost:8080/api/advertisements/addAdvertisement",values)
9 | }
10 | findById(id){
11 | return axios.get("http://localhost:8080/api/advertisements/findById/"+id)
12 | }
13 | getAllOpenAndApprovedAdvertisementList(){
14 | return axios.get("http://localhost:8080/api/advertisements/getAllOpenAndApprovedAdvertisementList")
15 | }
16 | getAllWaitApproveAdvertisementList(){
17 | return axios.get("getAllWaitApproveAdvertisementList")
18 | }
19 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/cityService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class CityService{
4 | getCities(){
5 | return axios.get("http://localhost:8080/api/cities/getAllCity")
6 | }
7 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/cvService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class CvService{
4 | getCvs(){
5 | return axios.get("http://localhost:8080/api/cvs/getAll")
6 | }
7 | addCvs(values){
8 | return axios.post("http://localhost:8080/api/cvs/add",values)
9 | }
10 | updateCvs(values){
11 | return axios.post("http://localhost:8080/api/cvs/update",values)
12 | }
13 | getByCvId(id){
14 | return axios.get("http://localhost:8080/api/cvs/getByCvId/"+id)
15 | }
16 | findByJobSeekerUserId(id){
17 | return axios.get("http://localhost:8080/api/cvs/findByJobSeekerUserId/"+id)
18 | }
19 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/educationService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class EducationService{
4 | getEducations(){
5 | return axios.get("http://localhost:8080/api/educations/getAll")
6 | }
7 | addEducations(values){
8 | return axios.post("http://localhost:8080/api/educations/add",values)
9 | }
10 | updateEducations(values){
11 | return axios.put("http://localhost:8080/api/educations/update",values)
12 | }
13 | findByEducationIdOrderBySchoolGraduationDate(id){
14 | return axios.get("http://localhost:8080/api/educations/findByEducationIdOrderBySchoolGraduationDate?d=ASC&id="+id)
15 | }
16 | getByEducationId(id){
17 | return axios.get("http://localhost:8080/api/educations/getByEducationId/"+id)
18 | }
19 | getByCvId(id){
20 | return axios.get("http://localhost:8080/api/educations/getByCvId/"+id)
21 | }
22 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/employerService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class EmployerService{
4 | getEmployers(){
5 | return axios.get("http://localhost:8080/api/employers/getall")
6 | }
7 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/jobPositionService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class JobPositionService{
4 | getJobPositions(){
5 | return axios.get("http://localhost:8080/api/positions/getAll")
6 | }
7 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/jobSeekerService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class JobSeekerService{
4 | getJobSeekers(){
5 | return axios.get("http://localhost:8080/api/job-seekers/getAll")
6 | }
7 | registerJobSeekers(values){
8 | return axios.post("http://localhost:8080/api/job-seekers/register",values)
9 | }
10 | getByJobSeekerId(id){
11 | return axios.get("http://localhost:8080/api/job-seekers/getById?id="+id)
12 | }
13 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/languageService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class LanguageService{
4 | getLanguages(){
5 | return axios.get("http://localhost:8080/api/languages/getAll")
6 | }
7 | getLanguagesWithId(id){
8 | return axios.get("http://localhost:8080/api/languages/findAllByLanguageId?id=",id)
9 | }
10 | addLanguages(values){
11 | return axios.post("http://localhost:8080/api/languages/add",values)
12 | }
13 | findAllByCvId(id){
14 | return axios.get("http://localhost:8080/api/languages/findAllByCvId/"+id)
15 | }
16 | updateLanguages(values){
17 | return axios.put("http://localhost:8080/api/languages/update",values)
18 | }
19 | getByCvId(id){
20 | return axios.get("http://localhost:8080/api/languages/getByCvId/"+id)
21 | }
22 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/photoInfoService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class PhotoInfoService{
4 | getAllPhoto(){
5 | return axios.get("http://localhost:8080/api/images/getAll")
6 | }
7 | getAllPhotoWithId(id){
8 | return axios.get("http://localhost:8080/api/images/getById?id="+id)
9 | }
10 |
11 | upload(cvId,id){
12 | return axios.post(`http://localhost:8080/api/images/upload?cvId=${cvId}&id=${id}`)
13 | }
14 |
15 | getAllOpenAndApprovedAdvertisementList(){
16 | return axios.get("http://localhost:8080/api/advertisements/getAllOpenAndApprovedAdvertisementList")
17 | }
18 | getAllWaitApproveAdvertisementList(){
19 | return axios.get("getAllWaitApproveAdvertisementList")
20 | }
21 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/programmingSkillService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class ProgrammingSkillService {
4 | getProgrammingSkills(){
5 | return axios.get("http://localhost:8080/api/programming-skills/getAll")
6 | }
7 | addProgrammingSkills(values){
8 | return axios.post("http://localhost:8080/api/programming-skills/add",values)
9 | }
10 | updateProgrammingSkills(values){
11 | return axios.put("http://localhost:8080/api/programming-skills/update",values)
12 | }
13 | findAllByCvId(id){
14 | return axios.get("http://localhost:8080/api/programming-skills/findAllByCvId/"+id)
15 | }
16 | getByCvId(id){
17 | return axios.get("http://localhost:8080/api/programming-skills/getByCvId/"+id)
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/socialMediaService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class SocialMediaService {
4 | getSocialMedias(){
5 | return axios.get("http://localhost:8080/api/social-medias/getAll")
6 | }
7 | addSocialMedias(values){
8 | return axios.post("http://localhost:8080/api/social-medias/add",values)
9 | }
10 | updateSocialMedias(values){
11 | return axios.post("http://localhost:8080/api/social-medias/update",values)
12 | }
13 | findAllById(id){
14 | return axios.get("http://localhost:8080/api/social-medias/findAllById?id="+id)
15 | }
16 | getByCvId(id){
17 | return axios.get("http://localhost:8080/api/social-medias/getByCvId/"+id)
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/systemEmployeeService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class SystemEmployeeService {
4 | getSystemEmployees(){
5 | return axios.get("http://localhost:8080/api/system_employees/getAll")
6 | }
7 | getById(id){
8 | return axios.get("http://localhost:8080/api/system_employees/getById/"+id)
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/workExperienceService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class WorkExperienceService {
4 | getWorkExperiences(){
5 | return axios.get("http://localhost:8080/api/work-experiences/getAll")
6 | }
7 | addWorkExperiences(values){
8 | return axios.post("http://localhost:8080/api/work-experiences/add",values)
9 | }
10 | updateWorkExperiences(values){
11 | return axios.post("http://localhost:8080/api/work-experiences/update",values)
12 | }
13 | deleteWorkExperiences(values){
14 | return axios.post("http://localhost:8080/api/work-experiences/update",values)
15 | }
16 | findByExperienceId(id){
17 | return axios.get("http://localhost:8080/api/work-experiences/findByExperienceId/"+id)
18 | }
19 | getByCvId(id){
20 | return axios.get("http://localhost:8080/api/work-experiences/getByCvId/"+id)
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/workTimeService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class WorkTimeService{
4 | getworkTimes(){
5 | return axios.get("http://localhost:8080/api/work-times/getAllWorkTime")
6 | }
7 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/services/workTypeService.js:
--------------------------------------------------------------------------------
1 | import axios from "axios"
2 |
3 | export default class WorkTypeService{
4 | getworkTypes(){
5 | return axios.get("http://localhost:8080/api/work-types/getAllWorkType")
6 | }
7 | }
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/setupTests.js:
--------------------------------------------------------------------------------
1 | // jest-dom adds custom jest matchers for asserting on DOM nodes.
2 | // allows you to do things like:
3 | // expect(element).toHaveTextContent(/react/i)
4 | // learn more: https://github.com/testing-library/jest-dom
5 | import '@testing-library/jest-dom';
6 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/utilities/customFormControls/HrmsTextInput.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import { useField } from 'formik'
3 | import { FormField, Label } from 'semantic-ui-react'
4 |
5 |
6 | export default function HrmsTextInput({ ...props }) {
7 | const [field, meta] = useField(props)
8 | return (
9 |
10 |
11 | {meta.touched && !!meta.error ? (
12 |
13 | ) : null}
14 |
15 | )
16 | }
17 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/utilities/cvs/getBulletIcon.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 | import { Icon } from "semantic-ui-react";
3 |
4 | export default () => ;
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/utilities/cvs/getLink.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 |
3 | export default (text, link) => (
4 |
5 | {text === null ? "" : text}
6 |
7 | );
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/src/utilities/cvs/getRating.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import { Rating, Grid, GridColumn } from "semantic-ui-react";
3 |
4 | export default rating => (
5 |
6 |
7 |
15 |
16 |
17 | );
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms-project-with-react/{:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms-project-with-react/{
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/.gitignore:
--------------------------------------------------------------------------------
1 | HELP.md
2 | target/
3 | !.mvn/wrapper/maven-wrapper.jar
4 | !**/src/main/**/target/
5 | !**/src/test/**/target/
6 |
7 | ### STS ###
8 | .apt_generated
9 | .classpath
10 | .factorypath
11 | .project
12 | .settings
13 | .springBeans
14 | .sts4-cache
15 |
16 | ### IntelliJ IDEA ###
17 | .idea
18 | *.iws
19 | *.iml
20 | *.ipr
21 |
22 | ### NetBeans ###
23 | /nbproject/private/
24 | /nbbuild/
25 | /dist/
26 | /nbdist/
27 | /.nb-gradle/
28 | build/
29 | !**/src/main/**/build/
30 | !**/src/test/**/build/
31 |
32 | ### VS Code ###
33 | .vscode/
34 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/.mvn/wrapper/maven-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms/.mvn/wrapper/maven-wrapper.jar
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/.mvn/wrapper/maven-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip
2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
3 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/assets/generate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms/assets/generate.png
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/assets/layers.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms/assets/layers.png
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/assets/mavenpic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms/assets/mavenpic.png
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/assets/postgre.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms/assets/postgre.png
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/assets/spring1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms/assets/spring1.png
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/assets/spring2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms/assets/spring2.png
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/easywsdl/ExKsoap2-1.0.3.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms/easywsdl/ExKsoap2-1.0.3.1.jar
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/easywsdl/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms/easywsdl/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/HrmsApplication.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms;
2 |
3 | import org.springframework.boot.SpringApplication;
4 | import org.springframework.boot.autoconfigure.SpringBootApplication;
5 | import org.springframework.context.annotation.Bean;
6 | import springfox.documentation.builders.RequestHandlerSelectors;
7 | import springfox.documentation.spi.DocumentationType;
8 | import springfox.documentation.spring.web.plugins.Docket;
9 | import springfox.documentation.swagger2.annotations.EnableSwagger2;
10 |
11 | @SpringBootApplication
12 | @EnableSwagger2
13 | public class HrmsApplication {
14 |
15 | public static void main(String[] args) {
16 | SpringApplication.run(HrmsApplication.class, args);
17 | }
18 |
19 | @Bean
20 | public Docket api() {
21 | return new Docket(DocumentationType.SWAGGER_2)
22 | .select()
23 | .apis(RequestHandlerSelectors.basePackage("kodlamaio.hrms"))
24 | .build();
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/CVService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.Cv;
6 | import kodlamaio.hrms.entities.dtos.CvDetailForJobSeekerDto;
7 | import kodlamaio.hrms.entities.dtos.CvDto;
8 |
9 | import java.util.List;
10 |
11 | public interface CVService {
12 | DataResult> getAll();
13 |
14 | DataResult getByCvId(int cvId);
15 |
16 | DataResult findByJobSeekerUserId(int id);
17 |
18 | DataResult getCvDetailForJobSeekerById(int cvId);
19 |
20 | Result add(CvDto cvDto);
21 |
22 | Result update(CvDto cvDto);
23 |
24 | Result delete(int id);
25 | }
26 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/CityService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.City;
6 |
7 | import java.util.List;
8 |
9 | public interface CityService {
10 |
11 | Result addCity(City city);
12 |
13 | Result updateCity(City city);
14 |
15 | Result deleteCityById(int id);
16 |
17 | DataResult getCity(int id);
18 |
19 | DataResult> getAllCity();
20 |
21 | DataResult> findAllById(int id);
22 |
23 | DataResult findByCityName(String cityName);
24 |
25 | DataResult> findByCityNameContains(String name);
26 | }
27 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/EmailVerificationService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.Result;
4 | import kodlamaio.hrms.entities.concretes.EmailVerification;
5 | import kodlamaio.hrms.entities.concretes.User;
6 | import kodlamaio.hrms.entities.dtos.LoginForEmailVerificationDto;
7 |
8 | public interface EmailVerificationService {
9 |
10 | Result addEmailVerification(EmailVerification emailVerification);
11 |
12 | Result updateEmailVerification(EmailVerification emailVerification);
13 |
14 | Result deleteEmailVerification(int id);
15 |
16 | Result sendActivationCode(User user, String... emails);
17 |
18 | Result verify(LoginForEmailVerificationDto emailVerificationDto);
19 | }
20 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/EmployerService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.Employer;
6 | import kodlamaio.hrms.entities.dtos.LoginForEmployerDto;
7 |
8 | import java.util.List;
9 |
10 | public interface EmployerService {
11 |
12 | DataResult> getAll();
13 |
14 | DataResult getById(int id);
15 |
16 | Result updateEmployer(Employer employer);
17 |
18 | Result deleteEmployer(int id);
19 |
20 | Result isEmailAvailable(String email);
21 |
22 | Result register(LoginForEmployerDto employerDto);
23 |
24 | Result confirmEmployer(LoginForEmployerDto employerDto);
25 |
26 | DataResult> getAllWaitApproveEmployerList();
27 |
28 | DataResult> getAllActiveAndApprovedEmployerList();
29 | }
30 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/LanguageService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.LanguagesForCv;
6 | import kodlamaio.hrms.entities.dtos.LanguageDto;
7 |
8 | import java.util.List;
9 |
10 | public interface LanguageService {
11 | DataResult> findAllByLanguageId(int id);
12 |
13 | DataResult> findAllByCvId(int id);
14 |
15 | DataResult getByLanguageId(int id);
16 |
17 | DataResult> getByCv_CvId(int id);
18 |
19 | DataResult> getAll();
20 |
21 | Result add(LanguageDto languageDto);
22 |
23 | Result update(LanguageDto languageDto);
24 |
25 | Result delete(int id);
26 | }
27 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/PhotoService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.PhotoInfo;
6 | import org.springframework.web.multipart.MultipartFile;
7 |
8 | import java.util.List;
9 |
10 | public interface PhotoService {
11 |
12 | Result uploadPhoto(PhotoInfo photoInfo, MultipartFile imageFile);
13 |
14 | Result update(PhotoInfo resumeImage);
15 |
16 | Result delete(int id);
17 |
18 | DataResult getById(int id);
19 |
20 | DataResult> getAll();
21 |
22 | DataResult> findAllById(int id);
23 | }
24 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/PositionService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.Position;
6 |
7 | import java.time.LocalDate;
8 | import java.util.List;
9 |
10 | public interface PositionService {
11 | DataResult> getAll();
12 |
13 | DataResult findById(int id);
14 |
15 | DataResult getByJobName(String jobName);
16 |
17 | DataResult getByCreatedDate(LocalDate createdDate);
18 |
19 | Result add(Position position);
20 | }
21 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/ProgrammingSkillService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.ProgrammingSkillForCv;
6 | import kodlamaio.hrms.entities.dtos.ProgrammingSkillDto;
7 |
8 | import java.util.List;
9 |
10 | public interface ProgrammingSkillService {
11 | DataResult> getAll();
12 |
13 | DataResult> findAllByCvId(int id);
14 |
15 | Result add(ProgrammingSkillDto programmingSkillDto);
16 |
17 | Result update(ProgrammingSkillDto programmingSkillDto);
18 |
19 | Result delete(int id);
20 |
21 | DataResult> getByCv_CvId(int id);
22 |
23 | ProgrammingSkillForCv findById(int id);
24 | }
25 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/SocialMediaService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.SocialMediaForCv;
6 | import kodlamaio.hrms.entities.dtos.SocialMediaDto;
7 |
8 | import java.util.List;
9 |
10 | public interface SocialMediaService {
11 | DataResult> findAllById(int id);
12 |
13 | DataResult> getByCv_CvId(int id);
14 |
15 | DataResult> getAll();
16 |
17 | Result add(SocialMediaDto socialMediaDto);
18 |
19 | Result update(SocialMediaDto socialMediaDto);
20 |
21 | Result delete(int id);
22 | }
23 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/SystemEmployeeService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.SystemEmployee;
6 | import kodlamaio.hrms.entities.dtos.LoginForEmployeeDto;
7 |
8 | import java.util.List;
9 |
10 | public interface SystemEmployeeService {
11 |
12 | DataResult> getAllSystemEmployee();
13 |
14 | DataResult> findAllById(int id);
15 |
16 | DataResult getById(int id);
17 |
18 | Result addEmployee(LoginForEmployeeDto employeeDto);
19 |
20 | Result updateEmployee(SystemEmployee systemEmployee);
21 |
22 | Result deleteEmployee(int id);
23 | }
24 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/UserService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.User;
6 |
7 | import java.util.List;
8 |
9 | public interface UserService {
10 | Result checkUserByEmail(String email);
11 |
12 | Result addUserAccount(User user);
13 |
14 | Result updateUserAccount(User user);
15 |
16 | Result deleteUserAccount(int id);
17 |
18 | DataResult getUser(int id);
19 |
20 | DataResult> getAllUser();
21 |
22 | DataResult findUserByEmail(String email);
23 | }
24 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/WorkFeatureService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.TypeOfWorkFeature;
6 |
7 | import java.util.List;
8 |
9 | public interface WorkFeatureService {
10 | Result add(TypeOfWorkFeature workFeature);
11 | Result update(TypeOfWorkFeature workFeature);
12 | Result delete(int id);
13 | DataResult findByWorkTypeId(int id);
14 | DataResult> findByWorkTypeNameContains(String name);
15 | DataResult> getAll();
16 | }
17 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/business/abstracts/WorkTimeService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.business.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.entities.concretes.WorkTimeFeature;
6 |
7 | import java.util.List;
8 |
9 | public interface WorkTimeService {
10 | Result add(WorkTimeFeature timeFeature);
11 | Result update(WorkTimeFeature timeFeature);
12 | Result delete(int id);
13 | DataResult findByWorkTimeId(int id);
14 | DataResult> findByWorkTimeNameContains(String name);
15 | DataResult> getAll();
16 | }
17 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/core/adapters/abstracts/MernisCheckService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.core.adapters.abstracts;
2 |
3 | import kodlamaio.hrms.entities.dtos.LoginForJobSeekerDto;
4 |
5 | public interface MernisCheckService {
6 | boolean checkIfRealPerson(LoginForJobSeekerDto jobSeeker);
7 | }
8 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/core/adapters/abstracts/ValidateCheckEmailService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.core.adapters.abstracts;
2 |
3 | import kodlamaio.hrms.core.utilities.results.Result;
4 |
5 | public interface ValidateCheckEmailService {
6 |
7 | Result sendValidationEmail(String cc, String emailSubject, String emailContent);
8 | }
9 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/core/adapters/concretes/ValidateCheckEmailManager.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.core.adapters.concretes;
2 |
3 | import kodlamaio.hrms.core.adapters.abstracts.ValidateCheckEmailService;
4 | import kodlamaio.hrms.core.utilities.results.Result;
5 | import kodlamaio.hrms.dataAccess.abstracts.EmailVerificationRepository;
6 | import org.springframework.beans.factory.annotation.Autowired;
7 | import org.springframework.stereotype.Service;
8 |
9 | @Service
10 | public class ValidateCheckEmailManager implements ValidateCheckEmailService {
11 |
12 | private final EmailVerificationRepository emailVerificationRepository;
13 |
14 | @Autowired
15 | public ValidateCheckEmailManager(EmailVerificationRepository emailVerificationRepository) {
16 | super();
17 | this.emailVerificationRepository = emailVerificationRepository;
18 | }
19 |
20 | @Override
21 | public Result sendValidationEmail(String cc, String emailSubject, String emailContent) {
22 | return null;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/core/utilities/results/DataResult.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.core.utilities.results;
2 |
3 | public class DataResult extends Result {
4 | private T data;
5 |
6 | public T getData() {
7 | return this.data;
8 | }
9 |
10 | public DataResult(T data, boolean success, String message) {
11 | super(success, message);
12 | this.data = data;
13 | }
14 | public DataResult(T data, boolean success) {
15 | super(success);
16 | this.data = data;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/core/utilities/results/ErrorDataResult.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.core.utilities.results;
2 |
3 | public class ErrorDataResult extends DataResult {
4 |
5 | public ErrorDataResult(T data, String message) {
6 | super(data, false, message);
7 | }
8 |
9 | public ErrorDataResult(T data) {
10 | super(data, false);
11 | }
12 |
13 | public ErrorDataResult(String message) {
14 | super(null, false, message);
15 | }
16 |
17 | public ErrorDataResult() {
18 | super(null, false);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/core/utilities/results/ErrorsResult.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.core.utilities.results;
2 |
3 | public class ErrorsResult extends Result {
4 | public ErrorsResult() {
5 | super(false);
6 | }
7 |
8 | public ErrorsResult(String message) {
9 | super(false, message);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/core/utilities/results/Result.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.core.utilities.results;
2 |
3 | public class Result {
4 | private boolean success;
5 | private String message;
6 |
7 | public Result(boolean success){
8 | this.success = success;
9 | }
10 |
11 | public Result(boolean success, String message){
12 | this(success);
13 | this.message = message;
14 | }
15 |
16 | public boolean isSuccess() {
17 | return this.success;
18 | }
19 | public String getMessage() {
20 | return this.message;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/core/utilities/results/SuccessDataResult.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.core.utilities.results;
2 |
3 | public class SuccessDataResult extends DataResult {
4 |
5 | public SuccessDataResult(T data, String message) {
6 | super(data, true, message);
7 | }
8 |
9 | public SuccessDataResult(T data) {
10 | super(data, true);
11 | }
12 |
13 | public SuccessDataResult(String message) {
14 | super(null, true, message);
15 | }
16 |
17 | public SuccessDataResult() {
18 | super(null, true);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/core/utilities/results/SuccessResult.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.core.utilities.results;
2 |
3 | import kodlamaio.hrms.entities.concretes.JobSeeker;
4 |
5 | public class SuccessResult extends Result{
6 | public SuccessResult(DataResult jobSeekerByTcNo){
7 | super(true);
8 | }
9 | public SuccessResult(String message){
10 | super(true, message);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/CVRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.Cv;
4 | import kodlamaio.hrms.entities.dtos.CvDetailForJobSeekerDto;
5 | import org.springframework.data.jpa.repository.JpaRepository;
6 | import org.springframework.data.jpa.repository.Query;
7 |
8 | public interface CVRepository extends JpaRepository {
9 | Cv findByCvId(int id);
10 | Cv findByJobSeekerUserId(int id);
11 |
12 | @Query("Select new kodlamaio.hrms.entities.dtos.CvDetailForJobSeekerDto(c.cvId,c.coverLetter,j) From Cv c JOIN c.jobSeeker j Where c.cvId=:id")
13 | CvDetailForJobSeekerDto getCvDetailForJobSeekerById(int id);
14 | }
15 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/CityRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.City;
4 | import kodlamaio.hrms.entities.concretes.Employer;
5 | import org.springframework.data.jpa.repository.JpaRepository;
6 |
7 | import java.util.List;
8 | import java.util.Optional;
9 |
10 | public interface CityRepository extends JpaRepository {
11 | City findByCityName(String cityName);
12 | City getById(int id);
13 | List findByCityNameContains(String name);
14 | List findAllById(int id);
15 | }
16 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/EducationInformationForCVRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.EducationInformationForCv;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.util.List;
7 | import java.util.Set;
8 |
9 | public interface EducationInformationForCVRepository extends JpaRepository {
10 | List findByEducationId(int id);
11 |
12 | List getByCv_CvId(int id);
13 |
14 | EducationInformationForCv getByEducationId(int id);
15 |
16 | List findByEducationIdOrderBySchoolGraduationDate(int idWithoutDesc);
17 |
18 | List findByEducationIdOrderBySchoolGraduationDateDesc(int idWithDesc);
19 | }
20 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/EmailVerificationRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.EmailVerification;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.util.Optional;
7 |
8 | public interface EmailVerificationRepository extends JpaRepository {
9 | Optional findByEmailAndAuthentication(String email, String authentication);
10 | }
11 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/EmployerRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.Employer;
4 | import kodlamaio.hrms.entities.concretes.ProgrammingSkillForCv;
5 | import org.springframework.data.jpa.repository.JpaRepository;
6 |
7 | import java.util.List;
8 | import java.util.Optional;
9 |
10 | public interface EmployerRepository extends JpaRepository {
11 | Optional findByEmail(String email);
12 | List findAllByUserId(int id);
13 | Employer findByUserId(int id);
14 | }
15 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/JobSeekerRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.JobSeeker;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import javax.validation.constraints.NotNull;
7 | import java.util.List;
8 |
9 | public interface JobSeekerRepository extends JpaRepository {
10 | JobSeeker findJobSeekerByTcNo(String tcNo);
11 |
12 | List findJobSeekersByUserId(int id);
13 |
14 | JobSeeker getByUserId(int id);
15 |
16 | JobSeeker findJobSeekerByFirstname(String firstName);
17 |
18 | JobSeeker findJobSeekerByLastname(String lastName);
19 |
20 | JobSeeker findJobSeekerByBirthYear(@NotNull int birthYear);
21 | }
22 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/LanguagesRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.LanguagesForCv;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.util.List;
7 | import java.util.Optional;
8 | import java.util.Set;
9 |
10 | public interface LanguagesRepository extends JpaRepository {
11 | List findAllByLanguageId(int id);
12 |
13 | List findAllByCv_CvId(int id);
14 |
15 | List getByCv_CvId(int id);
16 |
17 | Optional getByLanguageId(int id);
18 | }
19 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/PhotoRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.PhotoInfo;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.util.List;
7 |
8 | public interface PhotoRepository extends JpaRepository {
9 |
10 | PhotoInfo getById(int id);
11 | List findAllById(int id);
12 | }
13 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/PositionRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.Position;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.time.LocalDate;
7 |
8 | public interface PositionRepository extends JpaRepository {
9 | Position findByJobPositionName(String jobName);
10 |
11 | Position findByCreatedDate(LocalDate createdDate);
12 |
13 | Position getById(int id);
14 | }
15 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/ProgrammingSkillForCvRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.ProgrammingSkillForCv;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.util.List;
7 | import java.util.Optional;
8 | import java.util.Set;
9 |
10 | public interface ProgrammingSkillForCvRepository extends JpaRepository {
11 | List findAllByCv_CvId(int id);
12 | List findAllById(int id);
13 | List getByCv_CvId(int id);
14 | Optional getById(int id);
15 | }
16 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/SocialMediaForCvRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.SocialMediaForCv;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.util.List;
7 | import java.util.Set;
8 |
9 | public interface SocialMediaForCvRepository extends JpaRepository {
10 | List findAllById(int id);
11 | List getByCv_CvId(int id);
12 | }
13 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/SystemEmployeeRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.SystemEmployee;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.util.List;
7 |
8 | public interface SystemEmployeeRepository extends JpaRepository {
9 | List findAllByUserId(int id);
10 |
11 | SystemEmployee findByUserId(int id);
12 | }
13 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/UserRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.User;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | public interface UserRepository extends JpaRepository {
7 | User findUserByEmail(String email);
8 | User findByUserId(int id);
9 | }
10 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/WorkExperienceForCvRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.WorkExperienceForCv;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.util.List;
7 | import java.util.Set;
8 |
9 | public interface WorkExperienceForCvRepository extends JpaRepository {
10 | List findByExperienceId(int id);
11 |
12 | List getByCv_CvId(int id);
13 |
14 | List findByExperienceIdOrderByBusinessLeavingDate(int idWithoutDesc);
15 |
16 | List findByExperienceIdOrderByBusinessLeavingDateDesc(int idWithDesc);
17 | }
18 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/WorkFeatureRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.TypeOfWorkFeature;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.util.List;
7 |
8 | public interface WorkFeatureRepository extends JpaRepository {
9 | TypeOfWorkFeature findByWorkTypeId(int id);
10 |
11 | List findByWorkTypeNameContains(String name);
12 |
13 | List findAllByWorkTypeId(int id);
14 | }
15 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/dataAccess/abstracts/WorkTimeRepository.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.dataAccess.abstracts;
2 |
3 | import kodlamaio.hrms.entities.concretes.WorkTimeFeature;
4 | import org.springframework.data.jpa.repository.JpaRepository;
5 |
6 | import java.util.List;
7 |
8 | public interface WorkTimeRepository extends JpaRepository {
9 | WorkTimeFeature findByWorkTimeId(int id);
10 |
11 | List findByWorkTimeNameContains(String name);
12 |
13 | List findAllByWorkTimeId(int id);
14 | }
15 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/database/ERD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EzgilEren/JavaCampWithReact/4887cac79419a1165cd59c2763d44fc3dcb89375/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/database/ERD.png
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/concretes/City.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.concretes;
2 |
3 | import com.fasterxml.jackson.annotation.JsonIgnore;
4 | import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
5 | import lombok.AllArgsConstructor;
6 | import lombok.Data;
7 | import lombok.NoArgsConstructor;
8 |
9 | import javax.persistence.*;
10 | import java.util.List;
11 |
12 | @Data
13 | @Entity
14 | @Table(name = "cities")
15 | @AllArgsConstructor
16 | @NoArgsConstructor
17 | @JsonIgnoreProperties({"hibernateLazyInitializer", "handler", "advertisementList"})
18 | public class City {
19 | @Id
20 | @GeneratedValue(strategy = GenerationType.IDENTITY)
21 | @Column(name = "id", unique = true, nullable = false)
22 | private int id;
23 |
24 | @Column(name = "city_name")
25 | private String cityName;
26 |
27 | @OneToMany(fetch = FetchType.EAGER, mappedBy = "city")
28 | @JsonIgnore
29 | private List advertisementList;
30 | }
31 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/concretes/Employer.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.concretes;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | import javax.persistence.Column;
8 | import javax.persistence.Entity;
9 | import javax.persistence.PrimaryKeyJoinColumn;
10 | import javax.persistence.Table;
11 |
12 | @Entity
13 | @Data
14 | @Table(name = "employers")
15 | @PrimaryKeyJoinColumn(name = "user_id")
16 | @AllArgsConstructor
17 | @NoArgsConstructor
18 | public class Employer extends User {
19 | @Column(name = "company_name")
20 | private String companyName;
21 |
22 | @Column(name = "telephone_no")
23 | private String telephoneNumber;
24 |
25 | @Column(name = "web_address")
26 | private String webAddress;
27 |
28 | @Column(name = "is_active")
29 | private boolean isActive;
30 |
31 | @Column(name = "is_approved", columnDefinition = "boolean default false")
32 | private boolean isApproved = false;
33 | }
34 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/concretes/SystemEmployee.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.concretes;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | import javax.persistence.Column;
8 | import javax.persistence.Entity;
9 | import javax.persistence.PrimaryKeyJoinColumn;
10 | import javax.persistence.Table;
11 |
12 | @Data
13 | @Entity
14 | @Table(name = "hrms_employees")
15 | @PrimaryKeyJoinColumn(name = "user_id")
16 | @AllArgsConstructor
17 | @NoArgsConstructor
18 | public class SystemEmployee extends User {
19 | @Column(name = "firstname")
20 | private String firstName;
21 |
22 | @Column(name = "lastname")
23 | private String lastName;
24 | }
25 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/AdvertisementRequest.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | import java.time.LocalDate;
8 | import java.time.LocalDateTime;
9 |
10 | @Data
11 | @AllArgsConstructor
12 | @NoArgsConstructor
13 | public class AdvertisementRequest {
14 | private int id;
15 |
16 | private String jobDescription;
17 |
18 | private double minSalary;
19 |
20 | private double maxSalary;
21 |
22 | private boolean isAdvertisementOpen;
23 |
24 | private boolean isApproved;
25 |
26 | private int numberOfOpenPosition;
27 |
28 | private LocalDate applicationDeadline;
29 |
30 | private LocalDateTime createdDate;
31 |
32 | private int cityId;
33 |
34 | private int jobPositionId;
35 |
36 | private int employerId;
37 |
38 | private int workTypeId;
39 |
40 | private int workTimeId;
41 | }
42 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/CvDto.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | import java.time.LocalDateTime;
8 |
9 | @Data
10 | @AllArgsConstructor
11 | @NoArgsConstructor
12 | public class CvDto {
13 | private int cvId;
14 | private String coverLetter;
15 | private int userId;
16 | private int photoId;
17 | private int languageId;
18 | private int educationId;
19 | private int experienceId;
20 | private int skillId;
21 | private int socialMediaId;
22 | private LocalDateTime createdDate;
23 | }
24 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/EducationDto.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | import java.time.LocalDate;
8 | import java.time.LocalDateTime;
9 |
10 | @Data
11 | @AllArgsConstructor
12 | @NoArgsConstructor
13 | public class EducationDto {
14 | private int educationId;
15 | private String schoolName;
16 | private String schoolDepartmentName;
17 | private LocalDate schoolStartDate;
18 | private LocalDate schoolGraduationDate;
19 | private LocalDateTime createdAt = LocalDateTime.now();
20 | private int cvId;
21 | }
22 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/LanguageDto.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | import java.time.LocalDateTime;
8 |
9 | @Data
10 | @AllArgsConstructor
11 | @NoArgsConstructor
12 | public class LanguageDto {
13 | private int languageId;
14 | private String languageName;
15 | private int languageLevelNumber;
16 | private LocalDateTime createdAt = LocalDateTime.now();
17 | private int cvId;
18 | }
19 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/LoginForEmailVerificationDto.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | @Data
8 | @AllArgsConstructor
9 | @NoArgsConstructor
10 | public class LoginForEmailVerificationDto {
11 | private String email;
12 |
13 | private String activationCode;
14 | }
15 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/LoginForEmployeeDto.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | @Data
8 | @AllArgsConstructor
9 | @NoArgsConstructor
10 | public class LoginForEmployeeDto {
11 | private int id;
12 |
13 | private String email;
14 |
15 | private String password;
16 |
17 | private String confirmPassword;
18 |
19 | private String firstName;
20 |
21 | private String lastName;
22 |
23 | private boolean isApproved;
24 | }
25 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/LoginForEmployerDto.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | @Data
8 | @AllArgsConstructor
9 | @NoArgsConstructor
10 | public class LoginForEmployerDto {
11 | private int userId;
12 |
13 | private String email;
14 |
15 | private String companyName;
16 |
17 | private String telephoneNumber;
18 |
19 | private String webAddress;
20 |
21 | private String password;
22 |
23 | private String confirmPassword;
24 |
25 | private boolean isActive = false;
26 |
27 | private boolean isApproved = false;
28 |
29 | private boolean isSystemUser = false;
30 | }
31 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/LoginForJobSeekerDto.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | @Data
8 | @AllArgsConstructor
9 | @NoArgsConstructor
10 | public class LoginForJobSeekerDto {
11 | private String firstname;
12 |
13 | private String lastname;
14 |
15 | private String tcNo;
16 |
17 | private int birthYear;
18 |
19 | private String email;
20 |
21 | private String password;
22 |
23 | private String confirmPassword;
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/ProgrammingSkillDto.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | import java.time.LocalDateTime;
8 |
9 | @Data
10 | @AllArgsConstructor
11 | @NoArgsConstructor
12 | public class ProgrammingSkillDto {
13 | private int skillId;
14 | private String programmingName;
15 | private int programmingSkillLevel;
16 | private LocalDateTime createdAt = LocalDateTime.now();
17 | private int cvId;
18 | }
19 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/SocialMediaDto.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | import java.time.LocalDate;
8 | import java.time.LocalDateTime;
9 |
10 | @Data
11 | @AllArgsConstructor
12 | @NoArgsConstructor
13 | public class SocialMediaDto {
14 | private int id;
15 | private String socialMediaName;
16 | private String socialMediaUrl;
17 | private LocalDateTime createdAt = LocalDateTime.now();
18 | private int cvId;
19 | }
20 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/entities/dtos/WorkExperienceDto.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.entities.dtos;
2 |
3 | import lombok.AllArgsConstructor;
4 | import lombok.Data;
5 | import lombok.NoArgsConstructor;
6 |
7 | import java.time.LocalDate;
8 | import java.time.LocalDateTime;
9 |
10 | @Data
11 | @AllArgsConstructor
12 | @NoArgsConstructor
13 | public class WorkExperienceDto {
14 | private int experienceId;
15 | private String businessName;
16 | private String jobName;
17 | private LocalDate businessStartDate;
18 | private LocalDateTime businessLeavingDate = LocalDateTime.now();
19 | private boolean isStillWorking = false;
20 | private LocalDateTime createdAt = LocalDateTime.now();
21 | private int cvId;
22 | }
23 |
--------------------------------------------------------------------------------
/kodlamaIoHw/hrms/src/main/java/kodlamaio/hrms/services/ImageService/CloudinaryPhotoService.java:
--------------------------------------------------------------------------------
1 | package kodlamaio.hrms.services.ImageService;
2 |
3 | import kodlamaio.hrms.core.utilities.results.DataResult;
4 | import org.springframework.web.multipart.MultipartFile;
5 |
6 | import java.util.Map;
7 |
8 | public interface CloudinaryPhotoService {
9 | DataResult