org.apache.jackrabbit.server.io
Class ImportCollectionChain

java.lang.Object
  extended byorg.apache.commons.chain.impl.ChainBase
      extended byorg.apache.jackrabbit.server.io.ImportCollectionChain
All Implemented Interfaces:
org.apache.commons.chain.Chain, org.apache.commons.chain.Command, org.apache.jackrabbit.JcrConstants

public class ImportCollectionChain
extends org.apache.commons.chain.impl.ChainBase
implements org.apache.jackrabbit.JcrConstants

This Class implements a default chain for importing collection resources. It adds the following commands:


Field Summary
static String NAME
          The default name of this chain.
 
Fields inherited from class org.apache.commons.chain.impl.ChainBase
commands, frozen
 
Fields inherited from interface org.apache.jackrabbit.JcrConstants
JCR_AUTOCREATED, JCR_BASEVERSION, JCR_CHILD, JCR_CHILDNODEDEFINITION, JCR_CONTENT, JCR_CREATED, JCR_DATA, JCR_DEFAULTPRIMARYTYPE, JCR_DEFAULTVALUES, JCR_ENCODING, JCR_FROZENMIXINTYPES, JCR_FROZENNODE, JCR_FROZENPRIMARYTYPE, JCR_FROZENUUID, JCR_HASORDERABLECHILDNODES, JCR_ISCHECKEDOUT, JCR_ISMIXIN, JCR_LANGUAGE, JCR_LASTMODIFIED, JCR_LOCKISDEEP, JCR_LOCKOWNER, JCR_MANDATORY, JCR_MERGEFAILED, JCR_MIMETYPE, JCR_MIXINTYPES, JCR_MULTIPLE, JCR_NAME, JCR_NODETYPENAME, JCR_ONPARENTVERSION, JCR_PATH, JCR_PREDECESSORS, JCR_PRIMARYITEMNAME, JCR_PRIMARYTYPE, JCR_PROPERTYDEFINITION, JCR_PROTECTED, JCR_REQUIREDPRIMARYTYPES, JCR_REQUIREDTYPE, JCR_ROOTVERSION, JCR_SAMENAMESIBLINGS, JCR_SCORE, JCR_STATEMENT, JCR_SUCCESSORS, JCR_SUPERTYPES, JCR_SYSTEM, JCR_UUID, JCR_VALUECONSTRAINTS, JCR_VERSIONABLEUUID, JCR_VERSIONHISTORY, JCR_VERSIONLABELS, JCR_VERSIONSTORAGE, MIX_LOCKABLE, MIX_REFERENCEABLE, MIX_VERSIONABLE, NT_BASE, NT_CHILDNODEDEFINITION, NT_FILE, NT_FOLDER, NT_FROZENNODE, NT_HIERARCHYNODE, NT_LINKEDFILE, NT_NODETYPE, NT_PROPERTYDEFINITION, NT_QUERY, NT_RESOURCE, NT_UNSTRUCTURED, NT_VERSION, NT_VERSIONEDCHILD, NT_VERSIONHISTORY, NT_VERSIONLABELS
 
Constructor Summary
ImportCollectionChain()
          Creates a new default import chain for importing collection resource.
 
Method Summary
static org.apache.commons.chain.Command getChain()
          Returns an import chain.
 
Methods inherited from class org.apache.commons.chain.impl.ChainBase
addCommand, execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
The default name of this chain.

See Also:
Constant Field Values
Constructor Detail

ImportCollectionChain

public ImportCollectionChain()
Creates a new default import chain for importing collection resource.

Method Detail

getChain

public static org.apache.commons.chain.Command getChain()
Returns an import chain. It first tries to lookup the command in the default catalog. If this failes, a new instance of this class is returned.

Returns:
an import chain.


Copyright © 2005 . All Rights Reserved.