Examples of MovementIncomeAnnotation


Examples of org.pau.assetmanager.entities.MovementIncomeAnnotation

      @BindingParam("annotation") MovementExpensesAnnotation movementExpensesAnnotation,
      @ContextParam(ContextType.TRIGGER_EVENT) Event event) {
    String defaultConcept = ConceptsBusiness.getDefaultConcept(movementExpensesAnnotation.getClass().getSimpleName());
    Date currentDate = new Date();

    MovementIncomeAnnotation movementIncomeAnnotation = movementExpensesAnnotation
        .getMovementIncomeAnnotation();
    movementIncomeAnnotation.setId(null);
    movementIncomeAnnotation.setDate(currentDate);
    movementIncomeAnnotation.setConcept(defaultConcept);
    addAnnotation(movementIncomeAnnotation);

    movementExpensesAnnotation.setId(null);
    movementExpensesAnnotation.setDate(currentDate);
    movementExpensesAnnotation.setConcept(defaultConcept);
View Full Code Here

Examples of org.pau.assetmanager.entities.MovementIncomeAnnotation

  @GlobalCommand
  public void addMovementAnnotation(
      @BindingParam("destinationBook") Book destinationBook) {
    if (annotationType.equals(AnnotationType.EXPENSES)) {

      MovementIncomeAnnotation movementIncomeAnnotation = new MovementIncomeAnnotation();
      movementIncomeAnnotation.setDone(true);
      addDefaultValuesToAnnotation(
          movementIncomeAnnotation, destinationBook, currentYear,
          annotationsFilter);
      movementIncomeAnnotation = (MovementIncomeAnnotation) addAnnotation(movementIncomeAnnotation);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.