Class MockVersion

  • All Implemented Interfaces:
    Serializable, org.alfresco.service.cmr.version.Version

    public class MockVersion
    extends Object
    implements org.alfresco.service.cmr.version.Version
    See Also:
    Serialized Form
    • Constructor Detail

      • MockVersion

        public MockVersion()
    • Method Detail

      • getCreatedDate

        public Date getCreatedDate()
        Specified by:
        getCreatedDate in interface org.alfresco.service.cmr.version.Version
      • getCreator

        public String getCreator()
        Specified by:
        getCreator in interface org.alfresco.service.cmr.version.Version
      • getFrozenModifiedDate

        public Date getFrozenModifiedDate()
        Specified by:
        getFrozenModifiedDate in interface org.alfresco.service.cmr.version.Version
      • getFrozenModifier

        public String getFrozenModifier()
        Specified by:
        getFrozenModifier in interface org.alfresco.service.cmr.version.Version
      • getVersionLabel

        public String getVersionLabel()
        Specified by:
        getVersionLabel in interface org.alfresco.service.cmr.version.Version
      • getVersionType

        public org.alfresco.service.cmr.version.VersionType getVersionType()
        Specified by:
        getVersionType in interface org.alfresco.service.cmr.version.Version
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface org.alfresco.service.cmr.version.Version
      • getVersionProperties

        public Map<String,​Serializable> getVersionProperties()
        Specified by:
        getVersionProperties in interface org.alfresco.service.cmr.version.Version
      • getVersionProperty

        public Serializable getVersionProperty​(String name)
        Specified by:
        getVersionProperty in interface org.alfresco.service.cmr.version.Version
      • getVersionedNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getVersionedNodeRef()
        Specified by:
        getVersionedNodeRef in interface org.alfresco.service.cmr.version.Version
      • getFrozenStateNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getFrozenStateNodeRef()
        Specified by:
        getFrozenStateNodeRef in interface org.alfresco.service.cmr.version.Version