Saturday, April 4, 2015

Generic Methods, Static Classes & Improved API Architecture by Aspose.Task for Java

What’s new in this release?

We are pleased to announce the release of Aspose.Tasks for Java 8.1.0. We have included a number of improvements to the revamped API that enhances the overall product functionality and usage. It’s now more easy to use, well-structured in terms of expansion and scalability, and gives users more control over the application logic.  The API has been re-written to provide the following improvements as compared to the old API. Improved API Architecture: The ported version of Aspose.Tasks for Java, from the revamped version of Aspose.Tasks for .NET, provides the same level of independence to users for getting and setting certain properties. This enables users to focus on their application logic only and frees them from taking care of calling recalculation methods manually. The API has been re-written to provide the following improvements as compared to the old API. Aspose.Tasks for Java now introduces generic set and get methods for manipulating various properties of the project data collections such as Project, Task, Resource, and ResourceAssignments. There is no direct access to the properties of these data collections which gives more control over the API functionality using the defined generic methods. The new API has static classes for grouping properties related to Project, Tasks, Resources and Resource Assignments. That includes Prj, Tsk, Rsc and Asn. The use of these in combination with get/set methods facilitates for achieving desired settings.The new API has manual as well as automatic recalculation modes that are similar in functionality to Microsoft Project (MSP). When the calculation mode is set to automatic, it recalculates everything, while the manual mode calculates only the necessary fields. The API, thus, eliminates the need of calling recalculating methods manually. Since, the new API is totally revamped and is completely different from the old API, the old codes won’t work in almost all the cases. Therefore, we have updated the API documentation with code samples based on the revamped API of Aspose.Tasks for Java. You can get started with the new API by visiting the Programmer’s Guide section of the product documentation. Additionally, the API reference guide section of our documentation provides complete documentation about the API classes, methods and properties. You can quickly get started with the new API and start replacing your application codes by following the Migration Article from our documentation section. It guides you towards new API usage by providing comparative sample codes of the legacy as well as new API. The revamped version of Aspose.Tasks for Java has all the features and functionality that were part of the legacy API and no single feature is missing/non-implemented. As far as the legacy API is concerned, we’ll keep fixing bugs in the legacy version for three months after which support for old API will no more be available. However, improvements and new features will be implemented in the revamped version of Aspose.Tasks for Java only. You can also find a PDF version of the legacy API documentation in the Resources section of our release section. Below is the complete list of bug fixes and enhanced features included in this release.
  • Implement creation of read only custom fields using formula and reading capability from MPP
  • Implement custom bar style writing to mpp 2003-2013 formats
  • Option to read custom bar style fields like Top, Bottom, Left, Right and Inside
  • Support for Importing Primavera XML file format
  • Project Data to HTML with HTMLSaveOptions
  • Provision of Moving a Task from one parent to other
  • Implement work usage fields rendering in Details Column according to Usage Details settings
  • Write formulas in extended attributes to mpp file formats
  • Read formulas in local extended attributes from mpp file format
  • Implement read-only access to custom field values when using formulas
  • Read formulas in enterprise extended attributes from mpp file format
  • MPP->XML raises ArgumentOutOfRangeException
  • Output MPP file cannot be opened in MSP 2007 after updating the hyperlinks
  • Wrong behavior in Manual Mode
  • Project.Recalcuate raises Exception
  • Error raised when saved File using Aspose.Tasks is opened, modified, saved and reopened wiht MSP
  • OutlineOutdent and OutlineIndent not working properly
Overview: Aspose.Tasks for Java

Aspose.Tasks is a non-graphical Java Project management component that enables Java applications to read, write & manage Project documents without utilizing MS Project. It supports reading MS Project Template (MPT) files as well as allows exporting project data to HTML, BMP, PNG, JPEG, PDF, TIFF, XPS, XAML and SVG formats. It reads & writes MS Project documents in both MPP & XML formats.  Developers can read & change tasks, recurring tasks, resources, resource assignments, relations & calendars.

No comments:

Post a Comment