org.exist.collections
Class CollectionConfiguration

java.lang.Object
  extended by org.exist.collections.CollectionConfiguration

public class CollectionConfiguration
extends Object


Nested Class Summary
static class CollectionConfiguration.TriggerConfig
           
 
Field Summary
static String COLLECTION_CONFIG_SUFFIX
           
static XmldbURI COLLECTION_CONFIG_SUFFIX_URI
           
static String DEFAULT_COLLECTION_CONFIG_FILE
           
static XmldbURI DEFAULT_COLLECTION_CONFIG_FILE_URI
           
static String NAMESPACE
           
 
Constructor Summary
CollectionConfiguration(BrokerPool pool)
           
 
Method Summary
 int getDefCollPermissions()
           
 int getDefResPermissions()
           
 XmldbURI getDocName()
           
 IndexSpec getIndexConfiguration()
           
 XmldbURI getSourceCollectionURI()
           
 CollectionConfiguration.TriggerConfig getTriggerConfiguration(int eventType)
           
 int getValidationMode()
           
static boolean isCollectionConfigDocument(DocumentImpl doc)
           
static boolean isCollectionConfigDocument(XmldbURI docName)
           
 Trigger newTrigger(int eventType, DBBroker broker, Collection collection)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COLLECTION_CONFIG_SUFFIX

public static final String COLLECTION_CONFIG_SUFFIX
See Also:
Constant Field Values

COLLECTION_CONFIG_SUFFIX_URI

public static final XmldbURI COLLECTION_CONFIG_SUFFIX_URI

DEFAULT_COLLECTION_CONFIG_FILE

public static final String DEFAULT_COLLECTION_CONFIG_FILE
See Also:
Constant Field Values

DEFAULT_COLLECTION_CONFIG_FILE_URI

public static final XmldbURI DEFAULT_COLLECTION_CONFIG_FILE_URI

NAMESPACE

public static final String NAMESPACE
See Also:
Constant Field Values
Constructor Detail

CollectionConfiguration

public CollectionConfiguration(BrokerPool pool)
Method Detail

isCollectionConfigDocument

public static boolean isCollectionConfigDocument(XmldbURI docName)

isCollectionConfigDocument

public static boolean isCollectionConfigDocument(DocumentImpl doc)

getDocName

public XmldbURI getDocName()

getSourceCollectionURI

public XmldbURI getSourceCollectionURI()

getDefCollPermissions

public int getDefCollPermissions()

getDefResPermissions

public int getDefResPermissions()

getValidationMode

public int getValidationMode()

getIndexConfiguration

public IndexSpec getIndexConfiguration()

newTrigger

public Trigger newTrigger(int eventType,
                          DBBroker broker,
                          Collection collection)
                   throws CollectionConfigurationException
Throws:
CollectionConfigurationException

getTriggerConfiguration

public CollectionConfiguration.TriggerConfig getTriggerConfiguration(int eventType)

toString

public String toString()
Overrides:
toString in class Object


Copyright (C) Wolfgang Meier. All rights reserved.