XFolder and XDocInfo

With the introduction of foldering an object is added to represent the batch structure, the XFolder (CscXFolder) object. The root object represents the batch and reflects its structure containing all dependent sub folders and documents in hierarchically organized folder and document collections. It is typically called root XFolder. The XDocument is represented by a new object called XDocInfo (CscXDocInfo) that allows basic access to core information of the document without loading the XDocument object itself which might be an expensive operation. If an object corresponding to the XDocument object for an XFolder does not exist, the XFolder is fully represented by the XFolder object.

These objects are present independent of foldering. If foldering is not activated the root XFolder does not contain any sub folders and it is not possible to handle batch level fields, but the management of the documents like the definition of the sequence is done by its collection of XDocInfos.

Library Model of the XFolder/XDocInfo Objects