All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.anaptecs.jeaf.accounting.activities.CreateCustomerActivityImpl Maven / Gradle / Ivy

There is a newer version: 1.24.1
Show newest version
/*
 * anaptecs GmbH, Ricarda-Huch-Str. 71, 72760 Reutlingen, Germany
 *
 * Copyright 2004 - 2019. All rights reserved.
 */
package com.anaptecs.jeaf.accounting.activities;

import com.anaptecs.jeaf.accounting.Customer;
import com.anaptecs.jeaf.core.annotations.JEAFActivityImpl;
import com.anaptecs.jeaf.core.api.ServiceObjectID;

/**
 * Implementation of activity CreateCustomerActivity. Activity is responsible to create a new customer. Besides storing
 * the data this also includes additional tasks like address validation.
 */
@JEAFActivityImpl(activityInterface = CreateCustomerActivity.class)
public class CreateCustomerActivityImpl implements CreateCustomerActivity {
  /**
   * Create new instance of activity.
   */
  CreateCustomerActivityImpl( ) {
  }

  /**
   * Activity is responsible to create a new customer. Besides storing the data this also includes additional tasks like
   * address validation.
   *
   * @param pNewCustomer
   * @param pAttendingEmployee
   * @return Customer
   */
  @Override
  public Customer execute( Customer pNewCustomer, ServiceObjectID pAttendingEmployee ) {
    // TODO: Implement business logic for activity.
    return null;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy