Liferay Portal’s Export/Import and Staging features give users the power to plan page publication and manage content. The Export/Import feature lets users export content from the Portal and import external content into the Portal. Providing the export feature in your application allows users the flexibility of exporting content they’ve created in your application to other places, such as another portal instance, or to save the content for a later use. Import does the opposite: it brings the data from a LAR file into your portal.

For instance, suppose you’re managing an online education course using Liferay Portal. Because of the nature of an online course, the site’s data (grades, assignments, etc.) is purged every semester to make way for new incoming students. In a scenario like this, there is a need frequently to store a complete record of all data given during a course. The institution offering the course must usually keep records of the course’s data for a minimum number of years. To abide by these requirements, having a gradebook application with an export/import feature would allow you to clear the application’s data for a new semester, but save the previous class’s work. You could export the students’ grades as a LAR file and save it outside the course’s site. If the grades ever needed to be accessed again, you could import the LAR and view the student records.

The Export/Import feature adds another dimension to your application by letting you produce reusable content and import content from other places. To learn more about using the Export/Import feature, visit the Exporting/Importing App Data section of the User Guide.

Staging lets you change your site behind the scenes without affecting the live site, and then you can publish all the changes in one fell swoop. If you include staging support in your application, your users can stage its content until it’s ready.

For example, if you have an application that provides information intended only during a specific holiday, supporting the Staging environment lets users save your application’s assets specific for that holiday. They’ll reside in the Staging environment until they’re ready for publishing. To learn more about Staging, visit the Staging Content for Publication section.

Besides configuring these features for your application, Liferay also provides an API that allows developers to write custom code, extending Liferay’s default functionality. In this section of tutorials, you’ll learn about the various extension points and other options that are provided to you for export/import and staging.

Understanding Data Handlers

A common requirement for many data driven applications is to import and export data. This could be accomplished by accessing your database directly and running SQL queries to export/import data;...

Read More

Developing Data Handlers

To leverage the Export/Import framework’s ability to export/import a LAR file, you can implement Data Handlers in your application. There are two types of data handlers you can implement: Portlet...

Read More

Initiating New Processes with ExportImportConfiguration Objects

Liferay Portal’s Staging and Export/Import features are the building blocks for creating, managing, and publishing a site. These features can be accessed in your Portal’s Publishing Tools menu. You...

Read More

Using the Export/Import Lifecycle Listener Framework

The ExportImportLifecycleListener framework allows developers to write code that listens for certain staging or export/import events during the publication process. The staging and export/import...

Read More
0 (0 Votes)
Liferay’s Workflow Framework Previous