org.xiruss.repository.server.reuse_support
Class CompoundDocumentStorageObject

java.lang.Object
  extended by org.xiruss.repository.server.RepositoryObjectBase
      extended by org.xiruss.repository.server.VersionBase
          extended by org.xiruss.repository.server.CompoundDocumentBase
              extended by org.xiruss.repository.server.StorageObjectBase
                  extended by org.xiruss.repository.server.reuse_support.CompoundDocumentStorageObject
All Implemented Interfaces:
java.lang.Comparable, CompoundDocument, StorageObject, RepositoryObject, Version

public class CompoundDocumentStorageObject
extends StorageObjectBase
implements CompoundDocument

Represents a storage object that is also the root of a compound document.


Field Summary
(package private)  java.util.HashMap membersCache
           
 
Fields inherited from class org.xiruss.repository.server.StorageObjectBase
length
 
Fields inherited from class org.xiruss.repository.server.RepositoryObjectBase
id, name, objectTypeConstant, properties, rep
 
Constructor Summary
CompoundDocumentStorageObject()
           
 
Method Summary
 VersionMap getMemberVersions(Snapshot snapshot)
          Returns the versions rooted at this version based on UBR dependencies.
 
Methods inherited from class org.xiruss.repository.server.StorageObjectBase
canWrite, close, closeWriter, getBytes, getMimeType, getOriginalSystemId, getWriterForImpl, length, openInputStream, openOutputStream, setStorageObjectData
 
Methods inherited from class org.xiruss.repository.server.CompoundDocumentBase
accept
 
Methods inherited from class org.xiruss.repository.server.VersionBase
addDependency, addNextVersion, addPreviousVersion, checkIsNotFixed, collectTargetVersions, compareTo, dependsOn, dependsOn, getDependencies, getDependenciesByType, getNext, getPrevious, getResource, initialize, initialize, isFixed, setAsFixed, setPrevious, setResource
 
Methods inherited from class org.xiruss.repository.server.RepositoryObjectBase
getId, getName, getProperties, getProperty, getPropertyNames, getRepository, getType, hasProperty, initialize, initialize, isNull, setId, setName, setProperties, setProperty, setRepository, setType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xiruss.snapcm.api.Version
addDependency, addNextVersion, addPreviousVersion, checkIsNotFixed, collectTargetVersions, dependsOn, dependsOn, getDependencies, getDependenciesByType, getNext, getPrevious, getResource, initialize, initialize, isFixed, setAsFixed, setPrevious
 
Methods inherited from interface org.xiruss.snapcm.api.RepositoryObject
accept, compareTo, getId, getName, getProperties, getProperty, getPropertyNames, getRepository, getType, hasProperty, initialize, isNull, setId, setName, setProperty, toString
 

Field Detail

membersCache

java.util.HashMap membersCache
Constructor Detail

CompoundDocumentStorageObject

public CompoundDocumentStorageObject()
Method Detail

getMemberVersions

public VersionMap getMemberVersions(Snapshot snapshot)
Returns the versions rooted at this version based on UBR dependencies.

Specified by:
getMemberVersions in interface CompoundDocument
Overrides:
getMemberVersions in class CompoundDocumentBase
Parameters:
snapshot - The snapshot on which to resolve the dependencies.
Returns:
Version map of members.