Class AttachmentVersions
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.AttachmentVersions
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AttachmentVersions>
public class AttachmentVersions extends java.lang.Object implements java.lang.Comparable<AttachmentVersions>, java.io.Serializable
Encapsulation of all versions of anAttachment
file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttachmentVersions(java.util.List<Attachment> versions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AttachmentVersions o)
Attachment
getCurrent()
java.lang.String
getLatestVersionPermlink()
java.lang.String
getPermlink()
java.util.List<Attachment>
getVersions()
-
-
-
Constructor Detail
-
AttachmentVersions
public AttachmentVersions(java.util.List<Attachment> versions)
-
-
Method Detail
-
compareTo
public int compareTo(AttachmentVersions o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<AttachmentVersions>
-
getCurrent
public Attachment getCurrent()
-
getVersions
public java.util.List<Attachment> getVersions()
-
getPermlink
public java.lang.String getPermlink()
-
getLatestVersionPermlink
public java.lang.String getLatestVersionPermlink()
-
-