package com.axelor.apps.account.service.fixedasset;

import com.axelor.apps.account.db.FixedAsset;
import com.axelor.apps.account.db.FixedAssetLine;

public interface FixedAssetLineComputationService {

  FixedAssetLine computeInitialPlannedFixedAssetLine(FixedAsset fixedAsset);

  FixedAssetLine computePlannedFixedAssetLine(
      FixedAsset fixedAsset, FixedAssetLine previousFixedAssetLine);
}

@@ -147,138 +147,651 @@
 e;%0A%0A
-public interface FixedAssetLineComputationService %7B%0A%0A  FixedAssetLine computeInitialPlannedFixedAssetLine(FixedAsset fixedAsset);%0A
+/** This service is used to compute new lines from an existing fixed asset header. */%0Apublic interface FixedAssetLineComputationService %7B%0A%0A  /**%0A   * Compute the first fixed asset line from an empty fixed asset.%0A   *%0A   * @param fixedAsset a fixed asset with no lines%0A   * @return the created fixed asset line%0A   */%0A  FixedAssetLine computeInitialPlannedFixedAssetLine(FixedAsset fixedAsset);%0A%0A  /**%0A   * Compute the next fixed asset line from a fixed asset and the previous line.%0A   *%0A   * @param fixedAsset a fixed asset with existing lines%0A   * @param previousFixedAssetLine the previous line%0A   * @return the created fixed asset line%0A   */
 %0A  F

add javadoc to fixed asset line computation service