<!--

    Copyright (C) 2009 eXo Platform SAS.

    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->
<catalog>
   <!-- Core JCR commands -->
   <command name="addNode" className="org.exoplatform.frameworks.jcr.command.core.AddNodeCommand" />
   <command name="save" className="org.exoplatform.frameworks.jcr.command.core.SaveCommand" />
   <command name="setProperty" className="org.exoplatform.frameworks.jcr.command.core.SetPropertyCommand" />
   <command name="remove" className="org.exoplatform.frameworks.jcr.command.core.RemoveItemCommand" />
   <command name="getProperty" className="org.exoplatform.frameworks.jcr.command.core.GetPropertyCommand" />
   <command name="getNode" className="org.exoplatform.frameworks.jcr.command.core.GetNodeCommand" />
   <command name="getNodes" className="org.exoplatform.frameworks.jcr.command.core.GetChildNodesCommand" />
   <command name="getProperties" className="org.exoplatform.frameworks.jcr.command.core.GetChildPropertiesCommand" />


   <command name="filterNodesByTypes" className="org.exoplatform.frameworks.jcr.command.ext.FilterNodesByTypesCommand" />
   <command name="addResourceFile" className="org.exoplatform.frameworks.jcr.command.ext.AddResourceFileCommand" />


   <!-- Chains with nested commands -->
   <chain name="retrieveNodeCommand">
      <command id="1" className="org.exoplatform.frameworks.jcr.command.core.GetNodeCommand" />
      <command id="2" className="org.exoplatform.frameworks.jcr.command.GetNodeAsXMLCommand" />
   </chain>

   <chain name="displayResource">
      <command id="1" className="org.exoplatform.frameworks.jcr.command.core.GetNodeCommand" />
      <command id="2" className="org.exoplatform.frameworks.jcr.command.web.DisplayResourceCommand" />
   </chain>

</catalog>
