public class ServiceFactory extends Object
Constructor and Description |
---|
ServiceFactory(URL url,
Credentials credentials,
Transport transport)
Creates the factory.
|
Modifier and Type | Method and Description |
---|---|
ActivationService |
getActivationService()
Server for activating andoird applications.
|
AuthService |
getAuthService()
Common aggregation for utility methods requires authentication.
|
BookingService |
getBookingService()
Exchange data for Booking entity.
|
BuildInfoService |
getBuildInfoService()
Exchange data for build info entity.
|
CategoryService |
getCategoryService()
Exchange data for CategoryLog entity.
|
CommodityService |
getCommodityService()
Exchange data for Commodity entity.
|
CustomizationGroupService |
getCustomizationGroupService()
Exchange data for customization group entity.
|
CustomizationItemService |
getCustomizationItemService()
Exchange data for customization item service entity.
|
DayService |
getDayService()
Exchange data for day entity.
|
DeviceService |
getDeviceService()
Sends devices info.
|
EJournalService |
getEJournalService() |
EmailService |
getEmailService()
Sends e-mails.
|
HairdresserService |
getHairdresserService()
Exchange data for Hairdresser entity.
|
KdFacetService |
getKdFacetService()
Manage kdFacet entity.
|
KeyboardEntryService |
getKeyboardEntryService()
Exchange data for KeyboardEntryLog entity.
|
KeyboardService |
getKeyboardService()
Exchange data for KeyboardLog entity.
|
OrderService |
getOrderService()
Sending order.
|
PosPlusService |
getPosPlusService()
To send data to control unit connected to the server.
|
PreceptService |
getPreceptService()
Sending precept.
|
ProductService |
getProductService()
Exchange data for ProductLog entity.
|
ReceiptSettingsService |
getReceiptSettingsService()
Manage date for receipt settings entity.
|
RegistrationService |
getRegistrationService()
Exchange data for Registration entity.
|
RestaurantService |
getRestaurantService()
Exchange data for Restaurant entity.
|
SaleService |
getSaleService()
Exchange data for Sale service entity.
|
SaleSlotService |
getSaleSlotService()
Exchange data for sale slot entity.
|
SellerService |
getSellerService()
Exchange data for SellerLog entity related to currently authentcated seller.
|
ServerService |
getServerService()
Setup server.
|
SignatureHelper |
getSignatureHelper()
Helper to work with digital signatures.
|
SoftwareVendorService |
getSoftwareVendorService()
Exchange data for software vendor entity.
|
TaxService |
getTaxService()
Exchange data for TaxLog entity.
|
TreasurerService |
getTreasurerService()
Exchange data for Treasurer entity.
|
UserService |
getUserService()
Manage users.
|
private final ServerService serverService
private final ActivationService activationService
private AuthService authService
private SellerService sellerService
private TaxService taxService
private ProductService productService
private OrderService orderService
private CategoryService categoryService
private CommodityService commodityService
private PosPlusService posPlusService
private KeyboardService keyboardService
private KeyboardEntryService keyboardEntryService
private RegistrationService registrationService
private TreasurerService treasurerService
private RestaurantService restaurantService
private SignatureHelper signatureHelper
private BookingService bookingService
private SaleService saleService
private CustomizationItemService customizationItemService
private CustomizationGroupService customizationGroupService
private SaleSlotService saleSlotService
private SoftwareVendorService softwareVendorService
private BuildInfoService buildInfoService
private KdFacetService kdFacetService
private UserService userService
private ReceiptSettingsService receiptSettingsService
private PreceptService preceptService
private DeviceService deviceService
private HairdresserService hairdresserService
private DayService dayService
private EmailService emailService
private EJournalService eJournalService
public ServiceFactory(URL url, Credentials credentials, Transport transport)
url
- specify url of the server (usually https://a.srv4pos.com/api/v{versionNumber})credentials
- specify username and password to connect to or null if you want to connect to public methodstransport
- specify a mecanism to make api calls, see Transport
for more info.public AuthService getAuthService()
public SellerService getSellerService()
public TaxService getTaxService()
public ProductService getProductService()
public OrderService getOrderService()
public CategoryService getCategoryService()
public CommodityService getCommodityService()
public ServerService getServerService()
public ActivationService getActivationService()
public PosPlusService getPosPlusService()
public KeyboardService getKeyboardService()
public KeyboardEntryService getKeyboardEntryService()
public RegistrationService getRegistrationService()
public TreasurerService getTreasurerService()
public RestaurantService getRestaurantService()
public SignatureHelper getSignatureHelper()
public BookingService getBookingService()
public SaleService getSaleService()
public CustomizationItemService getCustomizationItemService()
public CustomizationGroupService getCustomizationGroupService()
public SaleSlotService getSaleSlotService()
public SoftwareVendorService getSoftwareVendorService()
public BuildInfoService getBuildInfoService()
public KdFacetService getKdFacetService()
public UserService getUserService()
public ReceiptSettingsService getReceiptSettingsService()
public PreceptService getPreceptService()
public DeviceService getDeviceService()
public HairdresserService getHairdresserService()
public DayService getDayService()
public EmailService getEmailService()
public EJournalService getEJournalService()
Copyright © 2016. All rights reserved.