├── OnlineShop ├── .idea │ ├── .name │ ├── description.html │ ├── project-template.xml │ ├── encodings.xml │ ├── copyright │ │ └── Hasan_Can_Özbek.xml │ ├── .gitignore │ ├── discord.xml │ ├── modules.xml │ ├── misc.xml │ └── libraries │ │ └── EasyWSDLLib.xml ├── src │ ├── Entities │ │ ├── abstracts │ │ │ └── Entity.java │ │ └── concretes │ │ │ └── User.java │ ├── Core │ │ ├── Adapters │ │ │ ├── ThirdPartyRegisterService.java │ │ │ └── GoogleRegisterAdapter.java │ │ ├── ThirdPartyRegister │ │ │ └── GoogleAccountRegister.java │ │ ├── Validate │ │ │ ├── ValidationService.java │ │ │ └── MailValidation.java │ │ └── Regex │ │ │ └── MailRegex.java │ ├── Business │ │ ├── abstracts │ │ │ └── UserService.java │ │ └── concretes │ │ │ └── UserManager.java │ ├── DataAccessObjects │ │ ├── abstracts │ │ │ └── UserDao.java │ │ └── concretes │ │ │ └── HibernateUserDao.java │ └── Main.java ├── out │ └── production │ │ └── javaDemo │ │ ├── Main.class │ │ ├── Core │ │ ├── Regex │ │ │ └── MailRegex.class │ │ ├── Validate │ │ │ ├── MailValidation.class │ │ │ └── ValidationService.class │ │ ├── Adapters │ │ │ ├── GoogleRegisterAdapter.class │ │ │ └── ThirdPartyRegisterService.class │ │ └── ThirdPartyRegister │ │ │ └── GoogleAccountRegister.class │ │ ├── Entities │ │ ├── concretes │ │ │ └── User.class │ │ └── abstracts │ │ │ └── Entity.class │ │ ├── Business │ │ ├── abstracts │ │ │ └── UserService.class │ │ └── concretes │ │ │ └── UserManager.class │ │ └── DataAccessObjects │ │ ├── abstracts │ │ └── UserDao.class │ │ └── concretes │ │ └── HibernateUserDao.class ├── OnlineShop.iml └── PROJE-ISTERLERI.md ├── BankApp ├── db.sql ├── .gitignore ├── .idea │ ├── dataSources │ │ └── f2e92a42-3b5c-4be0-a984-7e652424ffa5 │ │ │ └── storage_v2 │ │ │ └── _src_ │ │ │ └── database │ │ │ ├── bank.PAYuAA.meta │ │ │ └── bank.PAYuAA │ │ │ └── schema │ │ │ ├── public.abK9xQ.meta │ │ │ ├── pg_catalog.0S1ZNQ.meta │ │ │ └── information_schema.FNRwLQ.meta │ ├── description.html │ ├── project-template.xml │ ├── encodings.xml │ ├── discord.xml │ ├── sqldialects.xml │ ├── vcs.xml │ ├── .gitignore │ ├── modules.xml │ ├── libraries │ │ └── EasyWSDLLib.xml │ ├── misc.xml │ └── dataSources.xml ├── postgresql-42.2.22.jar ├── src │ ├── Entities │ │ ├── abstracts │ │ │ └── BaseAccount.java │ │ └── concretes │ │ │ └── IndividualAccount.java │ ├── Business │ │ ├── abstracts │ │ │ ├── BankService.java │ │ │ └── BaseAccountService.java │ │ └── concretes │ │ │ ├── AccountManager.java │ │ │ └── BankManager.java │ ├── Core │ │ ├── Adapters │ │ │ ├── MernisV2Adapter.java │ │ │ ├── CustomerCheckService.java │ │ │ └── MernisV1Adapter.java │ │ ├── MernisV1 │ │ │ ├── AUODateTimeConverter.java │ │ │ ├── AUOMarshalGuid.java │ │ │ ├── docs │ │ │ │ ├── Html │ │ │ │ │ ├── AUOKPSPublicSoap_methods.html │ │ │ │ │ ├── AUOKPSPublicSoap12_methods.html │ │ │ │ │ ├── AUOKPSPublicSoap.html │ │ │ │ │ └── AUOKPSPublicSoap12.html │ │ │ │ └── Index.html │ │ │ ├── Metadata.info │ │ │ └── AUOStandardDateTimeConverter.java │ │ └── MernisV2 │ │ │ ├── LUMDateTimeConverter.java │ │ │ ├── LUMMarshalGuid.java │ │ │ ├── docs │ │ │ ├── Html │ │ │ │ ├── LUMKPSPublicV2Soap_methods.html │ │ │ │ ├── LUMKPSPublicV2Soap12_methods.html │ │ │ │ ├── LUMKPSPublicV2Soap.html │ │ │ │ └── LUMKPSPublicV2Soap12.html │ │ │ └── Index.html │ │ │ ├── Metadata.info │ │ │ └── LUMStandardDateTimeConverter.java │ ├── DataAccess │ │ ├── concretes │ │ │ └── DbHelper.java │ │ └── abstracts │ │ │ └── BaseDao.java │ └── Main.java ├── easywsdl │ ├── ExKsoap2-1.0.3.1.jar │ └── ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar ├── BankApp.eml ├── .classpath ├── .project ├── BankApp.userlibraries ├── BankApp.iml └── PROJE-ISTERLERI.md ├── .gitattributes ├── GameStoreManagement ├── src │ ├── Abstracts │ │ ├── Entity.java │ │ ├── PersonCheckService.java │ │ ├── UserService.java │ │ ├── SaleService.java │ │ └── CampaignService.java │ ├── Concretes │ │ ├── FakeValidationManager.java │ │ ├── MernisValidationManager.java │ │ ├── GameSaleManager.java │ │ ├── CampaignManager.java │ │ └── GamerManager.java │ ├── Entities │ │ ├── Game.java │ │ ├── Campaign.java │ │ └── Gamer.java │ ├── Core │ │ └── MernisServiceReference │ │ │ ├── CTPDateTimeConverter.java │ │ │ ├── CTPMarshalGuid.java │ │ │ ├── docs │ │ │ └── Html │ │ │ │ ├── CTPKPSPublicSoap_methods.html │ │ │ │ ├── CTPKPSPublicSoap12_methods.html │ │ │ │ ├── CTPKPSPublicSoap.html │ │ │ │ └── CTPKPSPublicSoap12.html │ │ │ ├── Metadata.info │ │ │ └── CTPStandardDateTimeConverter.java │ └── Main.java ├── .idea │ ├── description.html │ ├── project-template.xml │ ├── encodings.xml │ ├── discord.xml │ ├── vcs.xml │ ├── .gitignore │ ├── modules.xml │ ├── libraries │ │ └── EasyWSDLLib.xml │ └── misc.xml ├── easywsdl │ ├── ExKsoap2-1.0.3.1.jar │ └── ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar ├── out │ └── production │ │ └── GameStoreManagement │ │ ├── Main.class │ │ ├── Entities │ │ ├── Game.class │ │ ├── Gamer.class │ │ └── Campaign.class │ │ ├── Abstracts │ │ ├── Entity.class │ │ ├── SaleService.class │ │ ├── UserService.class │ │ ├── CampaignService.class │ │ └── PersonCheckService.class │ │ ├── Concretes │ │ ├── GamerManager.class │ │ ├── CampaignManager.class │ │ ├── GameSaleManager.class │ │ ├── FakeValidationManager.class │ │ └── MernisValidationManager.class │ │ └── Core │ │ └── MernisServiceReference │ │ ├── CTPHelper.class │ │ ├── CTPMarshalGuid.class │ │ ├── CTPKPSPublicSoap.class │ │ ├── CTPKPSPublicSoap$1.class │ │ ├── CTPKPSPublicSoap12.class │ │ ├── CTPDateTimeConverter.class │ │ ├── CTPKPSPublicSoap12$1.class │ │ ├── CTPStandardDateTimeConverter.class │ │ ├── CTPKPSPublicSoap$CTPIWcfMethod.class │ │ ├── CTPKPSPublicSoap12$CTPIWcfMethod.class │ │ ├── CTPExtendedSoapSerializationEnvelope.class │ │ ├── docs │ │ └── Html │ │ │ ├── CTPKPSPublicSoap_methods.html │ │ │ ├── CTPKPSPublicSoap12_methods.html │ │ │ ├── CTPKPSPublicSoap.html │ │ │ └── CTPKPSPublicSoap12.html │ │ └── Metadata.info ├── GameStoreManagement.iml └── PROJE-ISTERLERİ.md ├── CoffeeShop ├── src │ ├── Entites │ │ ├── abstracts │ │ │ └── Entity.java │ │ └── concretes │ │ │ └── Customer.java │ ├── Business │ │ ├── abstracts │ │ │ ├── SaleService.java │ │ │ ├── CustomerService.java │ │ │ ├── CustomerCheckService.java │ │ │ └── BaseCustomerManager.java │ │ └── concretes │ │ │ ├── NeroCustomerManager.java │ │ │ ├── FakeCheckService.java │ │ │ ├── MernisCheckService.java │ │ │ └── StarbucksCustomerManager.java │ ├── MernisService │ │ ├── EAEDateTimeConverter.java │ │ ├── EAEMarshalGuid.java │ │ ├── docs │ │ │ ├── Html │ │ │ │ ├── EAEKPSPublicSoap_methods.html │ │ │ │ ├── EAEKPSPublicSoap12_methods.html │ │ │ │ ├── EAEKPSPublicSoap.html │ │ │ │ └── EAEKPSPublicSoap12.html │ │ │ └── Index.html │ │ ├── Metadata.info │ │ └── EAEStandardDateTimeConverter.java │ └── Main.java ├── .idea │ ├── description.html │ ├── project-template.xml │ ├── encodings.xml │ ├── discord.xml │ ├── vcs.xml │ ├── .gitignore │ ├── modules.xml │ ├── libraries │ │ └── EasyWSDLLib.xml │ └── misc.xml ├── easywsdl │ ├── ExKsoap2-1.0.3.1.jar │ └── ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar ├── out │ └── production │ │ └── CoffeeShop │ │ ├── Main.class │ │ ├── Entites │ │ ├── abstracts │ │ │ └── Entity.class │ │ └── concretes │ │ │ └── Customer.class │ │ ├── MernisService │ │ ├── EAEHelper.class │ │ ├── EAEKPSPublicSoap.class │ │ ├── EAEMarshalGuid.class │ │ ├── EAEKPSPublicSoap$1.class │ │ ├── EAEKPSPublicSoap12.class │ │ ├── EAEDateTimeConverter.class │ │ ├── EAEKPSPublicSoap12$1.class │ │ ├── EAEStandardDateTimeConverter.class │ │ ├── EAEKPSPublicSoap$EAEIWcfMethod.class │ │ ├── EAEKPSPublicSoap12$EAEIWcfMethod.class │ │ ├── EAEExtendedSoapSerializationEnvelope.class │ │ ├── docs │ │ │ └── Html │ │ │ │ ├── EAEKPSPublicSoap_methods.html │ │ │ │ ├── EAEKPSPublicSoap12_methods.html │ │ │ │ ├── EAEKPSPublicSoap.html │ │ │ │ └── EAEKPSPublicSoap12.html │ │ └── Metadata.info │ │ └── Business │ │ ├── abstracts │ │ ├── SaleService.class │ │ ├── CustomerService.class │ │ ├── BaseCustomerManager.class │ │ └── CustomerCheckService.class │ │ └── concretes │ │ ├── FakeCheckService.class │ │ ├── MernisCheckService.class │ │ ├── NeroCustomerManager.class │ │ └── StarbucksCustomerManager.class ├── CoffeeShop.iml └── PROJE-ISTERLERI.md ├── Northwind ├── .mvn │ └── wrapper │ │ ├── maven-wrapper.jar │ │ └── maven-wrapper.properties ├── src │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── hasancanozbek │ │ │ │ └── Northwind │ │ │ │ ├── Business │ │ │ │ ├── abstracts │ │ │ │ │ └── ProductService.java │ │ │ │ └── concretes │ │ │ │ │ └── ProductManager.java │ │ │ │ ├── NorthwindApplication.java │ │ │ │ ├── DataAccess │ │ │ │ └── abstracts │ │ │ │ │ └── ProductDao.java │ │ │ │ ├── Entities │ │ │ │ └── concretes │ │ │ │ │ └── Product.java │ │ │ │ └── Api │ │ │ │ └── controllers │ │ │ │ └── ProductsController.java │ │ └── resources │ │ │ └── application.properties │ └── test │ │ └── java │ │ └── com │ │ └── hasancanozbek │ │ └── Northwind │ │ └── NorthwindApplicationTests.java ├── .gitignore ├── For-Database-Configration.txt └── pom.xml ├── LICENSE └── README.md /OnlineShop/.idea/.name: -------------------------------------------------------------------------------- 1 | OnlineShop -------------------------------------------------------------------------------- /BankApp/db.sql: -------------------------------------------------------------------------------- 1 | select * from individual_accounts -------------------------------------------------------------------------------- /BankApp/.gitignore: -------------------------------------------------------------------------------- 1 | # Project exclude paths 2 | /out/ -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /BankApp/.idea/dataSources/f2e92a42-3b5c-4be0-a984-7e652424ffa5/storage_v2/_src_/database/bank.PAYuAA.meta: -------------------------------------------------------------------------------- 1 | #n:bank -------------------------------------------------------------------------------- /GameStoreManagement/src/Abstracts/Entity.java: -------------------------------------------------------------------------------- 1 | package Abstracts; 2 | 3 | public interface Entity { 4 | } 5 | -------------------------------------------------------------------------------- /CoffeeShop/src/Entites/abstracts/Entity.java: -------------------------------------------------------------------------------- 1 | package Entites.abstracts; 2 | 3 | public interface Entity { 4 | } 5 | -------------------------------------------------------------------------------- /OnlineShop/src/Entities/abstracts/Entity.java: -------------------------------------------------------------------------------- 1 | package Entities.abstracts; 2 | 3 | public interface Entity { 4 | } 5 | -------------------------------------------------------------------------------- /BankApp/.idea/description.html: -------------------------------------------------------------------------------- 1 | Simple Java application that includes a class with main() method -------------------------------------------------------------------------------- /BankApp/postgresql-42.2.22.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/BankApp/postgresql-42.2.22.jar -------------------------------------------------------------------------------- /BankApp/src/Entities/abstracts/BaseAccount.java: -------------------------------------------------------------------------------- 1 | package Entities.abstracts; 2 | 3 | public interface BaseAccount { 4 | } 5 | -------------------------------------------------------------------------------- /BankApp/.idea/project-template.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CoffeeShop/.idea/description.html: -------------------------------------------------------------------------------- 1 | Simple Java application that includes a class with main() method -------------------------------------------------------------------------------- /OnlineShop/.idea/description.html: -------------------------------------------------------------------------------- 1 | Simple Java application that includes a class with main() method -------------------------------------------------------------------------------- /CoffeeShop/.idea/project-template.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OnlineShop/.idea/project-template.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /BankApp/easywsdl/ExKsoap2-1.0.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/BankApp/easywsdl/ExKsoap2-1.0.3.1.jar -------------------------------------------------------------------------------- /GameStoreManagement/.idea/description.html: -------------------------------------------------------------------------------- 1 | Simple Java application that includes a class with main() method -------------------------------------------------------------------------------- /GameStoreManagement/.idea/project-template.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CoffeeShop/easywsdl/ExKsoap2-1.0.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/easywsdl/ExKsoap2-1.0.3.1.jar -------------------------------------------------------------------------------- /Northwind/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/Northwind/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Main.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Main.class -------------------------------------------------------------------------------- /GameStoreManagement/easywsdl/ExKsoap2-1.0.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/easywsdl/ExKsoap2-1.0.3.1.jar -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Core/Regex/MailRegex.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Core/Regex/MailRegex.class -------------------------------------------------------------------------------- /BankApp/.idea/dataSources/f2e92a42-3b5c-4be0-a984-7e652424ffa5/storage_v2/_src_/database/bank.PAYuAA/schema/public.abK9xQ.meta: -------------------------------------------------------------------------------- 1 | #n:public 2 | ! [582, 0, null, null, -2147483648, -2147483648] 3 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Main.class -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Entities/concretes/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Entities/concretes/User.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Entites/abstracts/Entity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Entites/abstracts/Entity.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEHelper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEHelper.class -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Entities/abstracts/Entity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Entities/abstracts/Entity.class -------------------------------------------------------------------------------- /BankApp/.idea/dataSources/f2e92a42-3b5c-4be0-a984-7e652424ffa5/storage_v2/_src_/database/bank.PAYuAA/schema/pg_catalog.0S1ZNQ.meta: -------------------------------------------------------------------------------- 1 | #n:pg_catalog 2 | ! [null, 0, null, null, -2147483648, -2147483648] 3 | -------------------------------------------------------------------------------- /BankApp/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Entites/concretes/Customer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Entites/concretes/Customer.class -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Core/Validate/MailValidation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Core/Validate/MailValidation.class -------------------------------------------------------------------------------- /BankApp/easywsdl/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/BankApp/easywsdl/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar -------------------------------------------------------------------------------- /CoffeeShop/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Business/abstracts/SaleService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Business/abstracts/SaleService.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEMarshalGuid.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEMarshalGuid.class -------------------------------------------------------------------------------- /OnlineShop/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Business/abstracts/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Business/abstracts/UserService.class -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Business/concretes/UserManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Business/concretes/UserManager.class -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Core/Validate/ValidationService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Core/Validate/ValidationService.class -------------------------------------------------------------------------------- /BankApp/.idea/discord.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /CoffeeShop/easywsdl/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/easywsdl/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap$1.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap12.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap12.class -------------------------------------------------------------------------------- /CoffeeShop/src/Business/abstracts/SaleService.java: -------------------------------------------------------------------------------- 1 | package Business.abstracts; 2 | 3 | import Entites.concretes.Customer; 4 | 5 | public interface SaleService { 6 | void saleCoffee(Customer customer); 7 | } 8 | -------------------------------------------------------------------------------- /GameStoreManagement/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Entities/Game.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Entities/Game.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Entities/Gamer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Entities/Gamer.class -------------------------------------------------------------------------------- /BankApp/.idea/dataSources/f2e92a42-3b5c-4be0-a984-7e652424ffa5/storage_v2/_src_/database/bank.PAYuAA/schema/information_schema.FNRwLQ.meta: -------------------------------------------------------------------------------- 1 | #n:information_schema 2 | ! [null, 0, null, null, -2147483648, -2147483648] 3 | -------------------------------------------------------------------------------- /BankApp/.idea/sqldialects.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CoffeeShop/.idea/discord.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Business/abstracts/CustomerService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Business/abstracts/CustomerService.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Business/concretes/FakeCheckService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Business/concretes/FakeCheckService.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEDateTimeConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEDateTimeConverter.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap12$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap12$1.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Abstracts/Entity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Abstracts/Entity.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Entities/Campaign.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Entities/Campaign.class -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Core/Adapters/GoogleRegisterAdapter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Core/Adapters/GoogleRegisterAdapter.class -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/DataAccessObjects/abstracts/UserDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/DataAccessObjects/abstracts/UserDao.class -------------------------------------------------------------------------------- /BankApp/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CoffeeShop/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Business/concretes/MernisCheckService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Business/concretes/MernisCheckService.class -------------------------------------------------------------------------------- /OnlineShop/.idea/copyright/Hasan_Can_Özbek.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Core/Adapters/ThirdPartyRegisterService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Core/Adapters/ThirdPartyRegisterService.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Business/abstracts/BaseCustomerManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Business/abstracts/BaseCustomerManager.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Business/abstracts/CustomerCheckService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Business/abstracts/CustomerCheckService.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Business/concretes/NeroCustomerManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Business/concretes/NeroCustomerManager.class -------------------------------------------------------------------------------- /CoffeeShop/src/Business/concretes/NeroCustomerManager.java: -------------------------------------------------------------------------------- 1 | package Business.concretes; 2 | 3 | import Business.abstracts.BaseCustomerManager; 4 | 5 | public class NeroCustomerManager extends BaseCustomerManager { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /GameStoreManagement/.idea/discord.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Abstracts/SaleService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Abstracts/SaleService.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Abstracts/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Abstracts/UserService.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Concretes/GamerManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Concretes/GamerManager.class -------------------------------------------------------------------------------- /CoffeeShop/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEStandardDateTimeConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEStandardDateTimeConverter.class -------------------------------------------------------------------------------- /CoffeeShop/src/Business/abstracts/CustomerService.java: -------------------------------------------------------------------------------- 1 | package Business.abstracts; 2 | 3 | import Entites.concretes.Customer; 4 | 5 | public interface CustomerService { 6 | 7 | void save(Customer customer); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /GameStoreManagement/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /GameStoreManagement/easywsdl/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/easywsdl/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar -------------------------------------------------------------------------------- /OnlineShop/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/DataAccessObjects/concretes/HibernateUserDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/DataAccessObjects/concretes/HibernateUserDao.class -------------------------------------------------------------------------------- /OnlineShop/src/Core/Adapters/ThirdPartyRegisterService.java: -------------------------------------------------------------------------------- 1 | package Core.Adapters; 2 | 3 | import Entities.concretes.User; 4 | 5 | public interface ThirdPartyRegisterService { 6 | void registerWithThirdPartyApp(User user); 7 | } 8 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/Business/concretes/StarbucksCustomerManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/Business/concretes/StarbucksCustomerManager.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap$EAEIWcfMethod.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap$EAEIWcfMethod.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Abstracts/CampaignService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Abstracts/CampaignService.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Concretes/CampaignManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Concretes/CampaignManager.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Concretes/GameSaleManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Concretes/GameSaleManager.class -------------------------------------------------------------------------------- /GameStoreManagement/src/Abstracts/PersonCheckService.java: -------------------------------------------------------------------------------- 1 | package Abstracts; 2 | 3 | import Entities.Gamer; 4 | 5 | public interface PersonCheckService { 6 | 7 | boolean realPerson(Gamer gamer) throws Exception; 8 | 9 | } 10 | -------------------------------------------------------------------------------- /OnlineShop/out/production/javaDemo/Core/ThirdPartyRegister/GoogleAccountRegister.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/OnlineShop/out/production/javaDemo/Core/ThirdPartyRegister/GoogleAccountRegister.class -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap12$EAEIWcfMethod.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEKPSPublicSoap12$EAEIWcfMethod.class -------------------------------------------------------------------------------- /GameStoreManagement/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Abstracts/PersonCheckService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Abstracts/PersonCheckService.class -------------------------------------------------------------------------------- /OnlineShop/src/Core/ThirdPartyRegister/GoogleAccountRegister.java: -------------------------------------------------------------------------------- 1 | package Core.ThirdPartyRegister; 2 | 3 | public class GoogleAccountRegister { 4 | public void googleAccountRegister(){ 5 | System.out.println("-"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/EAEExtendedSoapSerializationEnvelope.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/CoffeeShop/out/production/CoffeeShop/MernisService/EAEExtendedSoapSerializationEnvelope.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Concretes/FakeValidationManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Concretes/FakeValidationManager.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Concretes/MernisValidationManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Concretes/MernisValidationManager.class -------------------------------------------------------------------------------- /OnlineShop/src/Core/Validate/ValidationService.java: -------------------------------------------------------------------------------- 1 | package Core.Validate; 2 | 3 | public interface ValidationService { 4 | public String sendValidationCode(String email); 5 | 6 | public boolean mailValidation(String activationCode); 7 | } 8 | 9 | -------------------------------------------------------------------------------- /CoffeeShop/src/Business/abstracts/CustomerCheckService.java: -------------------------------------------------------------------------------- 1 | package Business.abstracts; 2 | 3 | import Entites.concretes.Customer; 4 | 5 | public interface CustomerCheckService { 6 | 7 | boolean isRealPerson(Customer customer) throws Exception; 8 | } 9 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPHelper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPHelper.class -------------------------------------------------------------------------------- /OnlineShop/.idea/discord.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPMarshalGuid.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPMarshalGuid.class -------------------------------------------------------------------------------- /Northwind/.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 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap$1.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap12.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap12.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPDateTimeConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPDateTimeConverter.class -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap12$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap12$1.class -------------------------------------------------------------------------------- /BankApp/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /../../../../../:\IntelliJ Idea\JavaProjeleri\BankApp\.idea/dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPStandardDateTimeConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPStandardDateTimeConverter.class -------------------------------------------------------------------------------- /BankApp/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap$CTPIWcfMethod.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap$CTPIWcfMethod.class -------------------------------------------------------------------------------- /GameStoreManagement/src/Abstracts/UserService.java: -------------------------------------------------------------------------------- 1 | package Abstracts; 2 | 3 | import Entities.Gamer; 4 | 5 | public interface UserService { 6 | 7 | void add(Gamer gamer); 8 | 9 | void delete(Gamer gamer); 10 | 11 | void update(Gamer gamer, String name, String surname); 12 | } 13 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap12$CTPIWcfMethod.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPKPSPublicSoap12$CTPIWcfMethod.class -------------------------------------------------------------------------------- /CoffeeShop/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPExtendedSoapSerializationEnvelope.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hasancanozbek/Java-OOP-Projects/HEAD/GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/CTPExtendedSoapSerializationEnvelope.class -------------------------------------------------------------------------------- /OnlineShop/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /OnlineShop/src/Business/abstracts/UserService.java: -------------------------------------------------------------------------------- 1 | package Business.abstracts; 2 | 3 | import Entities.concretes.User; 4 | 5 | public interface UserService { 6 | void register(User user); 7 | 8 | void registerWithThirdParty(User user); 9 | 10 | void login(String email, String password); 11 | } 12 | -------------------------------------------------------------------------------- /GameStoreManagement/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Abstracts/SaleService.java: -------------------------------------------------------------------------------- 1 | package Abstracts; 2 | 3 | import Entities.Campaign; 4 | import Entities.Game; 5 | import Entities.Gamer; 6 | 7 | public interface SaleService { 8 | 9 | void sale(Gamer gamer, Game game); 10 | 11 | void bargainSale(Gamer gamer, Game game,Campaign campaign); 12 | 13 | } 14 | -------------------------------------------------------------------------------- /Northwind/src/main/java/com/hasancanozbek/Northwind/Business/abstracts/ProductService.java: -------------------------------------------------------------------------------- 1 | package com.hasancanozbek.Northwind.Business.abstracts; 2 | 3 | import com.hasancanozbek.Northwind.Entities.concretes.Product; 4 | 5 | import java.util.List; 6 | 7 | public interface ProductService { 8 | 9 | List gelAll(); 10 | } 11 | -------------------------------------------------------------------------------- /BankApp/BankApp.eml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /BankApp/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Northwind/src/test/java/com/hasancanozbek/Northwind/NorthwindApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.hasancanozbek.Northwind; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class NorthwindApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /CoffeeShop/src/Business/concretes/FakeCheckService.java: -------------------------------------------------------------------------------- 1 | package Business.concretes; 2 | 3 | import Business.abstracts.CustomerCheckService; 4 | import Entites.concretes.Customer; 5 | 6 | public class FakeCheckService implements CustomerCheckService { 7 | 8 | @Override 9 | public boolean isRealPerson(Customer customer) { 10 | return true; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Abstracts/CampaignService.java: -------------------------------------------------------------------------------- 1 | package Abstracts; 2 | 3 | import Entities.Campaign; 4 | import Entities.Game; 5 | 6 | public interface CampaignService { 7 | void addCampaign(Campaign campaign, Game game); 8 | 9 | void deleteCampaign(Campaign campaign); 10 | 11 | void updateCampaign(Campaign campaign, Game game, int newDiscount); 12 | } 13 | -------------------------------------------------------------------------------- /CoffeeShop/.idea/libraries/EasyWSDLLib.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /BankApp/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | BankApp 4 | 5 | 6 | 7 | 8 | org.eclipse.jdt.core.javabuilder 9 | 10 | 11 | 12 | 13 | org.eclipse.jdt.core.javanature 14 | 15 | 16 | -------------------------------------------------------------------------------- /GameStoreManagement/.idea/libraries/EasyWSDLLib.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Concretes/FakeValidationManager.java: -------------------------------------------------------------------------------- 1 | package Concretes; 2 | 3 | import Abstracts.PersonCheckService; 4 | import Entities.Gamer; 5 | 6 | public class FakeValidationManager implements PersonCheckService { 7 | @Override 8 | public boolean realPerson(Gamer gamer) { 9 | System.out.println("Fake service runned. Person verified."); 10 | return true; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Northwind/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect 2 | spring.jpa.hibernate.ddl-auto=update 3 | spring.jpa.hibernate.show-sql=true 4 | spring.datasource.url=jdbc:postgresql://localhost:5432/northwind 5 | spring.datasource.username=postgres 6 | spring.datasource.password=123456 7 | spring.jpa.properties.javax.persistence.validation.mode = none 8 | -------------------------------------------------------------------------------- /CoffeeShop/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /OnlineShop/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /OnlineShop/src/DataAccessObjects/abstracts/UserDao.java: -------------------------------------------------------------------------------- 1 | package DataAccessObjects.abstracts; 2 | 3 | import Entities.concretes.User; 4 | 5 | import java.util.ArrayList; 6 | import java.util.List; 7 | 8 | public interface UserDao { 9 | List users = new ArrayList<>(); 10 | 11 | void addToDb(User user); 12 | 13 | List getUsers(); 14 | 15 | User getUser(int index); 16 | 17 | void loginRequest(); 18 | } 19 | -------------------------------------------------------------------------------- /OnlineShop/src/Core/Regex/MailRegex.java: -------------------------------------------------------------------------------- 1 | package Core.Regex; 2 | 3 | import java.util.regex.Matcher; 4 | import java.util.regex.Pattern; 5 | 6 | public class MailRegex { 7 | public static boolean ifValidMail(String email){ 8 | Pattern pattern = Pattern.compile("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,6}$",Pattern.CASE_INSENSITIVE); 9 | Matcher matcher = pattern.matcher(email); 10 | return matcher.find(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Northwind/src/main/java/com/hasancanozbek/Northwind/NorthwindApplication.java: -------------------------------------------------------------------------------- 1 | package com.hasancanozbek.Northwind; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class NorthwindApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(NorthwindApplication.class, args); 11 | } 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /BankApp/.idea/libraries/EasyWSDLLib.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /BankApp/BankApp.userlibraries: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /BankApp/BankApp.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /BankApp/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /CoffeeShop/CoffeeShop.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OnlineShop/OnlineShop.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /GameStoreManagement/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Northwind/.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 | -------------------------------------------------------------------------------- /OnlineShop/src/Core/Adapters/GoogleRegisterAdapter.java: -------------------------------------------------------------------------------- 1 | package Core.Adapters; 2 | 3 | import Core.ThirdPartyRegister.GoogleAccountRegister; 4 | import Entities.concretes.User; 5 | 6 | public class GoogleRegisterAdapter implements ThirdPartyRegisterService{ 7 | @Override 8 | public void registerWithThirdPartyApp(User user) { 9 | GoogleAccountRegister googleAccountRegister = new GoogleAccountRegister(); 10 | googleAccountRegister.googleAccountRegister(); 11 | System.out.println("Google hesabınız ile giriş yaptınız."); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /GameStoreManagement/GameStoreManagement.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /BankApp/src/Business/abstracts/BankService.java: -------------------------------------------------------------------------------- 1 | package Business.abstracts; 2 | 3 | import Entities.concretes.IndividualAccount; 4 | 5 | import java.sql.SQLException; 6 | 7 | public interface BankService { 8 | //Banka hizmetleri servisi için kullandığım interface. 9 | 10 | void deposit(IndividualAccount individualAccount, int amount) throws SQLException; 11 | 12 | void withdraw(IndividualAccount individualAccount, int amount) throws SQLException; 13 | 14 | void eft(IndividualAccount individualAccount, int amount,String iban) throws SQLException; 15 | } 16 | -------------------------------------------------------------------------------- /CoffeeShop/src/Business/abstracts/BaseCustomerManager.java: -------------------------------------------------------------------------------- 1 | package Business.abstracts; 2 | 3 | import Entites.concretes.Customer; 4 | 5 | public abstract class BaseCustomerManager implements CustomerService, SaleService{ 6 | 7 | @Override 8 | public void save(Customer customer) { 9 | System.out.println("Saved to DB : "+customer.getFirstName()+" "+customer.getLastName()); 10 | } 11 | 12 | @Override 13 | public void saleCoffee(Customer customer) { 14 | System.out.println("Thank you for choosing us " + customer.getFirstName()); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /OnlineShop/.idea/libraries/EasyWSDLLib.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /BankApp/.idea/dataSources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | postgresql 6 | true 7 | org.postgresql.Driver 8 | jdbc:postgresql://localhost:5432/bank 9 | $ProjectFileDir$ 10 | 11 | 12 | -------------------------------------------------------------------------------- /BankApp/src/Core/Adapters/MernisV2Adapter.java: -------------------------------------------------------------------------------- 1 | package Core.Adapters; 2 | 3 | import Entities.concretes.IndividualAccount; 4 | 5 | public class MernisV2Adapter implements CustomerCheckService{ 6 | /* 7 | MernisV1 sistemi hizmet vermemeye başladığı zaman yedek olarak bir fake servis yazdım. 8 | Bu servis tüm kullanıcıları gerçek kabul ederek db'ye kaydediyor. Konfigrasyon tarafında ister fake servisi, 9 | ister gerçek MERNİS servisini kullanabiliriz. 10 | */ 11 | @Override 12 | public boolean isRealPerson(IndividualAccount individualAccount) { 13 | return true; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Entities/Game.java: -------------------------------------------------------------------------------- 1 | package Entities; 2 | 3 | public class Game { 4 | 5 | private String name; 6 | private double price; 7 | 8 | public Game(){} 9 | 10 | public Game(String name, double price){ 11 | this.name = name; 12 | this.price = price; 13 | } 14 | 15 | public double getPrice() { 16 | return price; 17 | } 18 | 19 | public String getName() { 20 | return name; 21 | } 22 | 23 | public void setName(String name) { 24 | this.name = name; 25 | } 26 | 27 | public void setPrice(double price) { 28 | this.price = price; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Entities/Campaign.java: -------------------------------------------------------------------------------- 1 | package Entities; 2 | 3 | public class Campaign { 4 | 5 | private String name; 6 | private int discount; 7 | 8 | public Campaign() { 9 | } 10 | 11 | public Campaign(String name, int discount) { 12 | this.name = name; 13 | this.discount = discount; 14 | } 15 | 16 | public String getName() { 17 | return name; 18 | } 19 | 20 | public void setName(String name) { 21 | this.name = name; 22 | } 23 | 24 | public int getDiscount() { 25 | return discount; 26 | } 27 | 28 | public void setDiscount(int discount) { 29 | this.discount = discount; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Concretes/MernisValidationManager.java: -------------------------------------------------------------------------------- 1 | package Concretes; 2 | 3 | import Abstracts.PersonCheckService; 4 | import Core.MernisServiceReference.CTPKPSPublicSoap; 5 | import Entities.Gamer; 6 | 7 | import java.util.Locale; 8 | 9 | public class MernisValidationManager implements PersonCheckService { 10 | 11 | @Override 12 | public boolean realPerson(Gamer gamer) throws Exception { 13 | CTPKPSPublicSoap mernisService = new CTPKPSPublicSoap(); 14 | return mernisService.TCKimlikNoDogrula(Long.valueOf(gamer.getNationalityId()),gamer.getFirstName().toUpperCase(new Locale("tr")),gamer.getLastName().toUpperCase(new Locale("tr")),gamer.getBirthOfYear()); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /CoffeeShop/src/Business/concretes/MernisCheckService.java: -------------------------------------------------------------------------------- 1 | package Business.concretes; 2 | 3 | import Business.abstracts.CustomerCheckService; 4 | import Entites.concretes.Customer; 5 | import MernisService.EAEKPSPublicSoap; 6 | 7 | import java.util.Locale; 8 | 9 | public class MernisCheckService implements CustomerCheckService { 10 | 11 | @Override 12 | public boolean isRealPerson(Customer customer) throws Exception { 13 | EAEKPSPublicSoap mernis = new EAEKPSPublicSoap(); 14 | return mernis.TCKimlikNoDogrula(Long.parseLong(customer.getNationalityId()), customer.getFirstName().toUpperCase(new Locale("tr")), customer.getLastName().toUpperCase(new Locale("tr")), customer.getBirthOfDate()); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Concretes/GameSaleManager.java: -------------------------------------------------------------------------------- 1 | package Concretes; 2 | 3 | import Abstracts.SaleService; 4 | import Entities.Campaign; 5 | import Entities.Game; 6 | import Entities.Gamer; 7 | 8 | public class GameSaleManager implements SaleService { 9 | 10 | @Override 11 | public void sale(Gamer gamer, Game game) { 12 | System.out.println(game.getName() + " sold to " + gamer.getFirstName()+" "+gamer.getLastName()); 13 | } 14 | 15 | @Override 16 | public void bargainSale(Gamer gamer, Game game, Campaign campaign) { 17 | System.out.println(game.getName() + " sold to " + gamer.getFirstName()+" "+gamer.getLastName()+" for "+game.getPrice()+"$ (-%"+campaign.getDiscount()+")"); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /BankApp/src/Business/abstracts/BaseAccountService.java: -------------------------------------------------------------------------------- 1 | package Business.abstracts; 2 | 3 | import Entities.concretes.IndividualAccount; 4 | 5 | import java.sql.SQLException; 6 | 7 | public interface BaseAccountService { 8 | /* 9 | Her classın bir base interface'i olmalı. Bu bağımlılığı ve kodun genişletilebilirliğini sağlamak için gerekli bir adım. 10 | Hesap işlemleri için base servisimiz 'BaseAccountService'. 11 | */ 12 | 13 | void addAccount(IndividualAccount individualAccount) throws Exception; 14 | void updateAccount(IndividualAccount individualAccount,String nameUpdate, String surnameUpdate) throws SQLException; 15 | void deleteAccount(IndividualAccount individualAccount) throws SQLException; 16 | void getAllAccounts() throws SQLException; 17 | } 18 | -------------------------------------------------------------------------------- /BankApp/src/Core/Adapters/CustomerCheckService.java: -------------------------------------------------------------------------------- 1 | package Core.Adapters; 2 | 3 | import Entities.concretes.IndividualAccount; 4 | 5 | public interface CustomerCheckService { 6 | /* 7 | Bu servis ana kimlik doğrulama servisi. İleride mernis ile çalışmayı bırakıp başka bir sevisle (örneğin mernisV2 extra 8 | olarak seri numarası, doğum yeri gibi bilgiler istiyor. Bu yazılımda iki sistem de entegre edildi.) 9 | çalışmaya başladığımızda tüm kodları o servise göre düzenlememiz gerekecekti. Ancak bu interface sayesinde tüm 10 | doğrulama servislerinin referansını tek bir yerde tutup, katmanlar arasındaki iletişimi bu ana servis üzerinden 11 | gerçekleştiriyoruz. 12 | */ 13 | 14 | boolean isRealPerson(IndividualAccount individualAccount) throws Exception; 15 | } 16 | -------------------------------------------------------------------------------- /OnlineShop/src/Main.java: -------------------------------------------------------------------------------- 1 | import Business.abstracts.UserService; 2 | import Business.concretes.UserManager; 3 | import Core.Adapters.GoogleRegisterAdapter; 4 | import Core.Validate.MailValidation; 5 | import DataAccessObjects.concretes.HibernateUserDao; 6 | import Entities.concretes.User; 7 | 8 | public class Main { 9 | 10 | public static void main(String[] args) throws Exception { 11 | 12 | UserService userService = new UserManager(new HibernateUserDao(), new MailValidation(), new GoogleRegisterAdapter()); 13 | User user = new User("Hasan Can", "Özbek", "hasancanozbek@gmail.com", "123132"); 14 | userService.register(user); 15 | userService.login("hasancanozbek@gmail.com", "123132"); 16 | userService.registerWithThirdParty(user); 17 | } 18 | } 19 | 20 | 21 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV1/AUODateTimeConverter.java: -------------------------------------------------------------------------------- 1 | package Core.MernisV1; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | import java.util.Date; 13 | 14 | 15 | public interface AUODateTimeConverter 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 | } -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV2/LUMDateTimeConverter.java: -------------------------------------------------------------------------------- 1 | package Core.MernisV2; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | import java.util.Date; 13 | 14 | 15 | public interface LUMDateTimeConverter 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 | } -------------------------------------------------------------------------------- /CoffeeShop/src/MernisService/EAEDateTimeConverter.java: -------------------------------------------------------------------------------- 1 | package MernisService; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | import java.util.Date; 13 | 14 | 15 | public interface EAEDateTimeConverter 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 | } -------------------------------------------------------------------------------- /GameStoreManagement/src/Core/MernisServiceReference/CTPDateTimeConverter.java: -------------------------------------------------------------------------------- 1 | package Core.MernisServiceReference; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | import java.util.Date; 13 | 14 | 15 | public interface CTPDateTimeConverter 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 | } -------------------------------------------------------------------------------- /OnlineShop/src/DataAccessObjects/concretes/HibernateUserDao.java: -------------------------------------------------------------------------------- 1 | package DataAccessObjects.concretes; 2 | 3 | import DataAccessObjects.abstracts.UserDao; 4 | import Entities.concretes.User; 5 | 6 | import java.util.List; 7 | 8 | public class HibernateUserDao implements UserDao { 9 | 10 | @Override 11 | public void addToDb(User user) { 12 | users.add(user); 13 | System.out.println("Kullanıcı Hibernate ile veritabanına eklendi : " + user.getFirstName() + " " + user.getLastName()); 14 | } 15 | 16 | @Override 17 | public List getUsers() { 18 | return users; 19 | } 20 | 21 | @Override 22 | public User getUser(int index) { 23 | return users.get(index); 24 | } 25 | 26 | @Override 27 | public void loginRequest() { 28 | System.out.println("Başarıyla giriş yapıldı."); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /OnlineShop/src/Core/Validate/MailValidation.java: -------------------------------------------------------------------------------- 1 | package Core.Validate; 2 | 3 | import java.util.Scanner; 4 | 5 | public class MailValidation implements ValidationService { 6 | 7 | Scanner scanner = new Scanner(System.in); 8 | @Override 9 | public String sendValidationCode(String email) { 10 | System.out.println(email + " adresine doğrulama linki gönderildi."); 11 | System.out.print("Lütfen doğrulama kodunu girin : "); 12 | String activationCode = scanner.nextLine(); 13 | return activationCode; 14 | } 15 | 16 | @Override 17 | public boolean mailValidation(String activationCode) { 18 | if (activationCode.equals("123")) { 19 | System.out.println("Mail adresiniz doğrulandı."); 20 | return true; 21 | } 22 | System.out.println("Mail adresiniz doğrulanamadı!"); 23 | return false; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Northwind/src/main/java/com/hasancanozbek/Northwind/DataAccess/abstracts/ProductDao.java: -------------------------------------------------------------------------------- 1 | package com.hasancanozbek.Northwind.DataAccess.abstracts; 2 | 3 | import com.hasancanozbek.Northwind.Entities.concretes.Product; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | 6 | public interface ProductDao extends JpaRepository { 7 | /* 8 | Entities katmanında @Entity anotasyonu ile belirttiğimiz class'ı buraya ekliyoruz. Bu sayede Spring, Jpa'yı kullanarak 9 | bizim için CRUD operasyonlarını yazmış oluyor. Bu yapıyı kullanmasaydık BankApp projesinde yaptığımız gibi tek tek elle 10 | insert, update ve delete operasyonlarını sql kullnarak eklememiz gerekecekti. Integer olarak belirttiğimiz kısım ise 11 | Entity objemizin primary key'inin hangi tür olduğu. (Birden çok özellik tutucu class olabilirdi, Spring'e hangi nesneyi 12 | database'e ekleyeceğini belirtmemiz gerekiyor. 13 | */ 14 | 15 | } 16 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Concretes/CampaignManager.java: -------------------------------------------------------------------------------- 1 | package Concretes; 2 | 3 | import Abstracts.CampaignService; 4 | import Entities.Campaign; 5 | import Entities.Game; 6 | 7 | public class CampaignManager implements CampaignService { 8 | 9 | @Override 10 | public void addCampaign(Campaign campaign, Game game){ 11 | game.setPrice(game.getPrice()-(game.getPrice()*campaign.getDiscount()/100)); 12 | System.out.println("The campaign has been applied the game"); 13 | } 14 | @Override 15 | public void deleteCampaign(Campaign campaign){ 16 | System.out.println("Campaign has been removed."); 17 | } 18 | @Override 19 | public void updateCampaign(Campaign campaign, Game game, int newDiscount){ 20 | campaign.setDiscount(newDiscount); 21 | game.setPrice(game.getPrice()-(game.getPrice()*campaign.getDiscount()/100)); 22 | System.out.println("Campaign has been updated."); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Northwind/src/main/java/com/hasancanozbek/Northwind/Business/concretes/ProductManager.java: -------------------------------------------------------------------------------- 1 | package com.hasancanozbek.Northwind.Business.concretes; 2 | 3 | import com.hasancanozbek.Northwind.Business.abstracts.ProductService; 4 | import com.hasancanozbek.Northwind.DataAccess.abstracts.ProductDao; 5 | import com.hasancanozbek.Northwind.Entities.concretes.Product; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Service; 8 | 9 | import java.util.List; 10 | 11 | @Service 12 | public class ProductManager implements ProductService { 13 | 14 | private ProductDao productDao; 15 | 16 | @Autowired // Spring bu anotasyonla bizim yerimize constructor injection yapıyor. Bizim extradan class oluşturup new'lememiz gerekmiyor. 17 | public ProductManager(ProductDao productDao) { 18 | this.productDao = productDao; 19 | } 20 | 21 | 22 | @Override 23 | public List gelAll() { 24 | return this.productDao.findAll(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /BankApp/src/DataAccess/concretes/DbHelper.java: -------------------------------------------------------------------------------- 1 | package DataAccess.concretes; 2 | 3 | import java.sql.Connection; 4 | import java.sql.DriverManager; 5 | import java.sql.SQLException; 6 | 7 | public class DbHelper { 8 | 9 | /* 10 | DbHelper veritabanında bağlanmamız için gereken işlemleri yaptığımız class. 11 | Her bağlantıda aşağıdaki kodları tekrar yazmamak için bir class oluşturdum ve gerekli yerlerde newleyip kullandım. 12 | */ 13 | 14 | String dbUserName = "postgres"; 15 | String dbPassword = "123456"; 16 | String dbUrl = "jdbc:postgresql://localhost:5432/bank"; 17 | 18 | public Connection getConnection() throws SQLException { 19 | return DriverManager.getConnection(dbUrl,dbUserName,dbPassword); 20 | } 21 | 22 | public void showErrorMessage(SQLException exception){ 23 | System.out.println("Veritabanına bağlanırken bir sorun oluştu..."); 24 | System.out.println("Hata Mesajı : " + exception.getMessage()); 25 | System.out.println("Hata Kodu : " + exception.getErrorCode()); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Main.java: -------------------------------------------------------------------------------- 1 | import Concretes.*; 2 | import Entities.Campaign; 3 | import Entities.Game; 4 | import Entities.Gamer; 5 | 6 | public class Main { 7 | 8 | public static void main(String[] args) { 9 | 10 | //OBJECTS CREATED 11 | Game game1 = new Game("EU4",100); 12 | Game game2 = new Game("Far Cry 3",50); 13 | 14 | Campaign campaign = new Campaign("Summer Sale",20); 15 | 16 | Gamer gamer = new Gamer("Hasan Can","Özbek","11111111111",2001); 17 | 18 | //--------------------------------------------------------------------------------------------------------\\ 19 | 20 | //TESTS 21 | GameSaleManager saleManager = new GameSaleManager(); 22 | GamerManager gamerManager = new GamerManager(new FakeValidationManager()); 23 | CampaignManager campaignManager = new CampaignManager(); 24 | 25 | campaignManager.addCampaign(campaign,game1); 26 | gamerManager.add(gamer); 27 | saleManager.sale(gamer,game2); 28 | saleManager.bargainSale(gamer,game1,campaign); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Hasan Can Özbek 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /BankApp/src/DataAccess/abstracts/BaseDao.java: -------------------------------------------------------------------------------- 1 | package DataAccess.abstracts; 2 | 3 | import Entities.concretes.IndividualAccount; 4 | 5 | import java.sql.SQLException; 6 | import java.util.List; 7 | 8 | public interface BaseDao { 9 | /* 10 | BaseDao interface'imiz postgresql, mysql, oracle, mongodb vb. veritabanlarının adresini tutabildiği için 11 | katmanlar arası haberleşmede (dataAccess <-> business) kullandık. Bu sayede yeni bir database ile çalışacağımız zaman 12 | tek yapmamız gereken şey çalışacağımız db'yi iş katmanında belirtmek. 13 | */ 14 | 15 | void addToDb(IndividualAccount individualAccount) throws SQLException; 16 | 17 | void deleteFromDb(IndividualAccount individualAccount) throws SQLException; 18 | 19 | void updateDb(IndividualAccount individualAccount) throws SQLException; 20 | 21 | void deposit(IndividualAccount individualAccount, int amount) throws SQLException; 22 | 23 | void withdraw(IndividualAccount individualAccount, int amount) throws SQLException; 24 | 25 | void transfer(IndividualAccount individualAccount, int amount, String iban) throws SQLException; 26 | 27 | void getAll() throws SQLException; 28 | 29 | } 30 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Entities/Gamer.java: -------------------------------------------------------------------------------- 1 | package Entities; 2 | 3 | import Abstracts.Entity; 4 | 5 | public class Gamer implements Entity{ 6 | 7 | private String firstName; 8 | private String lastName; 9 | private String nationalityId; 10 | private int birthOfYear; 11 | 12 | 13 | public Gamer(){} 14 | 15 | public Gamer(String firstName, String lastName, String nationalityId, int birthOfYear){ 16 | this.firstName = firstName; 17 | this.lastName = lastName; 18 | this.nationalityId = nationalityId; 19 | this.birthOfYear = birthOfYear; 20 | } 21 | 22 | 23 | public String getFirstName() { 24 | return firstName; 25 | } 26 | 27 | public void setFirstName(String firstName) { 28 | this.firstName = firstName; 29 | } 30 | 31 | public String getLastName() { 32 | return lastName; 33 | } 34 | 35 | public void setLastName(String lastName) { 36 | this.lastName = lastName; 37 | } 38 | 39 | public String getNationalityId() { 40 | return nationalityId; 41 | } 42 | 43 | public int getBirthOfYear() { 44 | return birthOfYear; 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /CoffeeShop/src/Main.java: -------------------------------------------------------------------------------- 1 | import Business.abstracts.BaseCustomerManager; 2 | import Business.concretes.MernisCheckService; 3 | import Business.concretes.NeroCustomerManager; 4 | import Business.concretes.StarbucksCustomerManager; 5 | import Entites.concretes.Customer; 6 | 7 | public class Main { 8 | 9 | public static void main(String[] args) { 10 | 11 | Customer customer1 = new Customer("Hasan Can","Özbek",2001,"11111111111"); 12 | 13 | Customer customer2 = new Customer(); 14 | customer2.setFirstName("Engin"); 15 | customer2.setLastName("Demiroğ"); 16 | customer2.setBirthOfDate(1978); 17 | customer2.setNationalityId("xxxxxxxxxxx"); 18 | 19 | 20 | BaseCustomerManager starbucksManager = new StarbucksCustomerManager(new MernisCheckService()); 21 | BaseCustomerManager neroManager = new NeroCustomerManager(); 22 | 23 | starbucksManager.save(customer1); 24 | neroManager.save(customer2); 25 | 26 | System.out.println("----------------------------------------------------------------------------"); 27 | 28 | starbucksManager.saleCoffee(customer1); 29 | starbucksManager.saleCoffee(customer1); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /OnlineShop/PROJE-ISTERLERI.md: -------------------------------------------------------------------------------- 1 | Kullanıcılar sisteme bilgilerini girerek üye olabilmelidir. 2 | 3 | Sisteme temel kullanıcı bilgileri , e-posta ve parolayla üye olunabilmelidir. Temel kullanıcı bilgileri : ad, soyad, e-posta, parola. Temel bilgilerin tamamı zorunludur. 4 | Parola en az 6 karakterden oluşmalıdır. 5 | E-posta alanı e-posta formatında olmalıdır. (Regex ile yapınız. Araştırma konusu) 6 | E-Posta daha önce kullanılmamış olmalıdır. 7 | Ad ve soyad en az iki karakterden oluşmalıdır. 8 | Üyelik sonucu kullanıcıya doğrulama e-postası gönderilmelidir. (Simulasyon) 9 | Doğrulama linki tıklandığında üyelik tamamlanmalıdır. (Simulasyon) 10 | Hatalı veya başarılı durumda kullanıcı bilgilendirilmelidir. 11 | Kullanıcılar sisteme Google hesapları ile üye olabilmelidir. (Simulasyon) 12 | 13 | İlerleyen zamanlarda başka yetkilendirme servisleri de kullanılabilir. (Sistemi dış servis entegrasyonu olacak şekilde yapılandırınız.) 14 | Hatalı veya başarılı durumda kullanıcı bilgilendirilmelidir. 15 | Kullanıcılar e-posta ve parola bilgisiyle sisteme giriş yapabilmelidir. 16 | 17 | E-posta ve parola zorunludur 18 | Hatalı veya başarılı durumda kullanıcı bilgilendirilmelidir. 19 | 20 | 21 | Bu isterleri katmanlı mimaride simüle ediniz. 22 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV1/AUOMarshalGuid.java: -------------------------------------------------------------------------------- 1 | package Core.MernisV1; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | 13 | import org.ksoap2.serialization.Marshal; 14 | import org.ksoap2.serialization.PropertyInfo; 15 | import org.ksoap2.serialization.SoapSerializationEnvelope; 16 | import org.xmlpull.v1.XmlPullParser; 17 | import org.xmlpull.v1.XmlPullParserException; 18 | import org.xmlpull.v1.XmlSerializer; 19 | 20 | import java.io.IOException; 21 | import java.util.UUID; 22 | 23 | 24 | public class AUOMarshalGuid implements Marshal 25 | { 26 | public java.lang.Object readInstance(XmlPullParser parser, java.lang.String namespace, java.lang.String name,PropertyInfo expected) throws IOException, XmlPullParserException 27 | { 28 | return UUID.fromString(parser.nextText()); 29 | } 30 | 31 | public void register(SoapSerializationEnvelope cm) 32 | { 33 | cm.addMapping(cm.xsd, "guid", UUID.class, this); 34 | } 35 | 36 | public void writeInstance(XmlSerializer writer, java.lang.Object obj) throws IOException 37 | { 38 | writer.text(obj.toString()); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV2/LUMMarshalGuid.java: -------------------------------------------------------------------------------- 1 | package Core.MernisV2; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | 13 | import org.ksoap2.serialization.Marshal; 14 | import org.ksoap2.serialization.PropertyInfo; 15 | import org.ksoap2.serialization.SoapSerializationEnvelope; 16 | import org.xmlpull.v1.XmlPullParser; 17 | import org.xmlpull.v1.XmlPullParserException; 18 | import org.xmlpull.v1.XmlSerializer; 19 | 20 | import java.io.IOException; 21 | import java.util.UUID; 22 | 23 | 24 | public class LUMMarshalGuid implements Marshal 25 | { 26 | public java.lang.Object readInstance(XmlPullParser parser, java.lang.String namespace, java.lang.String name,PropertyInfo expected) throws IOException, XmlPullParserException 27 | { 28 | return UUID.fromString(parser.nextText()); 29 | } 30 | 31 | public void register(SoapSerializationEnvelope cm) 32 | { 33 | cm.addMapping(cm.xsd, "guid", UUID.class, this); 34 | } 35 | 36 | public void writeInstance(XmlSerializer writer, java.lang.Object obj) throws IOException 37 | { 38 | writer.text(obj.toString()); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /CoffeeShop/src/MernisService/EAEMarshalGuid.java: -------------------------------------------------------------------------------- 1 | package MernisService; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | 13 | import org.ksoap2.serialization.Marshal; 14 | import org.ksoap2.serialization.PropertyInfo; 15 | import org.ksoap2.serialization.SoapSerializationEnvelope; 16 | import org.xmlpull.v1.XmlPullParser; 17 | import org.xmlpull.v1.XmlPullParserException; 18 | import org.xmlpull.v1.XmlSerializer; 19 | 20 | import java.io.IOException; 21 | import java.util.UUID; 22 | 23 | 24 | public class EAEMarshalGuid implements Marshal 25 | { 26 | public java.lang.Object readInstance(XmlPullParser parser, java.lang.String namespace, java.lang.String name,PropertyInfo expected) throws IOException, XmlPullParserException 27 | { 28 | return UUID.fromString(parser.nextText()); 29 | } 30 | 31 | public void register(SoapSerializationEnvelope cm) 32 | { 33 | cm.addMapping(cm.xsd, "guid", UUID.class, this); 34 | } 35 | 36 | public void writeInstance(XmlSerializer writer, java.lang.Object obj) throws IOException 37 | { 38 | writer.text(obj.toString()); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /BankApp/src/Core/Adapters/MernisV1Adapter.java: -------------------------------------------------------------------------------- 1 | package Core.Adapters; 2 | 3 | import Core.MernisV1.AUOKPSPublicSoap; 4 | import Entities.concretes.IndividualAccount; 5 | 6 | import java.util.Locale; 7 | 8 | public class MernisV1Adapter implements CustomerCheckService{ 9 | /* 10 | Adapters tasarım deseni, dışarıdan bir servisle çalışmak istediğimizde bağımlılığı azaltmak için kullandığımız bir 11 | tasarım kalıbdır. Bu kodda dışarıdan almış olduğumuz MERNİS sistemini program içinde direkt kullanmak yerine, bir 12 | adapter yardımıyla bu servisi kendi yazılımıza uyarlıyoruz ve böylelikle olası bağımlılıkları azaltmış oluyoruz. 13 | Eğer direkt olarak adapter kullanmadan kodlara entegre etmiş olsaydık MERNİS sisteminin hizmet vermeyi durdurması, 14 | aksatması vb. durumlarda programımız da çökecekti. 15 | */ 16 | 17 | @Override 18 | public boolean isRealPerson(IndividualAccount individualAccount) throws Exception { 19 | 20 | AUOKPSPublicSoap mernisVerify = new AUOKPSPublicSoap(); 21 | return mernisVerify.TCKimlikNoDogrula(Long.parseLong(individualAccount.getCustomerTC()),individualAccount.getCustomerFirstName().toUpperCase(new Locale("tr")),individualAccount.getCustomerLastName().toUpperCase(new Locale("tr")),Integer.valueOf(individualAccount.getCustomerBirthOfYear())); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /OnlineShop/src/Entities/concretes/User.java: -------------------------------------------------------------------------------- 1 | package Entities.concretes; 2 | 3 | import Entities.abstracts.Entity; 4 | 5 | public class User implements Entity { 6 | private String firstName; 7 | private String lastName; 8 | private String email; 9 | private String password; 10 | 11 | public String getFirstName() { 12 | return firstName; 13 | } 14 | 15 | public void setFirstName(String firstName) { 16 | this.firstName = firstName; 17 | } 18 | 19 | public String getLastName() { 20 | return lastName; 21 | } 22 | 23 | public void setLastName(String lastName) { 24 | this.lastName = lastName; 25 | } 26 | 27 | public String getEmail() { 28 | return email; 29 | } 30 | 31 | public void setEmail(String email) { 32 | this.email = email; 33 | } 34 | 35 | public String getPassword() { 36 | return password; 37 | } 38 | 39 | public void setPassword(String password) { 40 | this.password = password; 41 | } 42 | 43 | public User() { 44 | } 45 | 46 | public User(String firstName, String lastName, String email, String password) { 47 | this.firstName = firstName; 48 | this.lastName = lastName; 49 | this.email = email; 50 | this.password = password; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Northwind/For-Database-Configration.txt: -------------------------------------------------------------------------------- 1 | Northwind/src/main/resources/application.properties içine aşağıdaki komutları yapıştırın. 2 | DATABASE_NAME : Oluşturduğunuz DB adı.(PostgreSql büyük küçük harf duyarlıdır.) 3 | PASSWORD : PgAdmin panellinde girişte kullandığınız parolanız. 4 | --------------------------------------------------------------------------------- 5 | spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect 6 | spring.jpa.hibernate.ddl-auto=update 7 | spring.jpa.hibernate.show-sql=true 8 | spring.datasource.url=jdbc:postgresql://localhost:5432/DATABASE_NAME 9 | spring.datasource.username=postgres 10 | spring.datasource.password=PASSWORD 11 | spring.jpa.properties.javax.persistence.validation.mode = none 12 | --------------------------------------------------------------------------------- 13 | 14 | Database içindeki hazır verileri yüklemek için Db üzerinde sağ tıklayıp QueryTool açmanız ve aşağıdaki linkten kopyaladığınız 15 | sql kodlarını yapıştırıp execute butonuna basmanız gerekiyor. 16 | Northwind veritabanı için : https://github.com/engindemirog/Northwind-Database-Script-for-Postgre-Sql/blob/master/script.sql 17 | Not : Northwind, Microsoft'un eğitimlerinde kullandığı hazır bir veritabanıdır. İçerisinde binlerce data örneği barındırır. 18 | Projelerinizde istediğiniz gibi kullanabilirsiniz. 19 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Core/MernisServiceReference/CTPMarshalGuid.java: -------------------------------------------------------------------------------- 1 | package Core.MernisServiceReference; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | 13 | import org.ksoap2.serialization.Marshal; 14 | import org.ksoap2.serialization.PropertyInfo; 15 | import org.ksoap2.serialization.SoapSerializationEnvelope; 16 | import org.xmlpull.v1.XmlPullParser; 17 | import org.xmlpull.v1.XmlPullParserException; 18 | import org.xmlpull.v1.XmlSerializer; 19 | 20 | import java.io.IOException; 21 | import java.util.UUID; 22 | 23 | 24 | public class CTPMarshalGuid implements Marshal 25 | { 26 | public java.lang.Object readInstance(XmlPullParser parser, java.lang.String namespace, java.lang.String name,PropertyInfo expected) throws IOException, XmlPullParserException 27 | { 28 | return UUID.fromString(parser.nextText()); 29 | } 30 | 31 | public void register(SoapSerializationEnvelope cm) 32 | { 33 | cm.addMapping(cm.xsd, "guid", UUID.class, this); 34 | } 35 | 36 | public void writeInstance(XmlSerializer writer, java.lang.Object obj) throws IOException 37 | { 38 | writer.text(obj.toString()); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Concretes/GamerManager.java: -------------------------------------------------------------------------------- 1 | package Concretes; 2 | 3 | import Abstracts.PersonCheckService; 4 | import Abstracts.UserService; 5 | import Entities.Gamer; 6 | 7 | public class GamerManager implements UserService { 8 | 9 | private PersonCheckService personCheckService; 10 | public GamerManager(PersonCheckService personCheckService){ 11 | this.personCheckService = personCheckService; 12 | } 13 | 14 | @Override 15 | public void add(Gamer gamer) { 16 | try { 17 | if (personCheckService.realPerson(gamer)){ 18 | System.out.println("Gamer verified : "+gamer.getFirstName()+" "+gamer.getLastName()); 19 | } 20 | else{ 21 | System.out.println("Invalid person."); 22 | } 23 | } catch (Exception e) { 24 | System.out.println("Unable to access validation service. Please try again."); 25 | System.out.println(e.getMessage()); 26 | } 27 | } 28 | 29 | @Override 30 | public void delete(Gamer gamer) { 31 | System.out.println("Account deleted."); 32 | } 33 | 34 | @Override 35 | public void update(Gamer gamer, String name, String surname) { 36 | gamer.setFirstName(name); 37 | gamer.setLastName(surname); 38 | System.out.println("Your personal information has been updated:"); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /CoffeeShop/src/Entites/concretes/Customer.java: -------------------------------------------------------------------------------- 1 | package Entites.concretes; 2 | 3 | import Entites.abstracts.Entity; 4 | 5 | public class Customer implements Entity { 6 | 7 | private String firstName; 8 | private String lastName; 9 | private int birthOfDate; 10 | private String nationalityId; 11 | 12 | public Customer(){} 13 | 14 | public Customer(String firstName, String lastName, int birthOfDate, String nationalityId){ 15 | this.firstName = firstName; 16 | this.lastName = lastName; 17 | this.birthOfDate = birthOfDate; 18 | this.nationalityId = nationalityId; 19 | } 20 | 21 | public String getFirstName() { 22 | return firstName; 23 | } 24 | 25 | public void setFirstName(String firstName) { 26 | this.firstName = firstName; 27 | } 28 | 29 | public String getLastName() { 30 | return lastName; 31 | } 32 | 33 | public void setLastName(String lastName) { 34 | this.lastName = lastName; 35 | } 36 | 37 | public int getBirthOfDate() { 38 | return birthOfDate; 39 | } 40 | 41 | public void setBirthOfDate(int birthOfDate) { 42 | this.birthOfDate = birthOfDate; 43 | } 44 | 45 | public String getNationalityId() { 46 | return nationalityId; 47 | } 48 | 49 | public void setNationalityId(String nationalityId) { 50 | this.nationalityId = nationalityId; 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /CoffeeShop/src/Business/concretes/StarbucksCustomerManager.java: -------------------------------------------------------------------------------- 1 | package Business.concretes; 2 | 3 | import Business.abstracts.BaseCustomerManager; 4 | import Business.abstracts.CustomerCheckService; 5 | import Entites.concretes.Customer; 6 | 7 | public class StarbucksCustomerManager extends BaseCustomerManager { 8 | 9 | private CustomerCheckService customerCheckService; 10 | 11 | public StarbucksCustomerManager(CustomerCheckService customerCheckService){ 12 | this.customerCheckService = customerCheckService; 13 | } 14 | 15 | @Override 16 | public void save(Customer customer) { 17 | try { 18 | if (customerCheckService.isRealPerson(customer)){ 19 | System.out.println("Successfully saved : "+customer.getFirstName()+" "+customer.getLastName()); 20 | } 21 | else{ 22 | System.out.println("Customer could not be verified. : "+customer.getFirstName()+" "+customer.getLastName()); 23 | } 24 | } catch (Exception e) { 25 | System.out.println("Can't access MERNİS validation service. Please try again."); 26 | System.out.println(e.getMessage()); 27 | } 28 | 29 | } 30 | 31 | static int star=0; 32 | @Override 33 | public void saleCoffee(Customer customer) { 34 | super.saleCoffee(customer); 35 | star++; 36 | System.out.println("You earn 1 star for your order. Your total stars : "+star); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Northwind/src/main/java/com/hasancanozbek/Northwind/Entities/concretes/Product.java: -------------------------------------------------------------------------------- 1 | package com.hasancanozbek.Northwind.Entities.concretes; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | import javax.persistence.*; 8 | 9 | @Data //Getter-Setter, toString, equalsAndHashCode yapılarını sizin yerinize kurar. 10 | @NoArgsConstructor // Parametresiz constructor oluşturur. 11 | @AllArgsConstructor // Classta final olmayan tüm fieldların parametrede bulunduğu bir constructor kurar. 12 | 13 | @Entity // Bu classın Entity katmanına ait bir nesne(veritabanında tabloya karşılık geldiğini) olduğunu Spring'e Jpa vasıtasıyla belirtiyoruz. 14 | @Table(name = "products") // Veritabanında hangi tabloya karşılık geldiğini belirttik. 15 | public class Product { 16 | 17 | @Id // Bu annotation ile tablomuzda bulunan primary key'e sahip kolonumuzu belirttik. 18 | @GeneratedValue // Primary key'in otomatik olarak arttığını java tarafında id arttırma işlemi yapılamamsını söyledik. 19 | @Column(name = "product_id") // @Column anotasyonları ile ilgili field'ın veritabanında hangi sütuna karşılık gedliğini belirttik. 20 | private int id; 21 | 22 | @Column(name = "category_id") 23 | private int categoryId; 24 | 25 | @Column(name = "product_name") 26 | private String productName; 27 | 28 | @Column(name = "unit_price") 29 | private double unitPrice; 30 | 31 | @Column(name = "units_in_stock") 32 | private short unitsInStock; 33 | 34 | @Column(name = "quantity_per_unit") 35 | private String quantityPerUnit; 36 | 37 | 38 | } 39 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV1/docs/Html/AUOKPSPublicSoap_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | AUOKPSPublicSoap methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

TCKimlikNoDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import Core.MernisV1;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Integer param3 = ...;//initialization code
33 | 
34 | AUOKPSPublicSoap service = new AUOKPSPublicSoap("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
35 | Boolean res = service.TCKimlikNoDogrula(param0,param1,param2,param3);
36 | //in res variable you have a value returned from your web service
37 |             
38 | 
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /CoffeeShop/src/MernisService/docs/Html/EAEKPSPublicSoap_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EAEKPSPublicSoap methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

TCKimlikNoDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import MernisService;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Integer param3 = ...;//initialization code
33 | 
34 | EAEKPSPublicSoap service = new EAEKPSPublicSoap("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
35 | Boolean res = service.TCKimlikNoDogrula(param0,param1,param2,param3);
36 | //in res variable you have a value returned from your web service
37 |             
38 | 
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV1/docs/Html/AUOKPSPublicSoap12_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | AUOKPSPublicSoap12 methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

TCKimlikNoDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import Core.MernisV1;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Integer param3 = ...;//initialization code
33 | 
34 | AUOKPSPublicSoap12 service = new AUOKPSPublicSoap12("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
35 | Boolean res = service.TCKimlikNoDogrula(param0,param1,param2,param3);
36 | //in res variable you have a value returned from your web service
37 |             
38 | 
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /CoffeeShop/src/MernisService/docs/Html/EAEKPSPublicSoap12_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EAEKPSPublicSoap12 methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

TCKimlikNoDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import MernisService;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Integer param3 = ...;//initialization code
33 | 
34 | EAEKPSPublicSoap12 service = new EAEKPSPublicSoap12("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
35 | Boolean res = service.TCKimlikNoDogrula(param0,param1,param2,param3);
36 | //in res variable you have a value returned from your web service
37 |             
38 | 
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/docs/Html/EAEKPSPublicSoap_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EAEKPSPublicSoap methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

TCKimlikNoDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import MernisService;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Integer param3 = ...;//initialization code
33 | 
34 | EAEKPSPublicSoap service = new EAEKPSPublicSoap("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
35 | Boolean res = service.TCKimlikNoDogrula(param0,param1,param2,param3);
36 | //in res variable you have a value returned from your web service
37 |             
38 | 
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/docs/Html/EAEKPSPublicSoap12_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EAEKPSPublicSoap12 methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

TCKimlikNoDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import MernisService;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Integer param3 = ...;//initialization code
33 | 
34 | EAEKPSPublicSoap12 service = new EAEKPSPublicSoap12("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
35 | Boolean res = service.TCKimlikNoDogrula(param0,param1,param2,param3);
36 | //in res variable you have a value returned from your web service
37 |             
38 | 
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Core/MernisServiceReference/docs/Html/CTPKPSPublicSoap_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CTPKPSPublicSoap methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

TCKimlikNoDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import Core.MernisServiceReference;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Integer param3 = ...;//initialization code
33 | 
34 | CTPKPSPublicSoap service = new CTPKPSPublicSoap("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
35 | Boolean res = service.TCKimlikNoDogrula(param0,param1,param2,param3);
36 | //in res variable you have a value returned from your web service
37 |             
38 | 
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Core/MernisServiceReference/docs/Html/CTPKPSPublicSoap12_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CTPKPSPublicSoap12 methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

TCKimlikNoDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import Core.MernisServiceReference;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Integer param3 = ...;//initialization code
33 | 
34 | CTPKPSPublicSoap12 service = new CTPKPSPublicSoap12("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
35 | Boolean res = service.TCKimlikNoDogrula(param0,param1,param2,param3);
36 | //in res variable you have a value returned from your web service
37 |             
38 | 
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/docs/Html/CTPKPSPublicSoap_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CTPKPSPublicSoap methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

TCKimlikNoDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import Core.MernisServiceReference;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Integer param3 = ...;//initialization code
33 | 
34 | CTPKPSPublicSoap service = new CTPKPSPublicSoap("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
35 | Boolean res = service.TCKimlikNoDogrula(param0,param1,param2,param3);
36 | //in res variable you have a value returned from your web service
37 |             
38 | 
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/docs/Html/CTPKPSPublicSoap12_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CTPKPSPublicSoap12 methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

TCKimlikNoDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import Core.MernisServiceReference;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Integer param3 = ...;//initialization code
33 | 
34 | CTPKPSPublicSoap12 service = new CTPKPSPublicSoap12("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
35 | Boolean res = service.TCKimlikNoDogrula(param0,param1,param2,param3);
36 | //in res variable you have a value returned from your web service
37 |             
38 | 
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /GameStoreManagement/PROJE-ISTERLERİ.md: -------------------------------------------------------------------------------- 1 | Bir oyun yazmak istiyorsunuz. Bu yazılım için backend kodlarını JAVA ile geliştirmeyi planlıyoruz. Yeni üye, satış ve kampanya yönetimi yapılması isteniyor. Nesnelere ait özellikleri istediğiniz gibi verebilirsiniz. Burada amaç yazdığınız kodun kalitesidir. 2 | Bu proje, konuları daha iyi kavramak ve pratik yapmak için tasarlanmıştır. 3 | Üzerinde iyileştirmeler ve eklemeler yapılabilir. Kendinizi sınamak için isterler doğrultusunda kendi kodlarınızı yazabilirsiniz. 4 | #### **Proje ile ilgili görüşlerinizi issues üzerinden iletebilirsiniz. Beğendiğiniz projelere yıldız verebilirsiniz.** 5 | 6 |
7 | 8 | ## **İSTERLER** ; 9 | 1. [x] Oyuncuların sisteme kayıt olabileceği, bilgilerini güncelleyebileceği, kayıtlarını silebileceği bir ortamı simule ediniz. 10 | 2. [x] Müşteri bilgilerinin doğruluğunu e-devlet sistemlerini kullanarak doğrulama yapmak istiyoruz. 11 | 3. [x] Fake bir veritabanında kodlarınızı yazmanız yeterlidir.(Simülasyon) 12 | 4. [x] Oyun satışı yapılabilecek satış ortamını simule ediniz.( Yapılan satışlar oyuncu ile ilişkilendirilmelidir.) 13 | 5. [x] Sisteme yeni kampanya girişi, kampanyanın silinmesi ve güncellenmesi imkanlarını simule ediniz. 14 | 6. [x] Satışlarda kampanya entegrasyonunu simule ediniz. 15 | 16 | > Projeyi görsel arayüz ile destekleyebilirsiniz. Burada asıl amaç projenin back endini yazmaktır. 17 | --- 18 | 19 |
20 | 21 | - Proje, başlangıç gününden sonraki **2** gün içinde teslim edilecek şekilde varsayılmıştır. Burada amaç gerçek hayatta bir projede çalışma sisteminin deneyimlenmesidir. 22 | - Kodlar okunabilir olmalıdır. 23 | - Projeniz genişletilebilir olmaldır. (İlerleyen günlerde ek servisler istenebileceği göz önüne alınarak değişime açık bir şekilde kodlanmalıdır.) 24 | - Projeniz *OOP* mantığına ve *SOLİD* prensiplerine uygun şekilde geliştirilmelidir. -------------------------------------------------------------------------------- /Northwind/src/main/java/com/hasancanozbek/Northwind/Api/controllers/ProductsController.java: -------------------------------------------------------------------------------- 1 | package com.hasancanozbek.Northwind.Api.controllers; 2 | 3 | import com.hasancanozbek.Northwind.Business.abstracts.ProductService; 4 | import com.hasancanozbek.Northwind.Entities.concretes.Product; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.web.bind.annotation.GetMapping; 7 | import org.springframework.web.bind.annotation.RequestMapping; 8 | import org.springframework.web.bind.annotation.RestController; 9 | 10 | import java.util.List; 11 | 12 | /* 13 | Controllers, projelerimizde Api dediğimiz katmanı oluşturur. Burada yazdığımız kodlar ile kullanıcıların hangi istekte 14 | bulunduğunu ve bu isteğe cevap olarak ne yapılacağını belirtiriz. Bir e-ticaret sitemiz olduğunu varsayalım. 15 | Domain Adı : hasancanozbek.com olsun. hasancanozbek.com/api/products adresine gidildiğinde aslında bu class'a gidiliyor. 16 | Burada /getall adresi database'den çektiğimiz ürünleri gösteriyor. Başka adresler de aynı şekilde belirtilebiliyor. 17 | Bu yapı aynı zamanda bir kere yazılıp ister mobil ister masaüstü ister web üzerinden kullanılabiliyor. 18 | Back-end'i bir kere yazıyoruz ve her platformda kullanabiliyoruz(React, Angular, Swing, Android Uygulama Geliştirme platformları). 19 | Özetle API yapısı back end ile front end arasındaki iletişimi sağlıyor, java ile diğer diller arasında tercümanlık 20 | yapıyor diyebiliriz. 21 | */ 22 | 23 | @RestController 24 | @RequestMapping("/api/products") 25 | 26 | public class ProductsController { 27 | 28 | private ProductService productService; 29 | @Autowired 30 | public ProductsController(ProductService productService){ 31 | this.productService = productService; 32 | } 33 | 34 | @GetMapping("/getall") 35 | public List getAll(){ 36 | return this.productService.gelAll(); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PROJECTS 2 | 3 | | :computer:**Project Name** | :pencil2:**Description** | :bust_in_silhouette: **Owner** | 4 | | :--- | :----: | ---: | 5 | | :white_check_mark: [BankApp](https://github.com/hasancanozbek/My-Java-OOP-Projects/blob/main/BankApp/PROJE-ISTERLERI.md " project requests ")| Digital bank project with java using OOP techniques | [Hasan Can ÖZBEK](https://github.com/hasancanozbek) | 6 | |:white_check_mark:[CoffeeShop](https://github.com/hasancanozbek/Java-OOP-Projects/blob/main/CoffeeShop/PROJE-ISTERLERI.md)|Coffee shop customer management system (with MERNİS validation service) |[Hasan Can ÖZBEK](https://github.com/hasancanozbek)| 7 | |:white_check_mark:[GameStoreManagement](https://github.com/hasancanozbek/Java-OOP-Projects/blob/main/GameStoreManagement/PROJE-ISTERLERİ.md)|Game, campaign and sale management|[Hasan Can ÖZBEK](https://github.com/hasancanozbek)| 8 | |:white_check_mark:[OnlineShop](https://github.com/hasancanozbek/Java-OOP-Projects/blob/main/OnlineShop/PROJE-ISTERLERI.md)|Register and login a online market. (Dependency Injection, Regex)|[Hasan Can ÖZBEK](https://github.com/hasancanozbek)| 9 | |:white_check_mark:[Northwind](https://github.com/hasancanozbek/Java-OOP-Projects/tree/main/Northwind)|Basic web application project using Spring Boot framework|[Hasan Can ÖZBEK](https://github.com/hasancanozbek)| 10 | |:soon:[CinemaTickedSales]()|Coming soon.|[Hasan Can ÖZBEK](https://github.com/hasancanozbek)| 11 | 12 | 13 | 14 | --- 15 | ## About Projects 16 | * This repository is for creating project ideas together and coding them. 17 | * If you have a project idea and share it with us, you can write it [opening issue](https://github.com/hasancanozbek/My-Java-OOP-Projects/issues). 18 | * You can use, recode and share the projects in this repo as you wish. 19 | > :pushpin:Coffee, code, sleep... and repeat. 20 | 21 | ![](https://artuncolak.com/media/hello-world/hello-world.png) 22 | -------------------------------------------------------------------------------- /BankApp/PROJE-ISTERLERI.md: -------------------------------------------------------------------------------- 1 | Amacımız bir dijital banka uygulaması geliştirmek. Bu proje, konuları daha iyi kavramak ve pratik yapmak için tasarlanmıştır. 2 | Üzerinde iyileştirmeler ve eklemeler yapılabilir. Kendinizi sınamak için isterler doğrultusunda kendi kodlarınızı yazabilirsiniz. 3 | #### **Proje ile ilgili görüşlerinizi issues üzerinden iletebilirsiniz. Beğendiğiniz projelere yıldız verebilirsiniz.** 4 | 5 |
6 | 7 | ## **İSTERLER** ; 8 | 1. [x] Kullanıcılar bireysel hesap başlığında hesap açabilmelidir. 9 | 2. [x] Kullanıcılardan bireysel hesaplarını açarken isim, soyisim, tc kimlik numarası bilgileri alınmalıdır. 10 | 3. [x] Hesabın doğrulanması MERNİS sistemi ile yapılmalıdır. Geçersiz kullanıcı durumunda kişi bilgilendirilmelidir. 11 | 4. [x] Veritabanı oluşturulmalı ve kullanıcı bilgileri bu veritabanına kaydedilmelidir. 12 | 5. [x] Veritabanında TC kimlik numarası ve hesap numarası uniqe değer olmalıdır. 13 | 6. [x] Doğrulanmış hesapların birer hesap numarası, bakiye bilgileri olmalıdır. Müşteriden hesap açarken başlangıç bakiyesi istenmelidir. 14 | 7. [x] Kullanıcılar hesaplarına para yatırabilmeli, hesaplarından para çekebilmelidir. Ve anlık bakiyelerini görebilmelidir. 15 | 8. [x] Kullanıcılar sistemde kayıtlı başka bir hesaba havale yapabilmelidir. 16 | 9. [x] Kullanıcılar hesaplarını silebilmelidir. 17 | 10. [x] Sistemde tüm hesapları listeleyecek bir yapı olmalıdır. 18 | 19 | > Projeyi görsel arayüz ile destekleyebilirsiniz. Burada asıl amaç projenin back endini yazmaktır. 20 | --- 21 | 22 |
23 | 24 | - Proje, başlangıç gününden sonraki 7 gün içinde teslim edilecek şekilde varsayılmıştır. Burada amaç gerçek hayatta bir projede çalışma sisteminin deneyimlenmesidir. 25 | - Kodlar okunabilir olmalıdır. 26 | - Projeniz genişletilebilir olmaldır. (İlerleyen günlerde ek servisler istenebileceği göz önüne alınarak değişime açık bir şekilde kodlanmalıdır.) 27 | - Projeniz *OOP* mantığına ve *SOLİD* prensiplerine uygun şekilde geliştirilmelidir. 28 | -------------------------------------------------------------------------------- /CoffeeShop/PROJE-ISTERLERI.md: -------------------------------------------------------------------------------- 1 | Starbucks ve Nero firmalarıyla birlikte çalışmaktayız. İki firma da kendilerine has özellikler istemektedir. Firmaların proje isterleri raporu aşağıdaki gibidir. 2 | Bu proje, konuları daha iyi kavramak ve pratik yapmak için tasarlanmıştır. 3 | Üzerinde iyileştirmeler ve eklemeler yapılabilir. Kendinizi sınamak için isterler doğrultusunda kendi kodlarınızı yazabilirsiniz. 4 | #### **Proje ile ilgili görüşlerinizi issues üzerinden iletebilirsiniz. Beğendiğiniz projelere yıldız verebilirsiniz.** 5 | 6 |
7 | 8 | ## **İSTERLER** ; 9 | 1. [x] Starbucks da Nero da müşterilerini veritabanına kaydedebilmedir. 10 | 2. [x] Firmalar ortak bir veritabanı kullanmaktadır. 11 | 3. [x] Fake bir veritabanında kodlarınızı yazmanız yeterlidir.(Simülasyon) 12 | 4. [x] Kayıt işlemi için müşterinin adı, soyadı, doğum yılı, tc kimlik numarası bilgileri istenmelidir. 13 | 5. [x] Starbucks, müşterilerinin bir MERNİS doğrulaması yapılarak kayıt edilmesini istemektedir. Nero için ise doğrulamaya gerek yoktur. 14 | 6. [x] Veritabanına eklenip eklenmediği kullanıcılara çıktı olarak verilmelidir. 15 | 7. [x] Starbucks ve Nero firmaları kahve satışı yapabilmelidir. Ve bu satışlar müşteri ile bağlanabilmelidir.(Örn : "Afiyet olsun Hasan Can" gibi çıktılar için) 16 | 8. [x] Starbucks müşterilerine kahve satışı yaptıktan sonra yıldız kazanacakları bir sistem istemektedir. 17 | 9. [x] Sistemde Mernis doğrulamasının hizmet verememesi ihtimaline karşı doğrulama için fake bir servis de yazılmalıdır. 18 | 19 | > Projeyi görsel arayüz ile destekleyebilirsiniz. Burada asıl amaç projenin back endini yazmaktır. 20 | --- 21 | 22 |
23 | 24 | - Proje, başlangıç gününden sonraki **2** gün içinde teslim edilecek şekilde varsayılmıştır. Burada amaç gerçek hayatta bir projede çalışma sisteminin deneyimlenmesidir. 25 | - Kodlar okunabilir olmalıdır. 26 | - Projeniz genişletilebilir olmaldır. (İlerleyen günlerde ek servisler istenebileceği göz önüne alınarak değişime açık bir şekilde kodlanmalıdır.) 27 | - Projeniz *OOP* mantığına ve *SOLİD* prensiplerine uygun şekilde geliştirilmelidir. 28 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV2/docs/Html/LUMKPSPublicV2Soap_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | LUMKPSPublicV2Soap methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

KisiVeCuzdanDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import Core.Mernis;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Boolean param3 = ...;//initialization code
33 | Integer param4 = ...;//initialization code
34 | Boolean param5 = ...;//initialization code
35 | Integer param6 = ...;//initialization code
36 | Boolean param7 = ...;//initialization code
37 | Integer param8 = ...;//initialization code
38 | String param9 = ...;//initialization code
39 | Integer param10 = ...;//initialization code
40 | String param11 = ...;//initialization code
41 | 
42 | LUMKPSPublicV2Soap service = new LUMKPSPublicV2Soap("https://tckimlik.nvi.gov.tr/Service/KPSPublicV2.asmx");
43 | Boolean res = service.KisiVeCuzdanDogrula(param0,param1,param2,param3,param4,param5,param6,param7,param8,param9,param10,param11);
44 | //in res variable you have a value returned from your web service
45 |             
46 | 
47 |
48 |
49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV2/docs/Html/LUMKPSPublicV2Soap12_methods.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | LUMKPSPublicV2Soap12 methods 7 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | 20 |

KisiVeCuzdanDogrula

21 |

22 | 23 |

24 |

Synchronous operation

25 |
26 |         
27 | import Core.Mernis;
28 | ...
29 | Long param0 = ...;//initialization code
30 | String param1 = ...;//initialization code
31 | String param2 = ...;//initialization code
32 | Boolean param3 = ...;//initialization code
33 | Integer param4 = ...;//initialization code
34 | Boolean param5 = ...;//initialization code
35 | Integer param6 = ...;//initialization code
36 | Boolean param7 = ...;//initialization code
37 | Integer param8 = ...;//initialization code
38 | String param9 = ...;//initialization code
39 | Integer param10 = ...;//initialization code
40 | String param11 = ...;//initialization code
41 | 
42 | LUMKPSPublicV2Soap12 service = new LUMKPSPublicV2Soap12("https://tckimlik.nvi.gov.tr/Service/KPSPublicV2.asmx");
43 | Boolean res = service.KisiVeCuzdanDogrula(param0,param1,param2,param3,param4,param5,param6,param7,param8,param9,param10,param11);
44 | //in res variable you have a value returned from your web service
45 |             
46 | 
47 |
48 |
49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /OnlineShop/src/Business/concretes/UserManager.java: -------------------------------------------------------------------------------- 1 | package Business.concretes; 2 | 3 | import Business.abstracts.UserService; 4 | import Core.Adapters.ThirdPartyRegisterService; 5 | import Core.Regex.MailRegex; 6 | import Core.Validate.ValidationService; 7 | import DataAccessObjects.abstracts.UserDao; 8 | import Entities.concretes.User; 9 | 10 | public class UserManager implements UserService { 11 | private UserDao userDao; 12 | private ValidationService validationService; 13 | private ThirdPartyRegisterService thirdPartyRegisterService; 14 | 15 | public UserManager(UserDao userDao, ValidationService validationService, ThirdPartyRegisterService thirdPartyRegisterService) { 16 | this.userDao = userDao; 17 | this.validationService = validationService; 18 | this.thirdPartyRegisterService = thirdPartyRegisterService; 19 | } 20 | 21 | @Override 22 | public void register(User user) { 23 | if (MailRegex.ifValidMail(user.getEmail()) && user.getPassword().length() >= 6 && 24 | user.getFirstName().length() >= 2 && user.getLastName().length() >= 2 && 25 | !(userDao.getUsers().contains(user))) { 26 | userDao.addToDb(user); 27 | // validationService.sendValidationCode(user.getEmail()); 28 | validationService.mailValidation(validationService.sendValidationCode(user.getEmail())); 29 | 30 | } else { 31 | System.out.println("Kullanıcı kayıt edilemedi."); 32 | } 33 | } 34 | 35 | @Override 36 | public void registerWithThirdParty(User user) { 37 | thirdPartyRegisterService.registerWithThirdPartyApp(user); 38 | userDao.getUsers().add(user); 39 | 40 | } 41 | 42 | @Override 43 | public void login(String email, String password) { 44 | for (int i = 0; i < userDao.getUsers().size(); i++) { 45 | if (email.equals(userDao.getUser(i).getEmail()) && password.equals(userDao.getUser(i).getPassword())) { 46 | userDao.loginRequest(); 47 | return; 48 | } 49 | } 50 | System.out.println("Mail adresiniz veya şifreniz yanlış."); 51 | } 52 | } -------------------------------------------------------------------------------- /BankApp/src/Entities/concretes/IndividualAccount.java: -------------------------------------------------------------------------------- 1 | package Entities.concretes; 2 | 3 | import Entities.abstracts.BaseAccount; 4 | 5 | public class IndividualAccount implements BaseAccount { 6 | private String accountId; 7 | private String customerFirstName; 8 | private String customerLastName; 9 | private String customerTC; 10 | private int customerBirthOfYear; 11 | private int balance; 12 | 13 | 14 | public IndividualAccount (){} 15 | 16 | public IndividualAccount (String accountId, String customerFirstName, String customerLastName, String customerTC, int customerBirthOfYear, int balance){ 17 | this.accountId = accountId; 18 | this.customerFirstName = customerFirstName; 19 | this.customerLastName = customerLastName; 20 | this.customerTC = customerTC; 21 | this.customerBirthOfYear = customerBirthOfYear; 22 | this.balance = balance; 23 | } 24 | 25 | public String getAccountId() { return accountId; } 26 | 27 | public void setAccountId(String accountId) { 28 | this.accountId = accountId; 29 | } 30 | 31 | public String getCustomerFirstName() { 32 | return customerFirstName; 33 | } 34 | 35 | public void setCustomerFirstName(String customerFirstName) { 36 | this.customerFirstName = customerFirstName; 37 | } 38 | 39 | public String getCustomerLastName() { 40 | return customerLastName; 41 | } 42 | 43 | public void setCustomerLastName(String customerLastName) { 44 | this.customerLastName = customerLastName; 45 | } 46 | 47 | public String getCustomerTC() { 48 | return customerTC; 49 | } 50 | 51 | public void setCustomerTC(String customerTC) { 52 | this.customerTC = customerTC; 53 | } 54 | 55 | public int getBalance() { 56 | return balance; 57 | } 58 | 59 | public void setBalance(int balance) { 60 | this.balance = balance; 61 | } 62 | 63 | public int getCustomerBirthOfYear() { return customerBirthOfYear; } 64 | 65 | public void setCustomerBirthOfYear(int customerBirthOfYear) { this.customerBirthOfYear = customerBirthOfYear; } 66 | 67 | } 68 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV1/Metadata.info: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5.11.6.0 5 | Basic 6 | easywsdl 7 | AUOKPSPublicSoap 8 | 9 | 10 | https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx 11 | 12 | Core.MernisV1 13 | false 14 | true 15 | false 16 | true 17 | false 18 | false 19 | false 20 | false 21 | Default 22 | 23 | true 24 | false 25 | Java 26 | None 27 | true 28 | false 29 | false 30 | 31 | 32 | AUODateTimeConverter.java 33 | AUOExtendedSoapSerializationEnvelope.java 34 | AUOHelper.java 35 | AUOKPSPublicSoap.java 36 | AUOKPSPublicSoap12.java 37 | AUOMarshalGuid.java 38 | AUOStandardDateTimeConverter.java 39 | docs/Html/AUOKPSPublicSoap.html 40 | docs/Html/AUOKPSPublicSoap12.html 41 | docs/Html/AUOKPSPublicSoap12_methods.html 42 | docs/Html/AUOKPSPublicSoap_methods.html 43 | docs/Html/MTOMTransfer.html 44 | docs/Html/Tips.html 45 | docs/Index.html 46 | docs/Styles/Blueprint_Styles/Style.css 47 | 48 | 49 | ExKsoap2-1.0.3.1.jar 50 | ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar 51 | 52 | 53 | -------------------------------------------------------------------------------- /CoffeeShop/src/MernisService/Metadata.info: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5.11.6.0 5 | Basic 6 | easywsdl 7 | EAEKPSPublicSoap 8 | 9 | 10 | https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx 11 | 12 | MernisService 13 | false 14 | true 15 | false 16 | true 17 | false 18 | false 19 | false 20 | false 21 | Default 22 | 23 | true 24 | false 25 | Java 26 | None 27 | true 28 | false 29 | false 30 | 31 | 32 | docs/Html/EAEKPSPublicSoap.html 33 | docs/Html/EAEKPSPublicSoap12.html 34 | docs/Html/EAEKPSPublicSoap12_methods.html 35 | docs/Html/EAEKPSPublicSoap_methods.html 36 | docs/Html/MTOMTransfer.html 37 | docs/Html/Tips.html 38 | docs/Index.html 39 | docs/Styles/Blueprint_Styles/Style.css 40 | EAEDateTimeConverter.java 41 | EAEExtendedSoapSerializationEnvelope.java 42 | EAEHelper.java 43 | EAEKPSPublicSoap.java 44 | EAEKPSPublicSoap12.java 45 | EAEMarshalGuid.java 46 | EAEStandardDateTimeConverter.java 47 | 48 | 49 | ExKsoap2-1.0.3.1.jar 50 | ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar 51 | 52 | 53 | -------------------------------------------------------------------------------- /Northwind/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | org.springframework.boot 7 | spring-boot-starter-parent 8 | 2.5.2 9 | 10 | 11 | com.hasancanozbek 12 | Northwind 13 | 0.0.1-SNAPSHOT 14 | Northwind 15 | Demo project for Spring Boot. 16 | 17 | 11 18 | 19 | 20 | 21 | org.springframework.boot 22 | spring-boot-starter-data-jpa 23 | 24 | 25 | org.springframework.boot 26 | spring-boot-starter-web 27 | 28 | 29 | 30 | org.springframework.boot 31 | spring-boot-devtools 32 | runtime 33 | true 34 | 35 | 36 | org.postgresql 37 | postgresql 38 | runtime 39 | 40 | 41 | org.projectlombok 42 | lombok 43 | true 44 | 45 | 46 | org.springframework.boot 47 | spring-boot-starter-test 48 | test 49 | 50 | 51 | 52 | 53 | 54 | 55 | org.springframework.boot 56 | spring-boot-maven-plugin 57 | 58 | 59 | 60 | org.projectlombok 61 | lombok 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /BankApp/src/Business/concretes/AccountManager.java: -------------------------------------------------------------------------------- 1 | package Business.concretes; 2 | 3 | import Business.abstracts.BaseAccountService; 4 | import Core.Adapters.CustomerCheckService; 5 | import Core.Adapters.MernisV1Adapter; 6 | import DataAccess.abstracts.BaseDao; 7 | import Entities.concretes.IndividualAccount; 8 | import java.sql.SQLException; 9 | import java.util.Scanner; 10 | 11 | public class AccountManager implements BaseAccountService { 12 | 13 | //**Dependency injection yapıldı.** 14 | private BaseDao baseDao; 15 | public AccountManager(BaseDao baseDao) { 16 | this.baseDao = baseDao; 17 | } 18 | 19 | //Kimlik doğrulama servisimizin nesnesini oluşturduk. MernisV1 versiyonu ile çalışacağımızı belirttik. 20 | CustomerCheckService customerCheckService = new MernisV1Adapter(); 21 | 22 | 23 | //CRUD operasyonları yazıldı. 24 | @Override 25 | public void addAccount(IndividualAccount individualAccount) throws Exception { 26 | //Kullanıcının gerçek kişi olup olmadığı mernis doğrulaması üzerinden kontrol edildi. 27 | if (customerCheckService.isRealPerson(individualAccount)){ 28 | baseDao.addToDb(individualAccount); 29 | individualAccount.setAccountId(individualAccount.getCustomerTC()); 30 | } 31 | else{ 32 | System.out.println("Hesap sistem tarafından doğrulanamadı."); 33 | } 34 | } 35 | 36 | @Override 37 | public void updateAccount(IndividualAccount individualAccount,String nameUpdate, String surnameUpdate) throws SQLException { 38 | individualAccount.setCustomerFirstName(nameUpdate); 39 | individualAccount.setCustomerLastName(surnameUpdate); 40 | baseDao.updateDb(individualAccount); 41 | } 42 | 43 | @Override 44 | public void deleteAccount(IndividualAccount individualAccount) throws SQLException { 45 | System.out.println("Tc kimlik numaranızı giriniz : "); 46 | Scanner scanner = new Scanner(System.in); 47 | String control = scanner.nextLine(); 48 | if (control.equals(individualAccount.getCustomerTC())){ 49 | baseDao.deleteFromDb(individualAccount); 50 | } 51 | } 52 | 53 | @Override 54 | public void getAllAccounts() throws SQLException { 55 | baseDao.getAll(); 56 | } 57 | 58 | 59 | } 60 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV2/Metadata.info: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5.11.6.0 5 | Basic 6 | easywsdl 7 | LUMKPSPublicV2Soap 8 | 9 | 10 | https://tckimlik.nvi.gov.tr/Service/KPSPublicV2.asmx 11 | 12 | Core.MernisV2 13 | false 14 | true 15 | false 16 | true 17 | false 18 | false 19 | false 20 | false 21 | Default 22 | 23 | true 24 | false 25 | Java 26 | None 27 | true 28 | false 29 | false 30 | 31 | 32 | docs/Html/LUMKPSPublicV2Soap.html 33 | docs/Html/LUMKPSPublicV2Soap12.html 34 | docs/Html/LUMKPSPublicV2Soap12_methods.html 35 | docs/Html/LUMKPSPublicV2Soap_methods.html 36 | docs/Html/MTOMTransfer.html 37 | docs/Html/Tips.html 38 | docs/Index.html 39 | docs/Styles/Blueprint_Styles/Style.css 40 | LUMDateTimeConverter.java 41 | LUMExtendedSoapSerializationEnvelope.java 42 | LUMHelper.java 43 | LUMKPSPublicV2Soap.java 44 | LUMKPSPublicV2Soap12.java 45 | LUMMarshalGuid.java 46 | LUMStandardDateTimeConverter.java 47 | 48 | 49 | ExKsoap2-1.0.3.1.jar 50 | ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar 51 | 52 | 53 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/Metadata.info: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5.11.6.0 5 | Basic 6 | easywsdl 7 | EAEKPSPublicSoap 8 | 9 | 10 | https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx 11 | 12 | MernisService 13 | false 14 | true 15 | false 16 | true 17 | false 18 | false 19 | false 20 | false 21 | Default 22 | 23 | true 24 | false 25 | Java 26 | None 27 | true 28 | false 29 | false 30 | 31 | 32 | docs/Html/EAEKPSPublicSoap.html 33 | docs/Html/EAEKPSPublicSoap12.html 34 | docs/Html/EAEKPSPublicSoap12_methods.html 35 | docs/Html/EAEKPSPublicSoap_methods.html 36 | docs/Html/MTOMTransfer.html 37 | docs/Html/Tips.html 38 | docs/Index.html 39 | docs/Styles/Blueprint_Styles/Style.css 40 | EAEDateTimeConverter.java 41 | EAEExtendedSoapSerializationEnvelope.java 42 | EAEHelper.java 43 | EAEKPSPublicSoap.java 44 | EAEKPSPublicSoap12.java 45 | EAEMarshalGuid.java 46 | EAEStandardDateTimeConverter.java 47 | 48 | 49 | ExKsoap2-1.0.3.1.jar 50 | ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar 51 | 52 | 53 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Core/MernisServiceReference/Metadata.info: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5.11.6.0 5 | Basic 6 | easywsdl 7 | CTPKPSPublicSoap 8 | 9 | 10 | https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx 11 | 12 | Core.MernisServiceReference 13 | false 14 | true 15 | false 16 | true 17 | false 18 | false 19 | false 20 | false 21 | Default 22 | 23 | true 24 | false 25 | Java 26 | None 27 | true 28 | false 29 | false 30 | 31 | 32 | CTPDateTimeConverter.java 33 | CTPExtendedSoapSerializationEnvelope.java 34 | CTPHelper.java 35 | CTPKPSPublicSoap.java 36 | CTPKPSPublicSoap12.java 37 | CTPMarshalGuid.java 38 | CTPStandardDateTimeConverter.java 39 | docs/Html/CTPKPSPublicSoap.html 40 | docs/Html/CTPKPSPublicSoap12.html 41 | docs/Html/CTPKPSPublicSoap12_methods.html 42 | docs/Html/CTPKPSPublicSoap_methods.html 43 | docs/Html/MTOMTransfer.html 44 | docs/Html/Tips.html 45 | docs/Index.html 46 | docs/Styles/Blueprint_Styles/Style.css 47 | 48 | 49 | ExKsoap2-1.0.3.1.jar 50 | ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar 51 | 52 | 53 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/Metadata.info: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5.11.6.0 5 | Basic 6 | easywsdl 7 | CTPKPSPublicSoap 8 | 9 | 10 | https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx 11 | 12 | Core.MernisServiceReference 13 | false 14 | true 15 | false 16 | true 17 | false 18 | false 19 | false 20 | false 21 | Default 22 | 23 | true 24 | false 25 | Java 26 | None 27 | true 28 | false 29 | false 30 | 31 | 32 | CTPDateTimeConverter.java 33 | CTPExtendedSoapSerializationEnvelope.java 34 | CTPHelper.java 35 | CTPKPSPublicSoap.java 36 | CTPKPSPublicSoap12.java 37 | CTPMarshalGuid.java 38 | CTPStandardDateTimeConverter.java 39 | docs/Html/CTPKPSPublicSoap.html 40 | docs/Html/CTPKPSPublicSoap12.html 41 | docs/Html/CTPKPSPublicSoap12_methods.html 42 | docs/Html/CTPKPSPublicSoap_methods.html 43 | docs/Html/MTOMTransfer.html 44 | docs/Html/Tips.html 45 | docs/Index.html 46 | docs/Styles/Blueprint_Styles/Style.css 47 | 48 | 49 | ExKsoap2-1.0.3.1.jar 50 | ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar 51 | 52 | 53 | -------------------------------------------------------------------------------- /BankApp/src/Main.java: -------------------------------------------------------------------------------- 1 | import Business.abstracts.BankService; 2 | import Business.abstracts.BaseAccountService; 3 | import Business.concretes.AccountManager; 4 | import Business.concretes.BankManager; 5 | import DataAccess.concretes.PostgreSqlDao; 6 | import Entities.concretes.IndividualAccount; 7 | 8 | public class Main { 9 | 10 | public static void main(String[] args) throws Exception { 11 | 12 | //Bir hesap nesnesi oluşturuldu. 13 | IndividualAccount account1 = new IndividualAccount(); 14 | account1.setCustomerFirstName("Hasan Can"); 15 | account1.setCustomerLastName("Özbek"); 16 | account1.setCustomerTC("11111111111"); //Gerçek bir tc kimlik numarası girin 17 | account1.setCustomerBirthOfYear(2001); 18 | account1.setAccountId("11111111111"); 19 | account1.setBalance(1000); 20 | 21 | IndividualAccount account2 = new IndividualAccount("01010101010","İbrahim","Özbek","11111111111",1968,5000); 22 | /* 23 | Servislerimizi test etmek için base interface'imizi kullandık. Hesap yönetiminin varsayılan database'inin 24 | postgre olduğunu belirttik. Bu kısım ileride değiştirilebilir (Örn : MySql,Oracle). Ancak bizim kodda tek 25 | değiştireceğimiz kısım burada konfigrasyon kısmında "new yeniVeritabanı" olacak. Böylece programımıza kolayca 26 | yeni veritabanı yönetim sistemi ekleyebileceğiz. 27 | */ 28 | BaseAccountService baseAccountService = new AccountManager(new PostgreSqlDao()); 29 | 30 | //Mernis doğrulaması ile yeni hesap açılması kontrol edildi. 31 | baseAccountService.addAccount(account1); 32 | baseAccountService.addAccount(account2); 33 | 34 | //Veritabanında var olan bir hesabın kullanıcısının ismini ve soyadını değiştirebilmesi kontorl edildi. 35 | baseAccountService.updateAccount(account1,"Ebubekir","Sıddık"); 36 | 37 | //Veritabanında kayıtlı olan bir hesabın kalıcı olarak silinmesi kontrol edildi. 38 | baseAccountService.deleteAccount(account1); 39 | 40 | BankService bankService = new BankManager(new PostgreSqlDao()); 41 | 42 | //Hesaba para yatırma fonksiyonu test edildi. 43 | bankService.deposit(account1,1000); 44 | 45 | //Hesaptan para çekme fonksiyonu test edildi. 46 | bankService.withdraw(account1,1000); 47 | 48 | //Bir hesaptan başka hesaba para gönderme fonksiyonu test edildi. 49 | bankService.eft(account1,200,"xxxxxxxxxxx"); 50 | 51 | //Listeleme operasyonu test edildi. 52 | baseAccountService.getAllAccounts(); 53 | } 54 | } -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV1/docs/Html/AUOKPSPublicSoap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | AUOKPSPublicSoap class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

AUOKPSPublicSoap

15 | 16 |

SOAP Version: 1.1

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | AUOKPSPublicSoap service = new AUOKPSPublicSoap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx",30000);
    27 | service.TCKimlikNoDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | AUOKPSPublicSoap service = new AUOKPSPublicSoap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
    38 | service.TCKimlikNoDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | AUOKPSPublicSoap service = new AUOKPSPublicSoap();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.TCKimlikNoDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | AUOKPSPublicSoap service = new AUOKPSPublicSoap();
    62 | service.enableLogging=true;
    63 | service.TCKimlikNoDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /CoffeeShop/src/MernisService/docs/Html/EAEKPSPublicSoap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EAEKPSPublicSoap class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

EAEKPSPublicSoap

15 | 16 |

SOAP Version: 1.1

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | EAEKPSPublicSoap service = new EAEKPSPublicSoap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx",30000);
    27 | service.TCKimlikNoDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | EAEKPSPublicSoap service = new EAEKPSPublicSoap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
    38 | service.TCKimlikNoDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | EAEKPSPublicSoap service = new EAEKPSPublicSoap();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.TCKimlikNoDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | EAEKPSPublicSoap service = new EAEKPSPublicSoap();
    62 | service.enableLogging=true;
    63 | service.TCKimlikNoDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV1/docs/Html/AUOKPSPublicSoap12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | AUOKPSPublicSoap12 class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

AUOKPSPublicSoap12

15 | 16 |

SOAP Version: 1.2

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | AUOKPSPublicSoap12 service = new AUOKPSPublicSoap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx",30000);
    27 | service.TCKimlikNoDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | AUOKPSPublicSoap12 service = new AUOKPSPublicSoap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
    38 | service.TCKimlikNoDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | AUOKPSPublicSoap12 service = new AUOKPSPublicSoap12();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.TCKimlikNoDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | AUOKPSPublicSoap12 service = new AUOKPSPublicSoap12();
    62 | service.enableLogging=true;
    63 | service.TCKimlikNoDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/docs/Html/EAEKPSPublicSoap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EAEKPSPublicSoap class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

EAEKPSPublicSoap

15 | 16 |

SOAP Version: 1.1

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | EAEKPSPublicSoap service = new EAEKPSPublicSoap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx",30000);
    27 | service.TCKimlikNoDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | EAEKPSPublicSoap service = new EAEKPSPublicSoap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
    38 | service.TCKimlikNoDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | EAEKPSPublicSoap service = new EAEKPSPublicSoap();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.TCKimlikNoDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | EAEKPSPublicSoap service = new EAEKPSPublicSoap();
    62 | service.enableLogging=true;
    63 | service.TCKimlikNoDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /CoffeeShop/src/MernisService/docs/Html/EAEKPSPublicSoap12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EAEKPSPublicSoap12 class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

EAEKPSPublicSoap12

15 | 16 |

SOAP Version: 1.2

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | EAEKPSPublicSoap12 service = new EAEKPSPublicSoap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx",30000);
    27 | service.TCKimlikNoDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | EAEKPSPublicSoap12 service = new EAEKPSPublicSoap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
    38 | service.TCKimlikNoDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | EAEKPSPublicSoap12 service = new EAEKPSPublicSoap12();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.TCKimlikNoDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | EAEKPSPublicSoap12 service = new EAEKPSPublicSoap12();
    62 | service.enableLogging=true;
    63 | service.TCKimlikNoDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Core/MernisServiceReference/docs/Html/CTPKPSPublicSoap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CTPKPSPublicSoap class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

CTPKPSPublicSoap

15 | 16 |

SOAP Version: 1.1

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | CTPKPSPublicSoap service = new CTPKPSPublicSoap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx",30000);
    27 | service.TCKimlikNoDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | CTPKPSPublicSoap service = new CTPKPSPublicSoap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
    38 | service.TCKimlikNoDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | CTPKPSPublicSoap service = new CTPKPSPublicSoap();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.TCKimlikNoDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | CTPKPSPublicSoap service = new CTPKPSPublicSoap();
    62 | service.enableLogging=true;
    63 | service.TCKimlikNoDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV2/docs/Html/LUMKPSPublicV2Soap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | LUMKPSPublicV2Soap class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

LUMKPSPublicV2Soap

15 | 16 |

SOAP Version: 1.1

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | LUMKPSPublicV2Soap service = new LUMKPSPublicV2Soap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublicV2.asmx",30000);
    27 | service.KisiVeCuzdanDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | LUMKPSPublicV2Soap service = new LUMKPSPublicV2Soap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublicV2.asmx");
    38 | service.KisiVeCuzdanDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | LUMKPSPublicV2Soap service = new LUMKPSPublicV2Soap();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.KisiVeCuzdanDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | LUMKPSPublicV2Soap service = new LUMKPSPublicV2Soap();
    62 | service.enableLogging=true;
    63 | service.KisiVeCuzdanDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /CoffeeShop/out/production/CoffeeShop/MernisService/docs/Html/EAEKPSPublicSoap12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | EAEKPSPublicSoap12 class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

EAEKPSPublicSoap12

15 | 16 |

SOAP Version: 1.2

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | EAEKPSPublicSoap12 service = new EAEKPSPublicSoap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx",30000);
    27 | service.TCKimlikNoDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | EAEKPSPublicSoap12 service = new EAEKPSPublicSoap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
    38 | service.TCKimlikNoDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | EAEKPSPublicSoap12 service = new EAEKPSPublicSoap12();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.TCKimlikNoDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | EAEKPSPublicSoap12 service = new EAEKPSPublicSoap12();
    62 | service.enableLogging=true;
    63 | service.TCKimlikNoDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Core/MernisServiceReference/docs/Html/CTPKPSPublicSoap12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CTPKPSPublicSoap12 class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

CTPKPSPublicSoap12

15 | 16 |

SOAP Version: 1.2

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | CTPKPSPublicSoap12 service = new CTPKPSPublicSoap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx",30000);
    27 | service.TCKimlikNoDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | CTPKPSPublicSoap12 service = new CTPKPSPublicSoap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
    38 | service.TCKimlikNoDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | CTPKPSPublicSoap12 service = new CTPKPSPublicSoap12();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.TCKimlikNoDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | CTPKPSPublicSoap12 service = new CTPKPSPublicSoap12();
    62 | service.enableLogging=true;
    63 | service.TCKimlikNoDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/docs/Html/CTPKPSPublicSoap.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CTPKPSPublicSoap class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

CTPKPSPublicSoap

15 | 16 |

SOAP Version: 1.1

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | CTPKPSPublicSoap service = new CTPKPSPublicSoap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx",30000);
    27 | service.TCKimlikNoDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | CTPKPSPublicSoap service = new CTPKPSPublicSoap(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
    38 | service.TCKimlikNoDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | CTPKPSPublicSoap service = new CTPKPSPublicSoap();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.TCKimlikNoDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | CTPKPSPublicSoap service = new CTPKPSPublicSoap();
    62 | service.enableLogging=true;
    63 | service.TCKimlikNoDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV2/docs/Html/LUMKPSPublicV2Soap12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | LUMKPSPublicV2Soap12 class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

LUMKPSPublicV2Soap12

15 | 16 |

SOAP Version: 1.2

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | LUMKPSPublicV2Soap12 service = new LUMKPSPublicV2Soap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublicV2.asmx",30000);
    27 | service.KisiVeCuzdanDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | LUMKPSPublicV2Soap12 service = new LUMKPSPublicV2Soap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublicV2.asmx");
    38 | service.KisiVeCuzdanDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | LUMKPSPublicV2Soap12 service = new LUMKPSPublicV2Soap12();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.KisiVeCuzdanDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | LUMKPSPublicV2Soap12 service = new LUMKPSPublicV2Soap12();
    62 | service.enableLogging=true;
    63 | service.KisiVeCuzdanDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /GameStoreManagement/out/production/GameStoreManagement/Core/MernisServiceReference/docs/Html/CTPKPSPublicSoap12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | CTPKPSPublicSoap12 class 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

CTPKPSPublicSoap12

15 | 16 |

SOAP Version: 1.2

17 |

Main class which you can use to connect to your web service

18 | 19 |

Important settings

20 |
    21 |
  • Timeout - the timeout for network operations, in milliseconds. By default: 60 sec. 22 |
    23 | Example:
    24 |
    25 |                     
    26 | CTPKPSPublicSoap12 service = new CTPKPSPublicSoap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx",30000);
    27 | service.TCKimlikNoDogrula();
    28 |                     
    29 |         
    30 | 
    31 |
  • 32 |
  • Url - the web service address. By default it is retrieved from the wsdl file 33 |
    34 | Example:
    35 |
    36 |                     
    37 | CTPKPSPublicSoap12 service = new CTPKPSPublicSoap12(null,"https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx");
    38 | service.TCKimlikNoDogrula();
    39 |                     
    40 |         
    41 | 
    42 |
  • 43 |
  • httpHeaders - allows you to add custom headers to the http requests. 44 |
    45 | Example:
    46 |
    47 |                     
    48 | CTPKPSPublicSoap12 service = new CTPKPSPublicSoap12();
    49 | service.httpHeaders.add( new HeaderProperty("Authorization","Basic QWxhZGRpbjpPcGVuU2VzYW1l"));
    50 | service.TCKimlikNoDogrula();
    51 |                     
    52 | 
    53 | 54 |
  • 55 |
  • 56 | Enable logging - if you enable logging, all requests/responses will be write to the console (for debugging purposes) 57 |
    58 | Example:
    59 |
    60 |                     
    61 | CTPKPSPublicSoap12 service = new CTPKPSPublicSoap12();
    62 | service.enableLogging=true;
    63 | service.TCKimlikNoDogrula();
    64 |                     
    65 | 
    66 |
  • 67 |
68 | 69 |

Methods

70 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /BankApp/src/Business/concretes/BankManager.java: -------------------------------------------------------------------------------- 1 | package Business.concretes; 2 | 3 | import Business.abstracts.BankService; 4 | import DataAccess.abstracts.BaseDao; 5 | import DataAccess.concretes.DbHelper; 6 | import Entities.concretes.IndividualAccount; 7 | 8 | import java.sql.*; 9 | 10 | public class BankManager implements BankService { 11 | 12 | 13 | /* 14 | Banka hizmetlerini yapan class. 15 | deposit : belirtilen tutarda hesaba para yatırır. 16 | withdraw : belirtilen tutarda hesaptan para çeker. 17 | eft : kullanıcının hesabından bir başka kayıtlı kullanıcının hesabına para gönderir. 18 | draw : özel hesaplar arasındaki çekilişi düzenler. 19 | */ 20 | 21 | //Constructor injection yapıldı. 22 | BaseDao baseDao; 23 | public BankManager(BaseDao baseDao){ this.baseDao = baseDao; } 24 | 25 | DbHelper dbHelper = new DbHelper(); 26 | Connection connection = null; 27 | PreparedStatement statement = null; 28 | ResultSet resultSet; 29 | 30 | @Override 31 | public void deposit(IndividualAccount individualAccount, int amount) throws SQLException { 32 | baseDao.deposit(individualAccount,amount); 33 | } 34 | 35 | @Override 36 | public void withdraw(IndividualAccount individualAccount, int amount) throws SQLException { 37 | try { 38 | connection = dbHelper.getConnection(); 39 | String sql = "SELECT balance FROM individual_accounts WHERE customer_tc = ?"; 40 | statement = connection.prepareStatement(sql); 41 | statement.setString(1,individualAccount.getCustomerTC()); 42 | resultSet = statement.executeQuery(); 43 | while (resultSet.next()){ 44 | int balance = resultSet.getInt("balance"); 45 | if(amount <= balance){ 46 | baseDao.withdraw(individualAccount,amount); 47 | } 48 | else{ 49 | System.out.println("Hesaptan para çekilemedi."); 50 | } 51 | } 52 | 53 | } catch (SQLException exception) { 54 | dbHelper.showErrorMessage(exception); 55 | } 56 | finally { 57 | statement.close(); 58 | connection.close(); 59 | } 60 | } 61 | 62 | @Override 63 | public void eft(IndividualAccount individualAccount, int amount, String iban) throws SQLException { 64 | try { 65 | connection = dbHelper.getConnection(); 66 | String sql = "SELECT customer_tc FROM individual_accounts WHERE account_id=?"; 67 | statement = connection.prepareStatement(sql); 68 | statement.setString(1,iban); 69 | resultSet = statement.executeQuery(); 70 | if (resultSet.next()) { 71 | baseDao.transfer(individualAccount, amount, iban); 72 | } 73 | else{ 74 | System.out.println("Havale yapılamadı."); 75 | } 76 | } 77 | catch (SQLException exception){ 78 | dbHelper.showErrorMessage(exception); 79 | } 80 | finally { 81 | statement.close(); 82 | connection.close(); 83 | } 84 | } 85 | 86 | } 87 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV1/AUOStandardDateTimeConverter.java: -------------------------------------------------------------------------------- 1 | package Core.MernisV1; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | import java.text.SimpleDateFormat; 13 | import java.util.Date; 14 | import java.util.Locale; 15 | 16 | 17 | 18 | public class AUOStandardDateTimeConverter implements AUODateTimeConverter 19 | { 20 | public java.util.TimeZone TimeZone=java.util.TimeZone.getTimeZone("UTC"); 21 | 22 | @Override 23 | public Date convertDateTime(String strDate) 24 | { 25 | java.lang.String[] formats = new java.lang.String[] { 26 | "yyyy-MM-dd'T'HH:mm:ss.SSS", 27 | "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", 28 | "yyyy-MM-dd'T'HH:mm:ssZ", 29 | "yyyy-MM-dd'T'HH:mm:ss", 30 | "yyyy-MM-dd'T'HH:mm", 31 | "yyyy-MM-dd" 32 | }; 33 | return parse(strDate,formats); 34 | } 35 | 36 | private Date parse(String strDate,java.lang.String[] formats){ 37 | if(strDate==null) 38 | { 39 | return null; 40 | } 41 | for (java.lang.String frm : formats) 42 | { 43 | try 44 | { 45 | SimpleDateFormat format = new SimpleDateFormat(frm, Locale.US); 46 | format.setTimeZone(java.util.TimeZone.getTimeZone("UTC")); 47 | return format.parse(strDate); 48 | } 49 | catch (java.lang.Exception ex) 50 | { 51 | } 52 | } 53 | return null; 54 | } 55 | 56 | @Override 57 | public Date convertTime(String strDate) 58 | { 59 | java.lang.String[] formats = new java.lang.String[] { 60 | "HH:mm:ss.SSS", 61 | "HH:mm:ss", 62 | "HH:mm" 63 | }; 64 | return parse(strDate,formats); 65 | } 66 | 67 | @Override 68 | public Date convertDate(String strDate) 69 | { 70 | return convertDateTime(strDate); 71 | } 72 | 73 | @Override 74 | public String convertDuration(String value) { 75 | return value; 76 | } 77 | 78 | @Override 79 | public String getStringFromDateTime(Date value) 80 | { 81 | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.US); 82 | format.setTimeZone(TimeZone); 83 | return format.format(value); 84 | } 85 | 86 | @Override 87 | public String getStringFromDate(Date value) 88 | { 89 | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd", Locale.US); 90 | format.setTimeZone(TimeZone); 91 | return format.format(value); 92 | } 93 | 94 | @Override 95 | public String getStringFromTime(Date value) 96 | { 97 | SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss", Locale.US); 98 | format.setTimeZone(TimeZone); 99 | return format.format(value); 100 | } 101 | 102 | @Override 103 | public String getStringFromDuration(String value) 104 | { 105 | return value; 106 | } 107 | } 108 | 109 | 110 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV2/LUMStandardDateTimeConverter.java: -------------------------------------------------------------------------------- 1 | package Core.MernisV2; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | import java.text.SimpleDateFormat; 13 | import java.util.Date; 14 | import java.util.Locale; 15 | 16 | 17 | 18 | public class LUMStandardDateTimeConverter implements LUMDateTimeConverter 19 | { 20 | public java.util.TimeZone TimeZone=java.util.TimeZone.getTimeZone("UTC"); 21 | 22 | @Override 23 | public Date convertDateTime(String strDate) 24 | { 25 | java.lang.String[] formats = new java.lang.String[] { 26 | "yyyy-MM-dd'T'HH:mm:ss.SSS", 27 | "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", 28 | "yyyy-MM-dd'T'HH:mm:ssZ", 29 | "yyyy-MM-dd'T'HH:mm:ss", 30 | "yyyy-MM-dd'T'HH:mm", 31 | "yyyy-MM-dd" 32 | }; 33 | return parse(strDate,formats); 34 | } 35 | 36 | private Date parse(String strDate,java.lang.String[] formats){ 37 | if(strDate==null) 38 | { 39 | return null; 40 | } 41 | for (java.lang.String frm : formats) 42 | { 43 | try 44 | { 45 | SimpleDateFormat format = new SimpleDateFormat(frm, Locale.US); 46 | format.setTimeZone(java.util.TimeZone.getTimeZone("UTC")); 47 | return format.parse(strDate); 48 | } 49 | catch (java.lang.Exception ex) 50 | { 51 | } 52 | } 53 | return null; 54 | } 55 | 56 | @Override 57 | public Date convertTime(String strDate) 58 | { 59 | java.lang.String[] formats = new java.lang.String[] { 60 | "HH:mm:ss.SSS", 61 | "HH:mm:ss", 62 | "HH:mm" 63 | }; 64 | return parse(strDate,formats); 65 | } 66 | 67 | @Override 68 | public Date convertDate(String strDate) 69 | { 70 | return convertDateTime(strDate); 71 | } 72 | 73 | @Override 74 | public String convertDuration(String value) { 75 | return value; 76 | } 77 | 78 | @Override 79 | public String getStringFromDateTime(Date value) 80 | { 81 | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.US); 82 | format.setTimeZone(TimeZone); 83 | return format.format(value); 84 | } 85 | 86 | @Override 87 | public String getStringFromDate(Date value) 88 | { 89 | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd", Locale.US); 90 | format.setTimeZone(TimeZone); 91 | return format.format(value); 92 | } 93 | 94 | @Override 95 | public String getStringFromTime(Date value) 96 | { 97 | SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss", Locale.US); 98 | format.setTimeZone(TimeZone); 99 | return format.format(value); 100 | } 101 | 102 | @Override 103 | public String getStringFromDuration(String value) 104 | { 105 | return value; 106 | } 107 | } 108 | 109 | 110 | -------------------------------------------------------------------------------- /CoffeeShop/src/MernisService/EAEStandardDateTimeConverter.java: -------------------------------------------------------------------------------- 1 | package MernisService; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | import java.text.SimpleDateFormat; 13 | import java.util.Date; 14 | import java.util.Locale; 15 | 16 | 17 | 18 | public class EAEStandardDateTimeConverter implements EAEDateTimeConverter 19 | { 20 | public java.util.TimeZone TimeZone=java.util.TimeZone.getTimeZone("UTC"); 21 | 22 | @Override 23 | public Date convertDateTime(String strDate) 24 | { 25 | java.lang.String[] formats = new java.lang.String[] { 26 | "yyyy-MM-dd'T'HH:mm:ss.SSS", 27 | "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", 28 | "yyyy-MM-dd'T'HH:mm:ssZ", 29 | "yyyy-MM-dd'T'HH:mm:ss", 30 | "yyyy-MM-dd'T'HH:mm", 31 | "yyyy-MM-dd" 32 | }; 33 | return parse(strDate,formats); 34 | } 35 | 36 | private Date parse(String strDate,java.lang.String[] formats){ 37 | if(strDate==null) 38 | { 39 | return null; 40 | } 41 | for (java.lang.String frm : formats) 42 | { 43 | try 44 | { 45 | SimpleDateFormat format = new SimpleDateFormat(frm, Locale.US); 46 | format.setTimeZone(java.util.TimeZone.getTimeZone("UTC")); 47 | return format.parse(strDate); 48 | } 49 | catch (java.lang.Exception ex) 50 | { 51 | } 52 | } 53 | return null; 54 | } 55 | 56 | @Override 57 | public Date convertTime(String strDate) 58 | { 59 | java.lang.String[] formats = new java.lang.String[] { 60 | "HH:mm:ss.SSS", 61 | "HH:mm:ss", 62 | "HH:mm" 63 | }; 64 | return parse(strDate,formats); 65 | } 66 | 67 | @Override 68 | public Date convertDate(String strDate) 69 | { 70 | return convertDateTime(strDate); 71 | } 72 | 73 | @Override 74 | public String convertDuration(String value) { 75 | return value; 76 | } 77 | 78 | @Override 79 | public String getStringFromDateTime(Date value) 80 | { 81 | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.US); 82 | format.setTimeZone(TimeZone); 83 | return format.format(value); 84 | } 85 | 86 | @Override 87 | public String getStringFromDate(Date value) 88 | { 89 | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd", Locale.US); 90 | format.setTimeZone(TimeZone); 91 | return format.format(value); 92 | } 93 | 94 | @Override 95 | public String getStringFromTime(Date value) 96 | { 97 | SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss", Locale.US); 98 | format.setTimeZone(TimeZone); 99 | return format.format(value); 100 | } 101 | 102 | @Override 103 | public String getStringFromDuration(String value) 104 | { 105 | return value; 106 | } 107 | } 108 | 109 | 110 | -------------------------------------------------------------------------------- /GameStoreManagement/src/Core/MernisServiceReference/CTPStandardDateTimeConverter.java: -------------------------------------------------------------------------------- 1 | package Core.MernisServiceReference; 2 | 3 | //---------------------------------------------------- 4 | // 5 | // Generated by www.easywsdl.com 6 | // Version: 5.11.6.0 7 | // 8 | // Created by Quasar Development 9 | // 10 | //---------------------------------------------------- 11 | 12 | import java.text.SimpleDateFormat; 13 | import java.util.Date; 14 | import java.util.Locale; 15 | 16 | 17 | 18 | public class CTPStandardDateTimeConverter implements CTPDateTimeConverter 19 | { 20 | public java.util.TimeZone TimeZone=java.util.TimeZone.getTimeZone("UTC"); 21 | 22 | @Override 23 | public Date convertDateTime(String strDate) 24 | { 25 | java.lang.String[] formats = new java.lang.String[] { 26 | "yyyy-MM-dd'T'HH:mm:ss.SSS", 27 | "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", 28 | "yyyy-MM-dd'T'HH:mm:ssZ", 29 | "yyyy-MM-dd'T'HH:mm:ss", 30 | "yyyy-MM-dd'T'HH:mm", 31 | "yyyy-MM-dd" 32 | }; 33 | return parse(strDate,formats); 34 | } 35 | 36 | private Date parse(String strDate,java.lang.String[] formats){ 37 | if(strDate==null) 38 | { 39 | return null; 40 | } 41 | for (java.lang.String frm : formats) 42 | { 43 | try 44 | { 45 | SimpleDateFormat format = new SimpleDateFormat(frm, Locale.US); 46 | format.setTimeZone(java.util.TimeZone.getTimeZone("UTC")); 47 | return format.parse(strDate); 48 | } 49 | catch (java.lang.Exception ex) 50 | { 51 | } 52 | } 53 | return null; 54 | } 55 | 56 | @Override 57 | public Date convertTime(String strDate) 58 | { 59 | java.lang.String[] formats = new java.lang.String[] { 60 | "HH:mm:ss.SSS", 61 | "HH:mm:ss", 62 | "HH:mm" 63 | }; 64 | return parse(strDate,formats); 65 | } 66 | 67 | @Override 68 | public Date convertDate(String strDate) 69 | { 70 | return convertDateTime(strDate); 71 | } 72 | 73 | @Override 74 | public String convertDuration(String value) { 75 | return value; 76 | } 77 | 78 | @Override 79 | public String getStringFromDateTime(Date value) 80 | { 81 | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.US); 82 | format.setTimeZone(TimeZone); 83 | return format.format(value); 84 | } 85 | 86 | @Override 87 | public String getStringFromDate(Date value) 88 | { 89 | SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd", Locale.US); 90 | format.setTimeZone(TimeZone); 91 | return format.format(value); 92 | } 93 | 94 | @Override 95 | public String getStringFromTime(Date value) 96 | { 97 | SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss", Locale.US); 98 | format.setTimeZone(TimeZone); 99 | return format.format(value); 100 | } 101 | 102 | @Override 103 | public String getStringFromDuration(String value) 104 | { 105 | return value; 106 | } 107 | } 108 | 109 | 110 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV1/docs/Index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | EasyWSDL - Getting started 8 | 9 | 10 |

Read me first!

11 |

Thanks for using EasyWSDL generator. You have generated classes using Free account which has two main limitations, which are:

12 |
    13 |
  1. Classes generated by Free account cannot be used in commercial projects

  2. 14 |
  3. We have generated a half of your methods only (in this case your webservice contains 1 operations, and we have generated 0 only. The other methods throw UnsupportedOperationException

  4. 15 |
16 |

Basically you should use these classes for testing purposes. You can check if our generator works with your web service, without spending any money. Then if you are satisfied with the results, you can buy a Premium account and generated your classes again.

17 |

Getting started

18 | 19 |
    20 |
  1. 21 |

    In your android/java project create a new package folder (name of this folder should match the Package name of generated classes)

  2. 22 |
  3. 23 |

    Go to src subfolder of generated package and copy all files to your project (to newly created folder).

  4. 24 |
  5. 25 |

    In libs subfolder you will find all jars needed for generated classes. Copy all jars to your project and add references to them (every IDE has different way of adding refenreces to external jars)

  6. 26 |
  7. 27 |

    28 | Add INTERNET permission to your AndroidManifest.xml file 29 |
    30 | 31 | <uses-permission android:name="android.permission.INTERNET"/> 32 |

    33 |
  8. 34 |
  9. 35 |

    36 | Use the following code to connect to your webservice: 37 |
    38 | AUOKPSPublicSoap service = new AUOKPSPublicSoap();
    39 | service.MethodToInvoke(...); 40 |

    41 |
  10. 42 |
43 | 44 |
45 |

Warning: I got compilation error: com.android.dex.DexException: Multiple dex files define Lorg/kobjects/...

46 |

47 | This problem occures when you have many copies of ksoap2.jar added as dependencies in your project. For Premium account we add ExKsoap2.jar library which already has ksoap2.jar. Sometimes this causes conflicts. 48 | In this case should add ExKsoap2.jar only to your dependencies (without ksoap2.jar). If you added both ExKsoap2.jar and Ksoap.jar libs, then you can have this issue. To solve it, please remove Ksoap2.jar from dependencies. 49 |

50 |
51 |

Your main service classes

52 | 56 | 57 |

Other topics

58 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /CoffeeShop/src/MernisService/docs/Index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | EasyWSDL - Getting started 8 | 9 | 10 |

Read me first!

11 |

Thanks for using EasyWSDL generator. You have generated classes using Free account which has two main limitations, which are:

12 |
    13 |
  1. Classes generated by Free account cannot be used in commercial projects

  2. 14 |
  3. We have generated a half of your methods only (in this case your webservice contains 1 operations, and we have generated 0 only. The other methods throw UnsupportedOperationException

  4. 15 |
16 |

Basically you should use these classes for testing purposes. You can check if our generator works with your web service, without spending any money. Then if you are satisfied with the results, you can buy a Premium account and generated your classes again.

17 |

Getting started

18 | 19 |
    20 |
  1. 21 |

    In your android/java project create a new package folder (name of this folder should match the Package name of generated classes)

  2. 22 |
  3. 23 |

    Go to src subfolder of generated package and copy all files to your project (to newly created folder).

  4. 24 |
  5. 25 |

    In libs subfolder you will find all jars needed for generated classes. Copy all jars to your project and add references to them (every IDE has different way of adding refenreces to external jars)

  6. 26 |
  7. 27 |

    28 | Add INTERNET permission to your AndroidManifest.xml file 29 |
    30 | 31 | <uses-permission android:name="android.permission.INTERNET"/> 32 |

    33 |
  8. 34 |
  9. 35 |

    36 | Use the following code to connect to your webservice: 37 |
    38 | EAEKPSPublicSoap service = new EAEKPSPublicSoap();
    39 | service.MethodToInvoke(...); 40 |

    41 |
  10. 42 |
43 | 44 |
45 |

Warning: I got compilation error: com.android.dex.DexException: Multiple dex files define Lorg/kobjects/...

46 |

47 | This problem occures when you have many copies of ksoap2.jar added as dependencies in your project. For Premium account we add ExKsoap2.jar library which already has ksoap2.jar. Sometimes this causes conflicts. 48 | In this case should add ExKsoap2.jar only to your dependencies (without ksoap2.jar). If you added both ExKsoap2.jar and Ksoap.jar libs, then you can have this issue. To solve it, please remove Ksoap2.jar from dependencies. 49 |

50 |
51 |

Your main service classes

52 | 56 | 57 |

Other topics

58 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /BankApp/src/Core/MernisV2/docs/Index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | EasyWSDL - Getting started 8 | 9 | 10 |

Read me first!

11 |

Thanks for using EasyWSDL generator. You have generated classes using Free account which has two main limitations, which are:

12 |
    13 |
  1. Classes generated by Free account cannot be used in commercial projects

  2. 14 |
  3. We have generated a half of your methods only (in this case your webservice contains 1 operations, and we have generated 0 only. The other methods throw UnsupportedOperationException

  4. 15 |
16 |

Basically you should use these classes for testing purposes. You can check if our generator works with your web service, without spending any money. Then if you are satisfied with the results, you can buy a Premium account and generated your classes again.

17 |

Getting started

18 | 19 |
    20 |
  1. 21 |

    In your android/java project create a new package folder (name of this folder should match the Package name of generated classes)

  2. 22 |
  3. 23 |

    Go to src subfolder of generated package and copy all files to your project (to newly created folder).

  4. 24 |
  5. 25 |

    In libs subfolder you will find all jars needed for generated classes. Copy all jars to your project and add references to them (every IDE has different way of adding refenreces to external jars)

  6. 26 |
  7. 27 |

    28 | Add INTERNET permission to your AndroidManifest.xml file 29 |
    30 | 31 | <uses-permission android:name="android.permission.INTERNET"/> 32 |

    33 |
  8. 34 |
  9. 35 |

    36 | Use the following code to connect to your webservice: 37 |
    38 | LUMKPSPublicV2Soap service = new LUMKPSPublicV2Soap();
    39 | service.MethodToInvoke(...); 40 |

    41 |
  10. 42 |
43 | 44 |
45 |

Warning: I got compilation error: com.android.dex.DexException: Multiple dex files define Lorg/kobjects/...

46 |

47 | This problem occures when you have many copies of ksoap2.jar added as dependencies in your project. For Premium account we add ExKsoap2.jar library which already has ksoap2.jar. Sometimes this causes conflicts. 48 | In this case should add ExKsoap2.jar only to your dependencies (without ksoap2.jar). If you added both ExKsoap2.jar and Ksoap.jar libs, then you can have this issue. To solve it, please remove Ksoap2.jar from dependencies. 49 |

50 |
51 |

Your main service classes

52 | 56 | 57 |

Other topics

58 | 66 | 67 | 68 | 69 | --------------------------------------------------------------------------------