Package org.pau.assetmanager.viewmodel.utils

Examples of org.pau.assetmanager.viewmodel.utils.AnnotationsFilter


 
  public static List<Annotation> getAllStocksAnnotationsFromDatabaseUntilYear(
      BookSelection bookSelection, Integer lastYear,
      ClientDomainType clientDomainType, SortingCriteria sortingCriteria) {
    AnnotationsFilter annotationsFilter = AnnotationsFilter.emptyAnnotationsFilter();
    SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd-MM-yyyy");
    Date dateTo;
    try {
      dateTo = simpleDateFormat.parse("31-12-"+lastYear);
      annotationsFilter.setDateTo(dateTo);
    } catch (ParseException e) {
      //TODO: log error
      e.printStackTrace();
    }
    Collection<Annotation> annotations = AnnotationsBusiness
View Full Code Here

TOP

Related Classes of org.pau.assetmanager.viewmodel.utils.AnnotationsFilter

Copyright © 2018 www.massapicom. 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.