-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OOAD , Workflow , SMTP Mail Service Integrated
- Loading branch information
Showing
58 changed files
with
2,453 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ore/src/main/java/org/ticketbooking/core/api/web/customer/AbstractCustomerApiService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.ticketbooking.core.api.web.customer; | ||
|
||
import javax.annotation.Resource; | ||
|
||
import org.ticketbooking.core.api.jaxb.user.UserDetails; | ||
import org.ticketbooking.core.domain.user.Customer; | ||
import org.ticketbooking.core.service.customer.CustomerService; | ||
|
||
public abstract class AbstractCustomerApiService implements CustomerApiService { | ||
|
||
@Resource(name = "customerService") | ||
protected CustomerService customerService; | ||
|
||
protected Customer performCustomerCreation(UserDetails userDetails) { | ||
return customerService.performCustomerCreation(userDetails); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...okingSystem/booking-core/src/main/java/org/ticketbooking/core/dao/address/AddressDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package org.ticketbooking.core.dao.address; | ||
|
||
import org.ticketbooking.core.domain.user.AddressImpl; | ||
import org.ticketbooking.core.domain.user.Address; | ||
|
||
public interface AddressDao { | ||
void createAddress(AddressImpl address); | ||
void createAddress(Address address); | ||
void deleteAddress(Long id); | ||
AddressImpl fetchAddress(Long id); | ||
Address fetchAddress(Long id); | ||
//List<AddressImpl> fetchAddressByCustomer(Long customerId); | ||
void updateAddress(AddressImpl address); | ||
void updateAddress(Address address); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...tem/booking-core/src/main/java/org/ticketbooking/core/dao/address/country/CountryDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
package org.ticketbooking.core.dao.address.country; | ||
|
||
import org.ticketbooking.core.domain.user.Country; | ||
import org.ticketbooking.core.domain.user.CountryImpl; | ||
|
||
public interface CountryDao { | ||
void createCountry(CountryImpl country); | ||
void createCountry(Country country); | ||
CountryImpl fetchCountry(Long id); | ||
CountryImpl fetchCountryByName(String name); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...gSystem/booking-core/src/main/java/org/ticketbooking/core/dao/address/state/StateDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package org.ticketbooking.core.dao.address.state; | ||
|
||
import org.ticketbooking.core.domain.user.StateImpl; | ||
import org.ticketbooking.core.domain.user.State; | ||
|
||
public interface StateDao { | ||
void createState(StateImpl state); | ||
StateImpl fetchState(Long id); | ||
StateImpl fetchStateByName(String name); | ||
void createState(State state); | ||
State fetchState(Long id); | ||
State fetchStateByName(String name); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
...ng-core/src/main/java/org/ticketbooking/core/dao/customer/address/CustomerAddressDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
package org.ticketbooking.core.dao.customer.address; | ||
|
||
import org.ticketbooking.core.domain.user.CustomerAddressImpl; | ||
|
||
|
||
import org.ticketbooking.core.domain.user.CustomerAddress; | ||
|
||
public interface CustomerAddressDao{ | ||
void createCustomerAddress(CustomerAddressImpl customerAddress); | ||
void createCustomerAddress(CustomerAddress customerAddress); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
...tBookingSystem/booking-core/src/main/java/org/ticketbooking/core/domain/other/Locale.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
package org.ticketbooking.core.domain.other; | ||
|
||
import java.io.Serializable; | ||
|
||
import org.ticketbooking.core.domain.user.Country; | ||
import org.ticketbooking.core.domain.user.CountryImpl; | ||
|
||
|
||
public interface Locale { | ||
public interface Locale extends Serializable{ | ||
public Long getId(); | ||
public void setId(Long id); | ||
public String getName(); | ||
public void setName(String name); | ||
public String getTimeZone(); | ||
public void setTimeZone(String timeZone); | ||
public Country getCountry(); | ||
public void setCountry(CountryImpl country); | ||
public void setCountry(Country country); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
...tBookingSystem/booking-core/src/main/java/org/ticketbooking/core/domain/user/Country.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
package org.ticketbooking.core.domain.user; | ||
|
||
import org.ticketbooking.core.domain.other.Locale; | ||
import org.ticketbooking.core.domain.other.LocaleImpl; | ||
|
||
public interface Country { | ||
public Long getId(); | ||
public void setId(Long id); | ||
public String getName(); | ||
public void setName(String name); | ||
public Locale getLocale(); | ||
public void setLocale(LocaleImpl locale); | ||
public void setLocale(Locale locale); | ||
public State getState(); | ||
public void setState(StateImpl state); | ||
public void setState(State state); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.