gatein SVN: r7673 - epp/portal/branches/EPP_5_2_Branch.
by do-not-reply@jboss.org
Author: bdaw
Date: 2011-10-05 12:28:08 -0400 (Wed, 05 Oct 2011)
New Revision: 7673
Modified:
epp/portal/branches/EPP_5_2_Branch/pom.xml
Log:
JBEPP-1259 Upgrade gatein-parent gatein-dep and gatein-common dependencies
Modified: epp/portal/branches/EPP_5_2_Branch/pom.xml
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/pom.xml 2011-10-05 13:47:51 UTC (rev 7672)
+++ epp/portal/branches/EPP_5_2_Branch/pom.xml 2011-10-05 16:28:08 UTC (rev 7673)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.gatein</groupId>
<artifactId>gatein-parent</artifactId>
- <version>1.0.2-GA</version>
+ <version>1.1.0-GA</version>
</parent>
<groupId>org.exoplatform.portal</groupId>
@@ -48,7 +48,7 @@
<org.shindig.version>2.0.2-Beta03</org.shindig.version>
<nl.captcha.simplecaptcha.version>1.1.1-GA-Patch01</nl.captcha.simplecaptcha.version>
<org.gatein.parent.version>${parent.version}</org.gatein.parent.version>
- <org.gatein.common.version>2.0.4-Beta03</org.gatein.common.version>
+ <org.gatein.common.version>2.0.4-GA</org.gatein.common.version>
<org.gatein.dep.version>1.1.0-Beta06</org.gatein.dep.version>
<org.gatein.wci.version>2.1.0-Beta06</org.gatein.wci.version>
<org.gatein.pc.version>2.3.0-Beta06</org.gatein.pc.version>
@@ -104,7 +104,7 @@
<dependency>
<groupId>org.gatein</groupId>
<artifactId>gatein-dep</artifactId>
- <version>1.1.0-Beta06</version>
+ <version>1.1.0-GA</version>
<type>pom</type>
<scope>import</scope>
</dependency>
13 years, 3 months
gatein SVN: r7672 - portal/trunk.
by do-not-reply@jboss.org
Author: bdaw
Date: 2011-10-05 09:47:51 -0400 (Wed, 05 Oct 2011)
New Revision: 7672
Modified:
portal/trunk/pom.xml
Log:
GTNPORTAL-2151 Upgrade gatein-parent gatein-dep and gatein-common dependencies
Modified: portal/trunk/pom.xml
===================================================================
--- portal/trunk/pom.xml 2011-10-05 12:49:01 UTC (rev 7671)
+++ portal/trunk/pom.xml 2011-10-05 13:47:51 UTC (rev 7672)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.gatein</groupId>
<artifactId>gatein-parent</artifactId>
- <version>1.1.0-Beta02</version>
+ <version>1.1.0-GA</version>
</parent>
<groupId>org.exoplatform.portal</groupId>
@@ -43,7 +43,7 @@
<org.exoplatform.jcr.version>1.14.1-GA</org.exoplatform.jcr.version>
<org.shindig.version>2.0.2-Beta03</org.shindig.version>
<nl.captcha.simplecaptcha.version>1.1.1-GA-Patch01</nl.captcha.simplecaptcha.version>
- <org.gatein.common.version>2.0.4-Beta03</org.gatein.common.version>
+ <org.gatein.common.version>2.0.4-GA</org.gatein.common.version>
<org.gatein.wci.version>2.1.0-Beta06</org.gatein.wci.version>
<org.gatein.pc.version>2.3.0-Beta06</org.gatein.pc.version>
<org.picketlink.idm>1.3.0.Alpha04</org.picketlink.idm>
@@ -96,7 +96,7 @@
<dependency>
<groupId>org.gatein</groupId>
<artifactId>gatein-dep</artifactId>
- <version>1.1.0-Beta06</version>
+ <version>1.1.0-GA</version>
<type>pom</type>
<scope>import</scope>
</dependency>
13 years, 3 months
gatein SVN: r7671 - portal/trunk.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2011-10-05 08:49:01 -0400 (Wed, 05 Oct 2011)
New Revision: 7671
Modified:
portal/trunk/pom.xml
Log:
- Updated to use Chromattic 1.1.0.
Modified: portal/trunk/pom.xml
===================================================================
--- portal/trunk/pom.xml 2011-10-05 11:48:47 UTC (rev 7670)
+++ portal/trunk/pom.xml 2011-10-05 12:49:01 UTC (rev 7671)
@@ -55,7 +55,7 @@
<rhino.version>1.6R5</rhino.version>
<org.codehaus.groovy.version>1.7.6</org.codehaus.groovy.version>
<javax.servlet.version>2.5</javax.servlet.version>
- <version.chromattic>1.1.0-beta7</version.chromattic>
+ <version.chromattic>1.1.0</version.chromattic>
<version.reflext>1.1.0-beta12</version.reflext>
<org.staxnav.version>0.9.6</org.staxnav.version>
<jcip.version>1.0</jcip.version>
13 years, 3 months
gatein SVN: r7670 - in components/common/trunk: common and 2 other directories.
by do-not-reply@jboss.org
Author: bdaw
Date: 2011-10-05 07:48:47 -0400 (Wed, 05 Oct 2011)
New Revision: 7670
Modified:
components/common/trunk/common/pom.xml
components/common/trunk/logging/pom.xml
components/common/trunk/mc/pom.xml
components/common/trunk/pom.xml
Log:
[maven-release-plugin] prepare for next development iteration
Modified: components/common/trunk/common/pom.xml
===================================================================
--- components/common/trunk/common/pom.xml 2011-10-05 11:48:42 UTC (rev 7669)
+++ components/common/trunk/common/pom.xml 2011-10-05 11:48:47 UTC (rev 7670)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.common</groupId>
<artifactId>common-parent</artifactId>
- <version>2.0.4-GA</version>
+ <version>2.0.5-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>common-common</artifactId>
Modified: components/common/trunk/logging/pom.xml
===================================================================
--- components/common/trunk/logging/pom.xml 2011-10-05 11:48:42 UTC (rev 7669)
+++ components/common/trunk/logging/pom.xml 2011-10-05 11:48:47 UTC (rev 7670)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.gatein.common</groupId>
<artifactId>common-parent</artifactId>
- <version>2.0.4-GA</version>
+ <version>2.0.5-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>common-logging</artifactId>
Modified: components/common/trunk/mc/pom.xml
===================================================================
--- components/common/trunk/mc/pom.xml 2011-10-05 11:48:42 UTC (rev 7669)
+++ components/common/trunk/mc/pom.xml 2011-10-05 11:48:47 UTC (rev 7670)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.common</groupId>
<artifactId>common-parent</artifactId>
- <version>2.0.4-GA</version>
+ <version>2.0.5-Beta01-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>common-mc</artifactId>
Modified: components/common/trunk/pom.xml
===================================================================
--- components/common/trunk/pom.xml 2011-10-05 11:48:42 UTC (rev 7669)
+++ components/common/trunk/pom.xml 2011-10-05 11:48:47 UTC (rev 7670)
@@ -6,7 +6,7 @@
<groupId>org.gatein.common</groupId>
<artifactId>common-parent</artifactId>
- <version>2.0.4-GA</version>
+ <version>2.0.5-Beta01-SNAPSHOT</version>
<packaging>pom</packaging>
<parent>
@@ -16,9 +16,9 @@
</parent>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/common/tags/2.0....</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/gatein/components/common/tags/2.0.4-GA</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/common/tags/2.0.4-GA</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/common/trunk</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/gatein/components/common/trunk</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/common/trunk</url>
</scm>
<!-- Import dependency management configuration -->
13 years, 3 months
gatein SVN: r7669 - components/common/tags.
by do-not-reply@jboss.org
Author: bdaw
Date: 2011-10-05 07:48:42 -0400 (Wed, 05 Oct 2011)
New Revision: 7669
Added:
components/common/tags/2.0.4-GA/
Log:
[maven-release-plugin] copy for tag 2.0.4-GA
13 years, 3 months
gatein SVN: r7668 - in components/common/trunk: common and 2 other directories.
by do-not-reply@jboss.org
Author: bdaw
Date: 2011-10-05 07:48:31 -0400 (Wed, 05 Oct 2011)
New Revision: 7668
Modified:
components/common/trunk/common/pom.xml
components/common/trunk/logging/pom.xml
components/common/trunk/mc/pom.xml
components/common/trunk/pom.xml
Log:
[maven-release-plugin] prepare release 2.0.4-GA
Modified: components/common/trunk/common/pom.xml
===================================================================
--- components/common/trunk/common/pom.xml 2011-10-05 11:42:30 UTC (rev 7667)
+++ components/common/trunk/common/pom.xml 2011-10-05 11:48:31 UTC (rev 7668)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.common</groupId>
<artifactId>common-parent</artifactId>
- <version>2.0.4-Beta04-SNAPSHOT</version>
+ <version>2.0.4-GA</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>common-common</artifactId>
Modified: components/common/trunk/logging/pom.xml
===================================================================
--- components/common/trunk/logging/pom.xml 2011-10-05 11:42:30 UTC (rev 7667)
+++ components/common/trunk/logging/pom.xml 2011-10-05 11:48:31 UTC (rev 7668)
@@ -21,7 +21,7 @@
<parent>
<groupId>org.gatein.common</groupId>
<artifactId>common-parent</artifactId>
- <version>2.0.4-Beta04-SNAPSHOT</version>
+ <version>2.0.4-GA</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>common-logging</artifactId>
Modified: components/common/trunk/mc/pom.xml
===================================================================
--- components/common/trunk/mc/pom.xml 2011-10-05 11:42:30 UTC (rev 7667)
+++ components/common/trunk/mc/pom.xml 2011-10-05 11:48:31 UTC (rev 7668)
@@ -2,7 +2,7 @@
<parent>
<groupId>org.gatein.common</groupId>
<artifactId>common-parent</artifactId>
- <version>2.0.4-Beta04-SNAPSHOT</version>
+ <version>2.0.4-GA</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>common-mc</artifactId>
Modified: components/common/trunk/pom.xml
===================================================================
--- components/common/trunk/pom.xml 2011-10-05 11:42:30 UTC (rev 7667)
+++ components/common/trunk/pom.xml 2011-10-05 11:48:31 UTC (rev 7668)
@@ -6,7 +6,7 @@
<groupId>org.gatein.common</groupId>
<artifactId>common-parent</artifactId>
- <version>2.0.4-Beta04-SNAPSHOT</version>
+ <version>2.0.4-GA</version>
<packaging>pom</packaging>
<parent>
@@ -16,9 +16,9 @@
</parent>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/common/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/gatein/components/common/trunk</developerConnection>
- <url>http://fisheye.jboss.org/browse/gatein/components/common/trunk</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/gatein/components/common/tags/2.0....</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/gatein/components/common/tags/2.0.4-GA</developerConnection>
+ <url>http://fisheye.jboss.org/browse/gatein/components/common/tags/2.0.4-GA</url>
</scm>
<!-- Import dependency management configuration -->
13 years, 3 months
gatein SVN: r7667 - in components/common/trunk: common and 1 other directories.
by do-not-reply@jboss.org
Author: bdaw
Date: 2011-10-05 07:42:30 -0400 (Wed, 05 Oct 2011)
New Revision: 7667
Modified:
components/common/trunk/common/pom.xml
components/common/trunk/mc/pom.xml
components/common/trunk/pom.xml
Log:
Update gatein-parent and gatein-dep to 1.1.0-GA
Modified: components/common/trunk/common/pom.xml
===================================================================
--- components/common/trunk/common/pom.xml 2011-10-05 10:20:16 UTC (rev 7666)
+++ components/common/trunk/common/pom.xml 2011-10-05 11:42:30 UTC (rev 7667)
@@ -14,7 +14,7 @@
<dependency>
<groupId>org.gatein.common</groupId>
<artifactId>common-logging</artifactId>
- <version>2.0.4-Beta04-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
Modified: components/common/trunk/mc/pom.xml
===================================================================
--- components/common/trunk/mc/pom.xml 2011-10-05 10:20:16 UTC (rev 7666)
+++ components/common/trunk/mc/pom.xml 2011-10-05 11:42:30 UTC (rev 7667)
@@ -14,7 +14,7 @@
<dependency>
<groupId>org.gatein.common</groupId>
<artifactId>common-logging</artifactId>
- <version>2.0.4-Beta04-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
Modified: components/common/trunk/pom.xml
===================================================================
--- components/common/trunk/pom.xml 2011-10-05 10:20:16 UTC (rev 7666)
+++ components/common/trunk/pom.xml 2011-10-05 11:42:30 UTC (rev 7667)
@@ -12,7 +12,7 @@
<parent>
<groupId>org.gatein</groupId>
<artifactId>gatein-parent</artifactId>
- <version>1.1.0-Beta02</version>
+ <version>1.1.0-GA</version>
</parent>
<scm>
@@ -27,7 +27,7 @@
<dependency>
<groupId>org.gatein</groupId>
<artifactId>gatein-dep</artifactId>
- <version>1.1.0-Beta06</version>
+ <version>1.1.0-GA</version>
<type>pom</type>
<scope>import</scope>
</dependency>
13 years, 3 months
gatein SVN: r7666 - in portal/trunk/docs/reference-guide/en-US: images/DataImportStrategy and 2 other directories.
by do-not-reply@jboss.org
Author: ndkhoiits
Date: 2011-10-05 06:20:16 -0400 (Wed, 05 Oct 2011)
New Revision: 7666
Added:
portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/
portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation1.png
portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation2.png
portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation_insert.png
portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation_merge.png
portal/trunk/docs/reference-guide/en-US/modules/PortalDevelopment/DataImportStrategy.xml
Modified:
portal/trunk/docs/reference-guide/en-US/modules/PortalDevelopment.xml
Log:
GTNPORTAL-2150 Update document for Data Import section
Added: portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation1.png
===================================================================
(Binary files differ)
Property changes on: portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation1.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation2.png
===================================================================
(Binary files differ)
Property changes on: portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation2.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation_insert.png
===================================================================
(Binary files differ)
Property changes on: portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation_insert.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation_merge.png
===================================================================
(Binary files differ)
Property changes on: portal/trunk/docs/reference-guide/en-US/images/DataImportStrategy/navigation_merge.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: portal/trunk/docs/reference-guide/en-US/modules/PortalDevelopment/DataImportStrategy.xml
===================================================================
--- portal/trunk/docs/reference-guide/en-US/modules/PortalDevelopment/DataImportStrategy.xml (rev 0)
+++ portal/trunk/docs/reference-guide/en-US/modules/PortalDevelopment/DataImportStrategy.xml 2011-10-05 10:20:16 UTC (rev 7666)
@@ -0,0 +1,262 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "../../Reference_Guide.ent">
+%BOOK_ENTITIES;
+]>
+<section id="sect-Reference_Guide-Data_Import_Strategy">
+ <title>Data Import Strategy</title>
+ <section id="sect-Reference_Guide-Introduction">
+ <title>Introduction</title>
+ <para>
+ In the Portal extension mechanism, developers can define an extension
+ that Portal data can be customized by configurations in the extension. There
+ are several cases which an extension developer wants to define how to customize the Portal data,
+ for example modifying, overwriting or just inserting a bit into the data defined by the portal.
+ Therefore, GateIn also defines several modes for each case and the only thing which a developer has to do is to clarify the
+ usecase and reasonably configure extensions.
+ </para>
+ <para>
+ This section shows you how data are changes in each mode.
+ </para>
+ </section>
+
+ <section id="sect-Reference_Guide-Import_Mode">
+ <title>Import Mode</title>
+ In this section, the following modes for the import strategy are introduced:
+ <itemizedlist>
+ <listitem>
+ <para>
+ <literal>CONSERVE</literal>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>MERGE</literal>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>INSERT</literal>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <literal>OVERWRITE</literal>
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ Each mode indicates how the Portal data are imported. The import mode value is
+ set whenever NewPortalConfigListener is initiated. If the mode is not set,
+ the default value will be used in this case. The default value is configurable as
+ a UserPortalConfigService initial param. For example, the bellow configuration
+ means that default value is <literal>MERGE</literal>
+ </para>
+ <programlisting role="XML"><![CDATA[
+<component>
+ <key>org.exoplatform.portal.config.UserPortalConfigService</key>
+ <type>org.exoplatform.portal.config.UserPortalConfigService</type>
+ <component-plugins>
+ ............
+ </component-plugins>
+ <init-params>
+ <value-param>
+ <name>default.import.mode</name>
+ <value>merge</value>
+ </value-param>
+ </init-params>
+</component>
+ ]]>
+ </programlisting>
+ <para>
+ The way that the import strategy works with the import mode will be clearly demonstrated in next sections for each type of data.
+ </para>
+ </section>
+ <section id="sect-Reference_Guide-Import_Strategy">
+ <title>Data Import Strategy</title>
+ The 'Portal Data' term which has been referred in the previous sections can be
+ classified into three types of object data: Portal Config, Page Data and
+ Navigation Data; each of which has some differences in the import strategy.
+ <section id="sect-Reference_Guide-Navigation_Data">
+ <title>Navigation Data</title>
+ The navigation data import strategy will be processed to the import mode level as the followings:
+ <itemizedlist>
+ <listitem>
+ <literal>CONSERVE</literal>: If the navigation exists, leave it untouched. Otherwise, import data.
+ </listitem>
+ <listitem>
+ <literal>INSERT</literal>: Insert the missing description data, but add only new nodes. Other modifications remains untouched.
+ </listitem>
+ <listitem>
+ <literal>MERGE</literal>: Merge the description data, add missing nodes and update same name nodes.
+ </listitem>
+ <listitem>
+ <literal>OVERWRITE</literal>: Always destroy the previous data and recreate it.
+ </listitem>
+ </itemizedlist>
+ <para>
+ In the GateIn navigation structure, each navigation can be referred
+ to a tree which each node links to a page content. Each node contains some
+ description data, such as label, icon, page reference, and more. Therefore, GateIn
+ provides a way to insert or merge new data to the initiated navigation tree or a
+ sub-tree.
+ </para>
+ <para>
+ The merge strategy performs the recursive comparison of child nodes between the
+ existing persistent nodes of a navigation and the transient nodes provided by
+ a descriptor:
+ <procedure id="proc-Reference_Guide-Merge_Strategy">
+ <step>
+ Start with the root nodes (which is the effective root node or another node if the parent URI is specified).
+ </step>
+ <step>
+ Compare the set of child nodes and insert the missing nodes in the persistent nodes.
+ </step>
+ <step>
+ Proceed recursively for each child having the same name.
+ </step>
+ </procedure>
+ </para>
+ Let's see the example with two navigation nodes in each import mode. In this case, there are 2 navigation definitions:
+ <programlisting role="XML"><![CDATA[<node-navigation>
+ <page-nodes>
+ <node>
+ <name>foo</name>
+ <icon>foo_icon_1</icon>
+ <node>
+ <name>juu</name>
+ <icon>juu_icon</icon>
+ </node>
+ </node>
+ <node>
+ <name>daa</name>
+ <icon>daa_icon</icon>
+ </node>
+ </page-nodes>
+</node-navigation>]]></programlisting>
+ Navigation node tree hierarchy
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/DataImportStrategy/navigation1.png" format="PNG" align="center"/>
+ </imageobject>
+ </mediaobject>
+ <programlisting role="XML"><![CDATA[<node-navigation>
+ <page-nodes>
+ <node>
+ <name>foo</name>
+ <icon>foo_icon_2</icon>
+ </node>
+ <node>
+ <name>bar</name>
+ <icon>bar_icon</icon>
+ </node>
+ </page-nodes>
+</node-navigation>]]></programlisting>
+ Navigation node tree hierarchy
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/DataImportStrategy/navigation2.png" format="PNG" align="center"/>
+ </imageobject>
+ </mediaobject>
+ <para>
+ For example, the <emphasis>navigation1</emphasis> is loaded before <emphasis>navigation2</emphasis>. The Navigation
+ Importer processes on two navigation definitions, depending on the Import Mode defined in portal configuration.
+ <itemizedlist>
+ <listitem>
+ <para>
+ Case 1: Import mode is <literal>CONSERVE</literal>.
+ </para>
+ <para>
+ With the <literal>CONSERVE</literal> mode, data are only imported when they do not exist. So, if
+ the navigation has been created by the <emphasis>navigation1</emphasis> definition, the <emphasis>navigation2</emphasis> definition
+ does not affect anything on it. We have the result as following
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/DataImportStrategy/navigation1.png" format="PNG" align="center"/>
+ </imageobject>
+ </mediaobject>
+ </listitem>
+ <listitem>
+ <para>
+ Case 2: Import mode is <literal>INSERT</literal>.
+ </para>
+ <para>
+ If a node does not exist, the importer will add new nodes to the navigation tree. You will see the following result:
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/DataImportStrategy/navigation_insert.png" format="PNG" align="center"/>
+ </imageobject>
+ </mediaobject>
+ <para>
+ Hereafter, the node 'bar' is added to the navigation tree, because it does not exist in the initiated data.
+ Other nodes are kept in the import process.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Case 3: Import mode is <literal>MERGE</literal>.
+ </para>
+ <para>
+ The <literal>MERGE</literal> mode indicates that a new node is added to the navigation tree, and
+ updates the node data (such node label and node icon in the example) if it exists.
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/DataImportStrategy/navigation_merge.png" format="PNG" align="center"/>
+ </imageobject>
+ </mediaobject>
+ </listitem>
+ <listitem>
+ <para>
+ Case 4: Import mode is <literal>OVERWRITE</literal>.
+ </para>
+ <para>
+ Everything will be destroyed and replaced with new data if the <literal>OVERWRITE</literal> mode is used.
+ </para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/DataImportStrategy/navigation2.png" format="PNG" align="center"/>
+ </imageobject>
+ </mediaobject>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </section>
+ <section id="sect-Reference_Guide-Portal_Config">
+ <title>Portal Config</title>
+ <para>
+ PortalConfig defines the portal name, permission, layout and some properties
+ of a site. These information are configured in the <emphasis>portal.xml</emphasis>, <emphasis>group.xml</emphasis> or
+ <emphasis>user.xml</emphasis>, depending on the site type. The PortalConfig importer performs a strategy
+ that is based on the mode defined in NewPortalConfigListener, including <literal>CONSERVE</literal>,
+ <literal>INSERT</literal>, <literal>MERGE</literal> or <literal>OVERWRITE</literal>. Let's see how the import mode affects in the process of
+ portal data performance:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <literal>CONSERVE</literal>: There is nothing to be imported. The existing data will be kept without any changes.
+ </listitem>
+ <listitem>
+ <literal>INSERT</literal>: When the portal config does not exist, create the new portal defined by the portal config definition. Otherwise, do nothing.
+ </listitem>
+ <listitem>
+ <literal>MERGE</literal> and <literal>OVERWRITE</literal> have the same behavior. The new portal config will be created if it does not exist or update portal properties defined by the portal config definition.
+ </listitem>
+ </itemizedlist>
+ </section>
+ <section id="sect-Reference_Guide-Page_Data">
+ <title>Page Data</title>
+ <para>
+ The import mode affects the page data import as the same as Portal Config.
+ </para>
+ </section>
+ <note>
+ <para>
+ If the Import mode is <literal>CONSERVE</literal> or <literal>INSERT</literal>, the data import strategy always performs
+ as the <literal>MERGE</literal> mode in the first data initialization of the Portal.
+ </para>
+ </note>
+ </section>
+</section>
Modified: portal/trunk/docs/reference-guide/en-US/modules/PortalDevelopment.xml
===================================================================
--- portal/trunk/docs/reference-guide/en-US/modules/PortalDevelopment.xml 2011-10-05 10:16:08 UTC (rev 7665)
+++ portal/trunk/docs/reference-guide/en-US/modules/PortalDevelopment.xml 2011-10-05 10:20:16 UTC (rev 7666)
@@ -10,6 +10,7 @@
<xi:include href="PortalDevelopment/DefaultPortalConfiguration.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="PortalDevelopment/DefaultPortalPermissionConfiguration.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="PortalDevelopment/DefaultPortalNavigationConfiguration.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="PortalDevelopment/DataImportStrategy.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="PortalDevelopment/InternationalizationConfiguration.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="PortalDevelopment/LocalizationConfiguration.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="PortalDevelopment/RTLFramework.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
13 years, 3 months
gatein SVN: r7664 - maven/dep/tags.
by do-not-reply@jboss.org
Author: bdaw
Date: 2011-10-05 06:16:03 -0400 (Wed, 05 Oct 2011)
New Revision: 7664
Added:
maven/dep/tags/1.1.0-GA/
Log:
[maven-release-plugin] copy for tag 1.1.0-GA
13 years, 3 months